github

Made bySaurav Hathi

CSE - Practice Test -32

Q1:

To obtain better memory utilization, dynamic loading is used. With dynamic loading, a routine is not loaded until it is called. For implementing dynamic loading,

Tags:
Section:
Operating System
Options:
Q2:

Which of the following is incorrect for virtual memory?

Tags:
Section:
Operating System
Options:
Q3:

Which of the following statement is true about thrashing

Tags:
Section:
Operating System
Options:
Q4:

Which of the following is an example of a spooled device?

Tags:
Section:
Operating System
Options:
Q5:

An I/O port typically consists of four registers status, control, ________ and ________ registers.

Tags:
Section:
Operating System
Options:
Q6:

The _________ determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt.

Tags:
Section:
Operating System
Options:
Q7:

A CPU generally handles an interrupt by executing an interrupt service routine

Tags:
Section:
Operating System
Options:
Q8:

Which of the following are the likely causes of thrashing?

Tags:
Section:
Operating System
Options:
Q9:

Consider the virtual page reference string

1, 2, 3, 2, 4, 1, 3, 2, 4, 1

On a demand paged virtual memory system running on a computer system that main memory size of 3 pages frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacements policy. Then

Tags:
Section:
Operating System
Options:
Q10:

A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements:

P: Increasing the number of page frames allocated to a process sometimes increases the page fault rate.

Q: Some programs do not exhibit locality of reference.

Which one of the following is TRUE?

Tags:
Section:
Operating System
Options:
Q11:

If a process fails, most operating system write the error information to a ______

Tags:
Section:
Operating System
Options:
Q12:

Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250 KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes 357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which partitions are NOT allotted to any process?

Tags:
Section:
Operating System
Options:
Q13:

The correct matching for the following pairs is

A. Activation record

1. Linking loader

B. Location counter

2. Garbage collection

C. Reference counts

3. Subroutine call

D. Address relocation

4. Assembler

 

Tags:
Section:
Operating System
Options:
Q14:

Following are some operating system abstractions (in the left column) and the hardware components or mechanism (in the right column) that they are abstractions of. Which of the following matching of pairs is correct?

A. Thread

1. Interrupt

B. Virtual address space

2. Memory

C. File system

3. CPU

D. Signal

4. Disk

 

Tags:
Section:
Operating System
Options:
Q15:

A file system with 300 GByte uses a file descriptor with 8 direct block address. 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is

Tags:
Section:
Operating System
Options: