Operating System - Programming Language (MCQ) questions

Dear Readers, Welcome to Operating System multiple choice questions and answers with explanation. These objective type Operating System questions are very important for campus placement test and job interviews.

Specially developed for the Operating System freshers and professionals, these model questions are asked in the online technical test and interview of many IT companies.

1)   What will a simple two pass assembler do in the first pass?
- Published on 19 Oct 15

a. It will allocate space for the literals.
b. It will generate the code for all the load and store register instruction.
c. It will build the symbol table for the symbols and their values.
d. It will compute the total length of the program.
Answer  Explanation 

ANSWER: It will allocate space for the literals.

Explanation:
No explanation is available for this question!


2)   What should be the size of ROM if it is used to store the table for multiplication of two 8 - bit unsigned integers?
- Published on 19 Oct 15

a. 64k x 8
b. 64k x 16
c. 4k x 8
d. 64k x 16
Answer  Explanation 

ANSWER: 64k x 8

Explanation:
No explanation is available for this question!


3)   What will happen when we format a floppy disk?
- Published on 19 Oct 15

a. Identification information is written on all tracks and sectors
b. The system area is deleted
c. Data is written
d. Data is arranged on the disk in contiguous fashion
Answer  Explanation 

ANSWER: Data is arranged on the disk in contiguous fashion

Explanation:
No explanation is available for this question!


4)   What is the use of thrashing?
- Published on 19 Oct 15

a. It improves system performance
b. It implies excessive page I/O
c. It decreases the degree of multiprogramming
d. It reduces page I/O
Answer  Explanation 

ANSWER: It decreases the degree of multiprogramming

Explanation:
No explanation is available for this question!


5)   Match the following list1 with list2:

a. DMA I/O -------------------------------------- 1. High speed RAM
b. Cache ---------------------------------------- 2. Disk
c. Interrupt I/O --------------------------------- 3. Printer
d. Condition code register ------------------- 4. ALU

- Published on 19 Oct 15

a. a – 2, b – 1, c – 3, d - 4
b. a – 4, b – 1, c – 3, d - 2
c. a – 2, b – 3, c – 1, d - 4
d. a – 3, b – 4, c – 2, d - 1
Answer  Explanation 

ANSWER: a – 2, b – 1, c – 3, d - 4

Explanation:
No explanation is available for this question!


6)   What must reside in the main memory under all situations in a resident - OS computer?
- Published on 19 Oct 15

a. Linker
b. Loader
c. Assembler
d. Compiler
Answer  Explanation 

ANSWER: Loader

Explanation:
No explanation is available for this question!


7)   Which is the device that should get the highest priority in assigning the interrupts?
- Published on 28 Aug 15

a. Floppy disk
b. Hard disk
c. CPU temperature sensor
d. Keyboard
Answer  Explanation 

ANSWER: CPU temperature sensor

Explanation:
No explanation is available for this question!


8)   Which of the following statements is true for the dirty page in a page table?
- Published on 28 Aug 15

a. Helps to maintain LRU information
b. Allows only read on a page
c. Helps to avoid unnecessary writes on paging device
d. None of the above
Answer  Explanation 

ANSWER: Helps to avoid unnecessary writes on paging device

Explanation:
No explanation is available for this question!


9)   Which is the system call that is responsible for sending of SYN packets?
- Published on 28 Aug 15

a. Bind
b. Socket
c. Connect
d. Listen
Answer  Explanation 

ANSWER: Connect

Explanation:
No explanation is available for this question!


10)   Which of the following statements are true?
- Published on 28 Aug 15

a. Shortest remaining time first scheduling may cause starvation
b. Starvation may be caused by preemptive scheduling.
c. In terms of response time robin round is better than FCFS
d. All of the above statements are true
Answer  Explanation 

ANSWER: All of the above statements are true

Explanation:
No explanation is available for this question!


1 2 3 4 5 6 7 8 9 10