Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi teacher, can u help me answer all the question? If your answer is true I will upvote you Q1 Given below is a code
Hi teacher, can u help me answer all the question? If your answer is true I will upvote you Q1 Given below is a code in a process which can provide mutual exclusivity in critical section control for a process. There is an error in the code which will render the code to fail to function properly. Which line does the error occur? do { 1. while (turn != 1) 2. critical_section(); 3. turn = 0; 4. non_critical section(); . } while (1); 5. Select one: OA 3 OB. 1 OC5 OD. 2 OE 4 Q2 Which of the statements below describe File System correctly? 1. File system deals with file contents in the form of blocks. II. File System defines a collection of functions that can be performed on files. III. One file system can accommodate two directory structures in it. IV. ISO 9660 is a standard generic file system which can be used across all operating systems. Select one: O ALIIII and IV OB. Il only OC None of the above. O D. II, II and IV only O E. 1, and III only Q3 "...for a random access files, the program store the data following a set of algorithm which will transform each key into a number used as the index for the data logical address" The description above describe which of the following method: Select one: O A Hashing OB. Grouping OC Translation OD. Lookup Q4 On magnetic disks, files can be organized in which of the following method? I. Indexed direct II. Random III. Sequential IV. Indexed sequential Select one: O A I, II and III only OB. III and IV only OC I and Ill only OD. I, II, III and IV
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started