Logo

Operating-systems Questions Set 30:

Quiz Mode

How many types of real-time operating systems are there?

1
2
3
4

Solution:

Earliest deadline first algorithm assigns priorities according to ____________

1
2
3
4

Solution:

For a computer to deliver continuous media, it must guarantee the specific rate and timing requirements, also known as _____.

1
2
3
4

Solution:

The following C program is executed on a Unix / Linux system:

#include <unistd.h>   int main() {     int i;     for (i = 0; i < 10; i++)       if (i % 2 == 0) fork();     return 0;   }

The total number of child process created is

Solution:

In the Many-to-One model, if a thread makes a blocking system call, what happens?

1
2
3
4

Solution:

When does external fragmentation exist?

1
2
3
4

Solution:

A direct mapped cache memory of 1 MB has a block size of 256 bytes. The cache has an access time of 3 ns and a hit rate of 94%. During a cache miss, it takes 20 ns to bring the first word of a block from the main memory, while each subsequent word takes 5 ns. The word size is 64 bits. The average memory access time in ns (round off to 1 decimal place) is

Solution:

A certain processor uses a fully associative cache of size 16 kB, The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?

1
2
3
4

Solution:

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

1
2
3
4

Solution:

A computer system supports 32-bit virtual addresses as well as 32-bit physical addresses. Since the virtual address space is of the same size as the physical address space, the operating system designers decide to get rid of the virtual memory entirely. Which one of the following is true?

1
2
3
4

Solution: