Logo

Operating-systems Questions Set 6:

Quiz Mode

Physical memory is broken into fixed-sized blocks called ________

1
2
3
4

Solution:

Semaphore is a/an _____ to solve the critical section problem.

1
2
3
4

Solution:

Multithreading on a multi-CPU machine...

1
2
3
4

Solution:

Which data structure is used to keep track of the relationship between a process and its assigned physical memory frames?

1
2
3
4

Solution:

Consider a machine with byte addressable memory of 232 bytes divided into blocks of size 32 bytes. Assume a direct mapped cache having 512 cache lines is used with this machine. The size of tag field in bits is

1
2
3
4

Solution:

What is Waiting time in computer systems?

1
2
3
4

Solution:

The index node (inode) of a Unix-like file system has 12 direct, one single-indirect and one double-indirect pointer The disk block size is 4 kB and the disk block addresses 32-bits long. The maximum possible file size is (rounded off to 1 decimal place) ___________ GB

1
2
3
4

Solution:

Which one of the following statements about user-level threads and kernel-level threads is FALSE?

1
2
3
4

Solution:

The instruction pipeline of a RISC processor has the following stages: Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Perform Operation (PO) and Writeback (WB), The IF, ID, OF and WB stages take 1 clock cycle each for every instruction. Consider a sequence of 100 instructions. In the PO stage, 40 instructions take 3 clock cycles each, 35 instructions take 2 clock cycles each, and the remaining 25 instructions take 1 clock cycle each. Assume that there are no data hazards and no control hazards. The number of clock cycles required for completion of execution of the sequence of instruction is 

Solution:

Which one of the following statements is FALSE?

1
2
3
4

Solution: