Questions
Which of the following is/are not the file attribute(s)?
- Size
- Time
- Location
- Both 1 and 2
- None of these
How many conditions are necessary to hold simultaneously for a deadlock to occur?
- Six
- Five
- Four
- Three
- None of these
Which of the following schedulers is an operating system known to have?
- Long term scheduler
- Short term scheduler
- Medium term scheduler
- Both 1 and 2
- All of these
A process control block contains some information about a process. Information about which of the following is included in the PCB (process control block)?
- Program counter
- Process state
- Accounting information
- IO status information
- All of the above
How many types of CPU scheduling algorithms are there in operating system, including both preemptive and non-preemptive?
- Seven
- Nine
- Eight
- Six
- Five
When a process executes, it changes its state. Through how many states does a process undergo?
- Five
- Four
- Six
- Three
- None of these
How many types of file allocation methods is/are there in an operating system?
- Five
- Four
- Six
- Two
- None of these
How many types of disk scheduling algorithms are there in an operating system?
- 7
- 6
- 5
- 4
- None of these
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
- 620 cylinders
- 640 cylinders
- 520 cylinders
- 540 cylinders
- 635 cylinders
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
- 236 cylinders
- 226 cylinders
- 326 cylinders
- 336 cylinders
- None of these
What will be the physical address?
Logical address = 346 Offset value = 5 Relocation register = 14000
- 14346
- 14351
- 14005
- 14341
- None of these
How many types of directory structures are there in an operating system?
- 8
- 7
- 6
- 5
- None of these
Which of the following techniques is not used for implementing page replacement algorithms in the operating system?
- LRU
- Optimal
- Index
- FIFO
- None of these
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
- A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 2 0 0 2
- Allocation matrix A B C 0 1 0 2 0 0 3 0 3 2 1 1 2 1 1 0 0 2
- Allocation matrix A B C 0 1 0 2 0 0 3 1 2 2 1 1 2 1 1 0 0 2
- Allocation matrix A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 1 0 1 2
- Allocation matrix A B C 0 1 0 2 0 0 3 0 2 2 1 1 2 1 1 0 0 2
Which of the following algorithms is/are used for deadlock detection?
- Bankers algorithm
- Resource-request algorithm
- Resource allocation graph algorithm
- Both 1 and 2
- None of these