Operating System

conceptual questions

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is/are not the file attribute(s)?

  1. Size
  2. Time
  3. Location
  4. Both 1 and 2
  5. None of these
Question 2 Multiple Choice (Single Answer)

How many conditions are necessary to hold simultaneously for a deadlock to occur?

  1. Six
  2. Five
  3. Four
  4. Three
  5. None of these
Question 3 Multiple Choice (Single Answer)

Which of the following schedulers is an operating system known to have?

  1. Long term scheduler
  2. Short term scheduler
  3. Medium term scheduler
  4. Both 1 and 2
  5. All of these
Question 4 Multiple Choice (Single Answer)

A process control block contains some information about a process. Information about which of the following is included in the PCB (process control block)?

  1. Program counter
  2. Process state
  3. Accounting information
  4. IO status information
  5. All of the above
Question 5 Multiple Choice (Single Answer)

How many types of CPU scheduling algorithms are there in operating system, including both preemptive and non-preemptive?

  1. Seven
  2. Nine
  3. Eight
  4. Six
  5. Five
Question 6 Multiple Choice (Single Answer)

When a process executes, it changes its state. Through how many states does a process undergo?

  1. Five
  2. Four
  3. Six
  4. Three
  5. None of these
Question 7 Multiple Choice (Single Answer)

How many types of file allocation methods is/are there in an operating system?

  1. Five
  2. Four
  3. Six
  4. Two
  5. None of these
Question 8 Multiple Choice (Single Answer)

How many types of disk scheduling algorithms are there in an operating system?

  1. 7
  2. 6
  3. 5
  4. 4
  5. None of these
Question 9 Multiple Choice (Single Answer)

Consider the given queue. If the disk head is initially at 53, then what will be the total head movement using FCFS disk scheduling?
98, 183, 37, 122, 14, 124, 65, 67

  1. 620 cylinders
  2. 640 cylinders
  3. 520 cylinders
  4. 540 cylinders
  5. 635 cylinders
Question 10 Multiple Choice (Single Answer)

What will be the total head movement using SSTF disk scheduling, if the disk head is initially at 53? Given the queue is: 98, 183, 37, 122, 14,124, 65, 67

  1. 236 cylinders
  2. 226 cylinders
  3. 326 cylinders
  4. 336 cylinders
  5. None of these
Question 11 Multiple Choice (Single Answer)

What will be the physical address?
Logical address = 346 Offset value = 5 Relocation register = 14000

  1. 14346
  2. 14351
  3. 14005
  4. 14341
  5. None of these
Question 12 Multiple Choice (Single Answer)

How many types of directory structures are there in an operating system?

  1. 8
  2. 7
  3. 6
  4. 5
  5. None of these
Question 13 Multiple Choice (Single Answer)

Which of the following techniques is not used for implementing page replacement algorithms in the operating system?

  1. LRU
  2. Optimal
  3. Index
  4. FIFO
  5. None of these
Question 14 Multiple Choice (Single Answer)

The allocation matrix of the values - Max matrix Need Matrix A B C A B C 7 5 3 7 4 3 3 2 2 1 2 2 9 0 2 6 0 0 2 2 2 0 1 1 4 3 3 4 3 1 is

  1. A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 2 0 0 2
  2. Allocation matrix A B C 0 1 0 2 0 0 3 0 3 2 1 1 2 1 1 0 0 2
  3. Allocation matrix A B C 0 1 0 2 0 0 3 1 2 2 1 1 2 1 1 0 0 2
  4. Allocation matrix A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 1 0 1 2
  5. Allocation matrix A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 1 0 0 2
Question 15 Multiple Choice (Single Answer)

Which of the following algorithms is/are used for deadlock detection?

  1. Bankers algorithm
  2. Resource-request algorithm
  3. Resource allocation graph algorithm
  4. Both 1 and 2
  5. None of these