Question: 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

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: 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 ALII, III and IV OB. Il only OC None of the above. OD. II,III and IV only OE. I and Ill 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 O C. Translation O D. Lookup Q4 On magnetic disks, files can be organized in which of the following method? 1. Indexed direct II. Random III. Sequential IV. Indexed sequential Select one: O A Ill and III only OB. III and IV only OC I and Ill only OD. 1, 1, III and IV

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!