Operating System Objective Question with Answers | Page-4

Questions
31 Which of the following is an example of a SPOOLED device?
A The secondary memory device in a virtual memory system.
B A line printer used to print the output of a number of jobs.
C The terminal used to enter the input data for a program being executed.
D None of the above

Answer: Option [B]
32 The page replacement policy that sometimes leads to more page faults when the size of the memory is increased is
A FIFO
B LRU
C no such policy exists
D none of the above

Answer: Option [A]
33 An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of R such that no deadlock will ever occur is
A 3
B 4
C 5
D 8

Answer: Option [B]
34 At a particular time of computation, the value of a counting semaphore is 7. Then 20 P operations and ‘x’ V operations were completed on this semaphore. If the final value of the semaphore is 5. x will be
A 15
B 22
C 18
D 14

Answer: Option [C]
35 Memory protection is of no use in a
A single user system
B non-multitasking system
C non-multiprogramming system
D none of the above

Answer: Option [D]
36 Which of the following are single-user operating systems?
A MS-DOS
B UNIX
C XENIX
D Both (A) and (C)

Answer: Option [D]
37 The size of the virtual memory depends on the size of the
A address bus
B data bus
C main memory
D none of the above

Answer: Option [A]
38 A computer system has 6 tape drives, with 'n' processes competing for them. Each process may need 3 drives. The maximum value of 'n' for which the system is guaranteed to be deadlock free is
A 1
B 2
C 3
D 4

Answer: Option [B]
39 Which of the following are true?
A Re-entrant procedures can be called recursively.
B Re-entrant procedures cannot be called recursively.
C A re-entrant procedure can be called even before the procedure has not returned from its previous call.
D Both (A) and (C) are true

Answer: Option [D]
40 In a system that not support swapping
A the loader binds relocatable addresses to physical addresses.
B the compiler normally binds symbolic addresses to physical addresses.
C the compiler normally binds symbolic addresses (variables) to relocatable addresses.
D Both (A) and (C)

Answer: Option [D]