Quiznetik
Advanced Operating System | Set 1
1. What is operating system?
A. collection of programs that manages hardware resources
B. system service provider to the application programs
C. link to interface the hardware and application programs
D. all of the mentioned
Correct : D. all of the mentioned
2. To access the services of operating system, the interface is provided by the
A. system calls
B. api
C. library
D. assembly instructions
Correct : A. system calls
3. Which one of the following is not true?
A. kernel is the program that constitutes the central core of the operating system
B. kernel is the first part of operating system to load into memory during booting
C. kernel is made of various modules which can not be loaded in running operating system
D. kernel remains in the memory during the entire computer session
Correct : C. kernel is made of various modules which can not be loaded in running operating system
4. Which one of the following error will be handle by the operating system?
A. power failure
B. lack of paper in printer
C. connection failure in the network
D. all of the mentioned
Correct : D. all of the mentioned
5. The scheme used in the above question is known as _______ or ________.
A. sector sparing
B. forwarding
C. backwarding
D. sector utilization
Correct : B. forwarding
6. By operating system, the resource management can be done via
A. time division multiplexing
B. space division multiplexing
C. both (a) and (b)
D. none of the mentioned
Correct : C. both (a) and (b)
7. . If a process fails, most operating system write the error information to a
A. log file
B. another running process
C. new file
D. none of the mentioned
Correct : A. log file
8. Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
A. dtrace
B. dlocate
C. dmap
D. dadd
Correct : A. dtrace
9. Which one of the following is not a real time operating system?
A. vxworks
B. windows ce
C. rtlinux
D. palm os
Correct : D. palm os
10. The OS X has
A. monolithic kernel
B. hybrid kernel
C. microkernel
D. monolithic kernel with modules
Correct : B. hybrid kernel
11. The systems which allows only one process execution at a time, are called
A. uniprogramming systems
B. uniprocessing systems
C. unitasking systems
D. none of the mentioned
Correct : A. uniprogramming systems
12. In operating system, each process has its own
A. address space and global variables
B. open files
C. pending alarms, signals and signal handlers
D. all of the mentioned
Correct : D. all of the mentioned
13. In Unix, Which system call creates the new process?
A. fork
B. create
C. new
D. none of the mentioned
Correct : A. fork
14. A process can be terminated due to
A. normal exit
B. fatal error
C. killed by another process
D. all of the mentioned
Correct : D. all of the mentioned
15. What is the ready state of a process?
A. when process is scheduled to run after some execution
B. when process is unable to run until some task has been completed
C. when process is using the cpu
D. none of the mentioned
Correct : A. when process is scheduled to run after some execution
16. What is interprocess communication?
A. communication within the process
B. communication between two process
C. communication between two threads of same process
D. none of the mentioned
Correct : B. communication between two process
17. A set of processes is deadlock if
A. each process is blocked and will remain so forever
B. each process is terminated
C. all processes are trying to kill each other
D. none of the mentioned
Correct : A. each process is blocked and will remain so forever
18. A process stack does not contain
A. function parameters
B. local variables
C. return addresses
D. pid of child process
Correct : D. pid of child process
19. Which system call returns the process identifier of a terminated child?
A. wait
B. exit
C. fork
D. get
Correct : A. wait
20. The address of the next instruction to be executed by the current process is provided by the
A. cpu registers
B. program counter
C. process stack
D. pipe
Correct : B. program counter
21. The number of processes completed per unit time is known as __________.
A. output
B. throughput
C. efficiency
D. capacity
Correct : B. throughput
22. The state of a process is defined by :
A. the final activity of the process
B. the activity just executed by the process
C. the activity to next be executed by the process
D. the current activity of the process
Correct : D. the current activity of the process
23. The Process Control Block is :
A. process type variable
B. data structure
C. a secondary storage section
D. a block in memory
Correct : B. data structure
24. The entry of all the PCBs of the current processes is in :
A. process register
B. program counter
C. process table
D. process unit
Correct : C. process table
25. The degree of multi-programming is :
A. the number of processes executed per unit time
B. the number of processes in the ready queue
C. the number of processes in the i/o queue
D. the number of processes in memory
Correct : D. the number of processes in memory
26. The objective of multi-programming is to : (choose two)
A. have some process running at all times
B. have multiple programs waiting in a queue ready to run
C. to minimize cpu utilization
D. to maximize cpu utilization
Correct : D. to maximize cpu utilization
27. Which of the following do not belong to queues for processes ?
A. job queue
B. pcb queue
C. device queue
D. ready queue
Correct : B. pcb queue
28. When the process issues an I/O request :
A. it is placed in an i/o queue
B. it is placed in a waiting queue
C. it is placed in the ready queue
D. it is placed in the job queue
Correct : A. it is placed in an i/o queue
29. When a process terminates : (Choose Two)
A. it is removed from all queues
B. it is removed from all, but the job queue
C. its process control block is de-allocated
D. its process control block is never de-allocated
Correct : C. its process control block is de-allocated
30. What is a long-term scheduler ?
A. it selects which process has to be brought into the ready queue
B. it selects which process has to be executed next and allocates cpu
C. it selects which process to remove from memory by swapping
D. none of these
Correct : A. it selects which process has to be brought into the ready queue
31. If all processes I/O bound, the ready queue will almost always be ______, and the Short term Scheduler will have a ______ to do.
A. full,little
B. full,lot
C. empty,little
D. empty,lot
Correct : C. empty,little
32. What is a medium-term scheduler ?
A. it selects which process has to be brought into the ready queue
B. it selects which process has to be executed next and allocates cpu
C. it selects which process to remove from memory by swapping
D. none of these
Correct : C. it selects which process to remove from memory by swapping
33. What is a short-term scheduler ?
A. it selects which process has to be brought into the ready queue
B. it selects which process has to be executed next and allocates cpu
C. it selects which process to remove from memory by swapping
D. none of these
Correct : B. it selects which process has to be executed next and allocates cpu
34. The primary distinction between the short term scheduler and the long term scheduler is :
A. the length of their queues
B. the type of processes they schedule
C. the frequency of their execution
D. none of these
Correct : C. the frequency of their execution
35. The only state transition that is initiated by the user process itself is :
A. block
B. wakeup
C. dispatch
D. none of these
Correct : A. block
36. In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the :
A. blocked state
B. ready state
C. suspended state
D. terminated state
Correct : B. ready state
37. In a multi-programming environment :
A. the processor executes more than one process at a time
B. the programs are developed by more than one person
C. more than one process resides in the memory
D. a single user can execute many programs at the same time
Correct : C. more than one process resides in the memory
38. Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the :
A. running state
B. ready state
C. suspended state
D. terminated state
Correct : B. ready state
39. An unrecoverable error is known as _________.
A. hard error
B. tough error
C. soft error
D. none of these
Correct : A. hard error
40. Which of the following need not necessarily be saved on a context switch between processes ? (GATE CS 2000)
A. general purpose registers
B. translation look-aside buffer
C. program counter
D. all of these
Correct : B. translation look-aside buffer
41. Which of the following does not interrupt a running process ? (GATE CS 2001)
A. a device
B. timer
C. scheduler process
D. power failure
Correct : C. scheduler process
42. the access takes place, is called a(n) ____.
A. shared memory segments
B. entry section
C. race condition
D. process synchronization
Correct : C. race condition
43. Which of the following state transitions is not possible ?
A. blocked to running
B. ready to running
C. blocked to ready
D. running to blocked
Correct : A. blocked to running
44. Which module gives control of the CPU to the process selected by the short-term scheduler?
A. dispatcher
B. interrupt
C. scheduler
D. none of the mentioned
Correct : A. dispatcher
45. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called
A. job queue
B. ready queue
C. execution queue
D. process queue
Correct : B. ready queue
46. The interval from the time of submission of a process to the time of completion is termed as
A. waiting time
B. turnaround time
C. response time
D. throughput
Correct : B. turnaround time
47. Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?
A. first-come, first-served scheduling
B. shortest job scheduling
C. priority scheduling
D. none of the mentioned
Correct : A. first-come, first-served scheduling
48. In priority scheduling algorithm
A. cpu is allocated to the process with highest priority
B. cpu is allocated to the process with lowest priority
C. equal priority processes can not be scheduled
D. none of the mentioned
Correct : A. cpu is allocated to the process with highest priority
49. In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of
A. all process
B. currently running process
C. parent process
D. init process
Correct : B. currently running process
50. Time quantum is defined in
A. shortest job scheduling algorithm
B. round robin scheduling algorithm
C. priority scheduling algorithm
D. multilevel queue scheduling algorithm
Correct : B. round robin scheduling algorithm
51. Process are classified into different groups in
A. shortest job scheduling algorithm
B. round robin scheduling algorithm
C. priority scheduling algorithm
D. multilevel queue scheduling algorithm
Correct : D. multilevel queue scheduling algorithm
52. In multilevel feedback scheduling algorithm
A. a process can move to a different classified ready queue
B. classification of ready queue is permanent
C. processes are not classified into groups
D. none of the mentioned
Correct : A. a process can move to a different classified ready queue
53. Which one of the following can not be scheduled by the kernel?
A. kernel level thread
B. user level thread
C. process
D. none of the mentioned
Correct : B. user level thread
54. What is the reusable resource?
A. that can be used by one process at a time and is not depleted by that use
B. that can be used by more than one process at a time
C. that can be shared between various threads
D. none of the mentioned
Correct : A. that can be used by one process at a time and is not depleted by that use
55. Which of the following condition is required for deadlock to be possible?
A. mutual exclusion
B. a process may hold allocated resources while awaiting assignment of other resources
C. no resource can be forcibly removed from a process holding it
D. all of the mentioned
Correct : D. all of the mentioned
56. A system is in the safe state if
A. the system can allocate resources to each process in some order and still avoid a deadlock
B. there exist a safe sequence
C. both (a) and (b)
D. none of the mentioned
Correct : C. both (a) and (b)
57. The circular wait condition can be prevented by
A. defining a linear ordering of resource types
B. using thread
C. using pipes
D. all of the mentioned
Correct : A. defining a linear ordering of resource types
58. Which one of the following is the deadlock avoidance algorithm?
A. banker’s algorithm
B. round-robin algorithm
C. elevator algorithm
D. karn’s algorithm
Correct : A. banker’s algorithm
59. What is the drawback of banker’s algorithm?
A. in advance processes rarely know that how much resource they will need
B. the number of processes changes as time progresses
C. resource once available can disappear
D. all of the mentioned
Correct : D. all of the mentioned
60. For effective operating system, when to check for deadlock?
A. every time a resource request is made
B. at fixed time intervals
C. both (a) and (b)
D. none of the mentioned
Correct : C. both (a) and (b)
61. A problem encountered in multitasking when a process is perpetually denied necessary resources is called
A. deadlock
B. starvation
C. inversion
D. aging
Correct : B. starvation
62. Which one of the following is a visual ( mathematical ) way to determine the deadlock occurrence?
A. resource allocation graph
B. starvation graph
C. inversion graph
D. none of the mentioned
Correct : A. resource allocation graph
63. To avoid deadlock
A. there must be a fixed number of resources to allocate
B. resource allocation must be done only once
C. all deadlocked processes must be aborted
D. inversion technique can be used
Correct : A. there must be a fixed number of resources to allocate
64. CPU fetches the instruction from memory according to the value of
A. program counter
B. status register
C. instruction register
D. program status word
Correct : A. program counter
65. A memory buffer used to accommodate a speed differential is called
A. stack pointer
B. cache
C. accumulator
D. disk buffer
Correct : B. cache
66. Which one of the following is the address generated by CPU?
A. physical address
B. absolute address
C. logical address
D. none of the mentioned
Correct : C. logical address
67. Run time mapping from virtual to physical address is done by
A. memory management unit
B. cpu
C. pci
D. none of the mentioned
Correct : A. memory management unit
68. Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called
A. fragmentation
B. paging
C. mapping
D. none of the mentioned
Correct : B. paging
69. The address of a page table in memory is pointed by
A. stack pointer
B. page table base register
C. page register
D. program counter
Correct : B. page table base register
70. Program always deals with
A. logical address
B. absolute address
C. physical address
D. relative address
Correct : A. logical address
71. The page table contains
A. base address of each page in physical memory
B. page offset
C. page size
D. none of the mentioned
Correct : A. base address of each page in physical memory
72. What is compaction?
A. a technique for overcoming internal fragmentation
B. a paging technique
C. a technique for overcoming external fragmentation
D. a technique for overcoming fatal error
Correct : C. a technique for overcoming external fragmentation
73. Operating System maintains the page table for
A. each process
B. each thread
C. each instruction
D. each address
Correct : A. each process
74. In segmentation, each address is specified by :
A. a segment number
B. an offset
C. a value
D. a key
Correct : B. an offset
75. In paging the user provides only ________, which is partitioned by the hardware into ________ and ______.
A. one address, page number, offset
B. one offset, page number, address
C. page number, offset, address
D. none of these
Correct : A. one address, page number, offset
76. Each entry in a segment table has a :
A. segment base
B. segment peak
C. segment limit
D. segment value
Correct : C. segment limit
77. The segment base contains the :
A. starting logical address of the process
B. starting physical address of the segment in memory
C. segment length
D. none of these
Correct : B. starting physical address of the segment in memory
78. The segment limit contains the :
A. starting logical address of the process
B. starting physical address of the segment in memory
C. segment length
D. none of these
Correct : C. segment length
79. The offset ‘d’ of the logical address must be :
A. greater than segment limit
B. between 0 and segment limit
C. between 0 and the segment number
D. greater than the segment number
Correct : B. between 0 and segment limit
80. If the offset is legal :
A. it is used as a physical memory address itself
B. it is subtracted from the segment base to produce the physical memory address
C. it is added to the segment base to produce the physical memory address
D. none of these
Correct : A. it is used as a physical memory address itself
81. When the entries in the segment tables of two different processes point to the same physical location :
A. the segments are invalid
B. the processes get blocked
C. segments are shared
D. all of these
Correct : C. segments are shared
82. The protection bit is 0/1 based on : (choose all that apply)
A. write only
B. read only
C. read – write
D. none of these
Correct : C. read – write
83. If there are 32 segments, each of size 1Kb, then the logical address should have :
A. 13 bits
B. 14 bits
C. 15 bits
D. 16 bits
Correct : A. 13 bits
84. It uses a direct mapping scheme for cache management. How many different main memory blocks can map onto a given physical cache block ?
A. 2048
B. 256
C. 64
D. 8
Correct : C. 64
85. A multilevel page table is preferred in comparison to a single level page table for translating virtual address to physical address because :
A. it reduces the memory access time to read or write a memory location
B. it helps to reduce the size of page table needed to implement the virtual address space of a process
C. it is required by the translation look aside buffer
D. it helps to reduce the number of page faults in page replacement algorithms
Correct : B. it helps to reduce the size of page table needed to implement the virtual address space of a process
86. The three general methods for delivering content from a server to a client across a network are :
A. unicasting
B. duplex-casting
C. broadcasting
D. multicasting
Correct : D. multicasting
87. Unicasting delivers the content to :
A. a single client
B. all clients, regardless whether they want the content or not
C. a group of receivers who indicate they wish to receive the content
D. none of these
Correct : A. a single client
88. Broadcasting delivers the content to :
A. a single client
B. all clients, regardless whether they want the content or not
C. a group of receivers who indicate they wish to receive the content
D. none of these
Correct : B. all clients, regardless whether they want the content or not
89. Multicasting delivers the content to :
A. a single client
B. all clients, regardless whether they want the content or not
C. a group of receivers who indicate they wish to receive the content
D. none of these
Correct : C. a group of receivers who indicate they wish to receive the content
90. RTSP stands for :
A. real time streaming policy
B. real time streaming protocol
C. real time systems protocol
D. read time streaming policy
Correct : B. real time streaming protocol
91. HTTP is __________. (choose two)
A. a stateful protocol
B. a stateless protocol
C. a protocol that maintains the status of its connection with the client
D. a protocol that does not maintain the status of its connection with the client
Correct : D. a protocol that does not maintain the status of its connection with the client
92. In the SETUP state :
A. the server is setup
B. the client is setup
C. the server allocates resources for the client session
D. the client sends requests to the server
Correct : C. the server allocates resources for the client session
93. In the TEARDOWN state :
A. the server breaks down the connection and releases the resources allocated for the session
B. the client breaks down the connection and releases the resources allocated for the session
C. the system crashes
D. none of these
Correct : A. the server breaks down the connection and releases the resources allocated for the session
94. RTP stands for :
A. real time protocol
B. real time transmission control protocol
C. real time transmission protocol
D. real time transport protocol
Correct : D. real time transport protocol
95. The problem with unicast delivery is that the :
A. memory allocation is difficult
B. server must establish a seperate unicast session for each client
C. the routers must support unicasting
D. the clients must be close to the server
Correct : B. server must establish a seperate unicast session for each client
96. The difficulty with multicasting from a practical point of view is : (choose all that apply)
A. memory allocation is difficult
B. server must establish a seperate unicast session for each client
C. the routers must support multicasting
D. the clients must be close to the server
Correct : D. the clients must be close to the server
97. To let a client have random access to a media stream :
A. the protocol used must not be stateless
B. the server must support download
C. the stream should give access rights to the client
D. all of these
Correct : A. the protocol used must not be stateless
98. The model in which one kernel thread is mapped to many user-level threads is called :
A. many to one model
B. one to many model
C. many to many model
D. one to one model
Correct : A. many to one model
99. The model in which one user-level thread is mapped to many kernel level threads is called :
A. many to one model
B. one to many model
C. many to many model
D. one to one model
Correct : B. one to many model
100. In the Many to One model, if a thread makes a blocking system call :
A. the entire process will be blocked
B. a part of the process will stay blocked, with the rest running
C. the entire process will run
D. none of these
Correct : A. the entire process will be blocked