UGC NET · PAPER 2
UGC NET Paper 2 Computer Science – Unit 5: System Software and Operating System PYQ (December 2022 Shift 2)
Q17. In the Linux operating system, when ________ is invoked, it is passed a set of flags that determine how much sharing is to take place between the parent and child tasks.
- fork()
- clone()
- pthread()
- thread()
Q18. The main function of the microkernel is to provide a communication facility between the ________ program and the various ________ that are also running in user space.
- Virtual, Processes
- System, Processes
- Client, Services
- Virtual, Services
Q19. Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is first come first served (FCFS). If FCFS is replaced by shortest seek time first (SSTF) and the vendor claims 50% better benchmark results, what is the expected improvement in the I/O performance of user programs?
- 50%
- 100%
- 25%
- 0%
Q20. For the following set of processes scheduled using the FCFS policy, determine the average waiting time. The processes arrived in the order P1, P2, P3, P4.
| Process | Burst Time |
|---|---|
| P1 | 8 |
| P2 | 15 |
| P3 | 10 |
| P4 | 7 |
- 8
- 16
- 32
- 48
Q51. Which of the following statements are true?
1. Shortest remaining time first scheduling may cause starvation
2. Preemptive scheduling may cause starvation
3. Round robin is better than FCFS in terms of response time
Choose the correct answer from the options given below:
1. Shortest remaining time first scheduling may cause starvation
2. Preemptive scheduling may cause starvation
3. Round robin is better than FCFS in terms of response time
Choose the correct answer from the options given below:
- 1 only
- 2, 3 only
- 1, 2 only
- 1, 2, 3
Q52. In the design of a protocol for the critical-section problem, each process must ask permission to enter the critical section in the ______ code; it then executes in the critical section; once it finishes it enters the ______ code. The process then enters the ______ code.
- entry section, remainder section, exit section
- entry section, exit section, remainder section
- remainder section, entry section, exit section
- remainder section, exit section, entry section
Q70. Match List I with List II.
Choose the correct answer from the options given below:
Choose the correct answer from the options given below:
| List I | List II |
|---|---|
| a. IPC | I. Resource allocation |
| b. Demand paging | II. Computational speed-up |
| c. Banker's algorithm | III. Task control block |
| d. PCB | IV. Virtual memory |
- a-II, b-I, c-IV, d-III
- a-II, b-IV, c-I, d-III
- a-I, b-II, c-III, d-IV
- a-II, b-III, c-I, d-IV
Q80. Select the correct order of events after power is turned on in a system.
I. Bootstrap loader is loaded from the disk
II. Kernel is loaded into memory
III. Firmware ROM loads the boot block
Choose the correct answer from the options given below:
I. Bootstrap loader is loaded from the disk
II. Kernel is loaded into memory
III. Firmware ROM loads the boot block
Choose the correct answer from the options given below:
- II, III and I
- III, I and II
- I, II and III
- I, III and II
Q88. An OS follows round-robin scheduling with a time quantum of 4 ms. The CPU is free now and there are 20 processes waiting in the ready queue. The maximum time a process waits before getting the CPU is ______.
- 80 ms
- 76 ms
- 84 ms
- None of the above