Complete Revision of Operating System With Top 50 Questions For
Complete Revision of Operating System With Top 50 Questions For
A. C
B. C++
C. C#
D. Java
ANS:- A
34.A LRU page replacement is used with four
page frames and eight pages. How many page
faults will occur with reference string
0,1,7,2,3,2,7,1,0,3 if the four frames are initially
empty?
A. 6
B. 7
C. 5
D. 8
ANS:- A
35. Dining philosopher’s problem is a:-
A. Producer- consumer problem
B. Classical IPC problem
C. Starvation problem
D. Synchronization primitive
ANS:- B
36. ___ allocation method for disk block
allocation in a file system, insertion and
deletion of blocks in a file is easy.
A. Index
B. Linked
C. Contiguous
D. Bit map
ANS:- B
37. A Unix file may be of the type
A. Regular file
B. Directory file
C. Device file
D. Any one of these
ANS:- D
38. Threads is not shared among which of the
following?
A. Program counter
B. Stack
C. Both a and b
D. None
ANS:- C
39. Which of the following scheduling
algorithms may cause starvation?
A. FCFS
B. ROUND ROBIN
C. PRIORITY
D. SHORTEST PROCESS NEXT
E. SHORTEST REAMINING TIME FIRST
A. c, d and e
B. b, d and e
C. b, c and d
D. a, c and e
ANS:- A
40 In distributed system, the capability of a
system to adapt the increased service load is
called
A. Tolerance
B. Scalability
C. Capability
D. Loading
ANS:- B
41. Which module gives control of the cpu to
the process selected by the short-term
scheduler?
A. Dispatcher
B. Interrupt
C. Scheduler
D. Threading
ANS:- A
42.Two atomic operations permissible on
semaphores are ____ and _____
A. Wait , stop
B. Wait, hold
C. Hold, signal
D. Wait, signal
ANS:- D
43.In _____ disk scheduling algorithm the disk
head move from one end to other end of the
disk, serving the requests along the way. When
the head reaches the other end, it immediately
returns to the beginning of the disk without
serving any requests on the return trip.
A. LOOK
B. SCAN
C. C-LOOK
D. C-SCAN
ANS:- D
44. The Bounded buffer problem is also known
as
A. Producer – consumer problem
B. Reader- writer problem
C. Dining philosophers problem
D. Both (b) and (c)
ANS:- A
45. Page information in memory is also called as
page table. The essential contents in each entry
of a page table is/are___
A. Page access information
B. Virtual page number
C. Page frame number
D. Both virtual page number and page frame number
ANS:- C
46. In which of the following scheduling criteria,
context switching will never take place?
A. Round robin
B. Pre-emptive SJF
C. Non- pre-emptive SJF
D. Pre-emptive priority
ANS:- C
47. A process residing in main memory and
ready and waiting for execution , is kept on
A. Execution queue
B. Wait queue
C. Job queue
D. Ready queue
ANS:- D
48. Which of the following are not shared by
the threads of the same process?
A. Stack
B. Registers
C. Address space
D. Message queue
a) I and IV C) II and III
b) I and II d) I, II and III
ANS:- C
49. Match of the following:-
A. Disk B. Thread
B. CPU D Signal
C. Memory A .File system
D. Interrupt C virtual address space
50. Which of the following CPU scheduling
algorithms is supported by linux operating
system?
A. Non- pre-emptive priority scheduling
B. Pre-emptive priority scheduling and time sharing cpu scheduling
C. Time sharing scheduling only
D. Priority scheduling only
ANS:- B