Logo

Operating-systems Questions Set 9:

Quiz Mode

Which system call is used to create a new process in a Linux program?

1
2
3
4

Solution:

What provides the interface to access the services of an operating system?

1
2
3
4

Solution:

What is a co-processor?

1
2
3
4

Solution:

A critical section is a concept where more than one process can access the same code segment at the same time.

1
2
3
4

Solution:

The address loaded into the memory address register of the memory is referred to as _____

1
2
3
4

Solution:

What is thread cancellation?

1
2
3
4

Solution:

The interrupt vector contains ________ that point to the memory addresses of specialized interrupt handlers.

1
2
3
4

Solution:

Consider a set-associative cache of size 2KB (1KB=210 bytes) with cache block size of 64 bytes. Assume that the cache is byte-addressable and a 32 -bit address is used for accessing the cache. If the width of the tag field is 22 bits, the associativity of the cache is

Solution:

Consider a virtual memory system with a FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will

1
2
3
4

Solution:

Consider a paging system that uses 1-level page table residing in main memory and a TLB for address translation. Each main memory access takes 100 ns and TLB lookup takes 20 ns. Each page transfer to/from the disk takes 5000 ns. Assume that the TLB hit ratio is 95%, page fault rate is 10%. Assume that for 20% of the total page faults, a dirty page has to be written back to disk before the required page is read from disk. TLB update time is negligible. The average memory access time in ns (round off to 1 decimal places) is

Solution: