Placement papers on Operating System - Set 7

Placement papers on Operating System - Set 7


Q1. Which one of the following statement about user level threads and kernel level threads is false?

1. In a multiprocessor system related kernel level threads can be scheduled on different processors.
2. All the related threads will be blocked if one kernel level thread is blocked
3. Hardware support is not needed in user level threads
4. Context switch time is shorter for user level threads as compared to kernel level threads.
View Answer / Hide Answer

ANSWER: 2. All the related threads will be blocked if one kernel level thread is blocked




Q2. Consider a file system that has 300Gbyte disk. It uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. Each disk block

is 128 bytes in size. The size of each disk block address is 8 bytes. In this file system what is the maximum possible size of the file?

1. 35Kbytes
2. 30Kbytes
3. 420Kbytes
4. None of the above.
View Answer / Hide Answer

ANSWER: 1. 35Kbytes




Q3. What will an operating system do if an interrupt occurs?

1. After processing the interrupt it will always change the state of interrupted process.
2. It will ignore the interrupt
3. It may change the state of interrupted process to “blocked” and schedule another process
4. After processing the interrupt it will always resume the execution of interrupted process.
View Answer / Hide Answer

ANSWER: 4. After processing the interrupt it will always resume the execution of interrupted process.




Q4. Match the correct pair.
P. Disk Scheduling --------- A. Round robin
Q. Batch processing -------- B. SCAN
R. Time sharing ------------ C. LIFO
S. Interrupt Process ------- D. FIFO

1. P - B, Q - D, R - A, S – C
2. P - D, Q - B, R - A, S – C
3. P - B, Q - A, R - D, S – C
4. P - C, Q - D, R - A, S – B
View Answer / Hide Answer

ANSWER: P - B, Q - D, R - A, S – C




Q5. As soon as an interrupt is received from an I/O device the CPU:

1. Branches off to the interrupt service routine immediately
2. Halts for the predetermined time
3. Branches off to the interrupt service routine after completing the current instruction.
4. Hands over the control of address bus and data bus to the interrupting device.
View Answer / Hide Answer

ANSWER: 3. Branches off to the interrupt service routine after completing the current instruction.



Post your comment