Logo

Operating-systems Questions Set 37:

Quiz Mode

A process stack does not contain

1
2
3
4

Solution:

For real-time operating systems, interrupt latency should be _____.

1
2
3
4

Solution:

Semaphores are mostly used to implement _____ mechanisms

1
2
3
4

Solution:

What are the two main types of real-time streaming?

1
2
3
4

Solution:

The offset of the logical address must be _____.

1
2
3
4

Solution:

Division by zero, accessing a protected or non-existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as ________

1
2
3
4

Solution:

What are the necessary conditions for a deadlock to occur?

1
2
3
4

Solution:

What is a breach of confidentiality?

1
2
3
4

Solution:

Consider a two-level cache hierarchy L1 and L2 caches. An application incurs 1.4 memory accesses per instruction on average. For this application, the miss rate of L1 cache 0.1, the L2 cache experience on average. 7 misses per 1000 instructions. The miss rate of L2 expressed correct to two decimal places is

Solution:

Consider a non-pipelined processor with a clock rate of 2.5 gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to 2 gigahertz. Assume that there are no stalls in the pipeline. The speed up achieved in this pipelined processor is 

Solution: