Os MCQ
Os MCQ
Unit 1 Introduction to OS
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
2. To access the services of operating system, the interface is provided by the ___________
a) System calls
b) API
c) Library
d) Assembly instructions
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
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
5. What is the main function of the command interpreter?
a) to get and execute the next user-specified command
b) to provide the interface between the API and application program
c) to handle the files in operating system
d) none of the mentioned
6. By operating system, the resource management can be done via __________
a) time division multiplexing
b) space division multiplexing
c) time and space division multiplexing
d) none of the mentioned
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
22. A Process Control Block(PCB) does not contain which of the following?
a) Code
b) Stack
c) Bootstrap program
d) Data
23. The number of processes completed per unit time is known as __________
a) Output
b) Throughput
c) Efficiency
d) Capacity
24. 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
25. Which of the following is not the state of a process?
a) New
b) Old
c) Waiting
d) Running
26. What is a Process Control Block?
a) Process type variable
b) Data Structure
c) A secondary storage section
d) A Block in memory
27. The entry of all the PCBs of the current processes is in __________
a) Process Register
b) Program Counter
c) Process Table
d) Process Unit
28. What is the degree of multiprogramming?
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
29. A single thread of control allows the process to perform __________
a) only one task at a time
b) multiple tasks at a time
43. The context of a process in the PCB of a process does not contain __________
a) the value of the CPU registers
b) the process state
c) memory-management information
d) context switch time
44. Which of the following need not necessarily be saved on a context switch between processes?
a) General purpose registers
b) Translation lookaside buffer
c) Program counter
d) All of the mentioned
45. Which of the following does not interrupt a running process?
a) A device
b) Timer
c) Scheduler process
d) Power failure
46. Which process can be affected by other processes executing in the system?
a) cooperating process
b) child process
c) parent process
d) init process
47. When several processes access the same data concurrently and the outcome of the execution depends on
the particular order in which the access takes place, is called?
a) dynamic condition
b) race condition
c) essential condition
d) critical condition
48. If a process is executing in its critical section, then no other processes can be executing in their critical
section. This condition is called?
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
49. Which one of the following is a synchronization tool?
a) thread
b) pipe
c) semaphore
d) socket
52. When high priority task is indirectly preempted by medium priority task effectively inverting the relative
priority of the two tasks, the scenario is called __________
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
56. Restricting the child process to a subset of the parent’s resources prevents any process from __________
a) overloading the system by using a lot of secondary storage
b) under-loading the system by very less CPU utilization
c) overloading the system by creating a lot of sub-processes
d) crashing the system by utilizing multiple resources
57. A parent process calling _____ system call will be suspended until children processes terminate.
a) wait
b) fork
c) exit
d) exec
58. Cascading termination refers to termination of all child processes before the parent terminates ______
a) Normally
b) Abnormally
c) Normally or abnormally
d) None of the mentioned
59. With _____________ only one process can execute at a time; meanwhile all other process are waiting for
the processor. With ______________ more than one process can be running simultaneously each on a
different processor.
a) Multiprocessing, Multiprogramming
b) Multiprogramming, Uniprocessing
c) Multiprogramming, Multiprocessing
d) Uniprogramming, Multiprocessing
61. In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent
process.
a) A Negative integer, Zero
b) Zero, A Negative integer
c) Zero, A nonzero integer
d) A nonzero integer, Zero
63. The child process completes execution, but the parent keeps executing, then the child process is known as
__________
a) Orphan
b) Zombie
c) Body
d) Dead
66. Which of the following two operations are provided by the IPC facility?
a) write & delete message
b) delete & receive message
c) send & delete message
d) receive & send message
68. The link between two processes P and Q to send and receive messages is called __________
a) communication link
b) message-passing link
c) synchronization link
d) all of the mentioned
74. Bounded capacity and Unbounded capacity queues are referred to as __________
a) Programmed buffering
b) Automatic buffering
c) User defined buffering
d) No buffering
76. To differentiate the many network services a system supports ______ are used.
a) Variables
b) Sockets
c) Ports
d) Service names
77. RPC provides a(an) _____ on the client side, a separate one for each remote procedure.
a) stub
b) identifier
c) name
d) process identifier
79. To resolve the problem of data representation on different systems RPCs define _____________
a) machine dependent representation of data
b) machine representation of data
c) machine-independent representation of data
d) none of the mentioned
82. A process that is based on IPC mechanism which executes on different systems and can communicate
with other processes using message based communication, is called ________
a) Local Procedure Call
b) Inter Process Communication
c) Remote Procedure Call
d) Remote Machine Invocation
83. The initial program that is run when the computer is powered up is called __________
a) boot program
b) bootloader
c) initializer
d) bootstrap program
95. 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
96. 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
97. 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
98. 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
100. 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
104. 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
109. A process is selected from the ______ queue by the ________ scheduler, to be executed.
a) blocked, short term
b) wait, long term
c) ready, short term
d) ready, long term
111. The switching of the CPU from one process or thread to another is called ____________
a) process switch
b) task switch
c) context switch
121. With round robin scheduling algorithm in a time shared system ____________
a) using very large time slices converts it into First come First served scheduling algorithm
b) using very small time slices converts it into First come First served scheduling algorithm
c) using extremely small time slices increases performance
d) using very small time slices converts it into Shortest Job First algorithm
122. The portion of the process scheduler in an operating system that dispatches processes is concerned with
____________
a) assigning ready processes to CPU
b) assigning ready processes to waiting queue
c) assigning running processes to blocked queue
d) all of the mentioned
125. The strategy of making processes that are logically runnable to be temporarily suspended is called
____________
a) Non preemptive scheduling
b) Preemptive scheduling
c) Shortest job first
127. There are 10 different processes running on a workstation. Idle processes are waiting for an input event in
the input queue. Busy processes are scheduled with the Round-Robin time sharing method. Which out of
the following quantum times is the best value for small response times, if the processes have a short
runtime, e.g. less than 10ms?
a) tQ = 15ms
b) tQ = 40ms
c) tQ = 45ms
d) tQ = 50ms
128. Orders are processed in the sequence they arrive if _______ rule sequences the jobs.
a) earliest due date
b) slack time remaining
c) first come, first served
d) critical ratio
129. Which of the following algorithms tends to minimize the process flow time?
a) First come First served
b) Shortest Job First
c) Earliest Deadline First
d) Longest Job First
130. Under multiprogramming, turnaround time for short jobs is usually ________ and that for long jobs is
slightly ___________
a) Lengthened; Shortened
b) Shortened; Lengthened
c) Shortened; Shortened
d) Shortened; Unchanged
133. The real difficulty with SJF in short term scheduling is ____________
a) it is too good an algorithm
b) knowing the length of the next CPU request
c) it is too complex to understand
d) none of the mentioned
135. Consider the following set of processes, the length of the CPU burst time given in milliseconds.
137. An SJF algorithm is simply a priority algorithm where the priority is ____________
a) the predicted next CPU burst
b) the inverse of the predicted next CPU burst
c) the current CPU burst
d) anything the user wants
140. A solution to the problem of indefinite blockage of low – priority processes is ____________
a) Starvation
b) Wait queue
c) Ready queue
d) Aging
a) i only
b) i and iii only
c) ii and iii only
d) i, ii and iii
142. Which of the following scheduling algorithms gives minimum average waiting time?
a) FCFS
b) SJF
c) Round – robin
d) Priority
144. A situation where several processes access and manipulate the same data concurrently and the outcome of
the execution depends on the particular order in which access takes place is called ____________
a) data consistency
b) race condition
c) aging
d) starvation
145. The segment of code in which the process may change common variables, update tables, write into files is
known as ____________
a) program
b) critical section
c) non – critical section
d) synchronizing
146. Which of the following conditions must be satisfied to solve the critical section problem?
a) Mutual Exclusion
b) Progress
c) Bounded Waiting
d) All of the mentioned
148. Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its
critical section ____________
a) after a process has made a request to enter its critical section and before the request is granted
b) when another process is in its critical section
c) before a process has made a request to enter its critical section
d) none of the mentioned
149. A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical
section problem.
a) one
b) two
c) three
d) four
Unit : IO System
150. In the bakery algorithm to solve the critical section problem ____________
a) each process is put into a queue and picked up in an ordered manner
b) each process receives a number (may or may not be unique) and the one with the lowest number is
served next
c) each process gets a unique number and the one with the highest number is served next
d) each process gets a unique number and the one with the lowest number is served next
157. The wait operation of the semaphore basically works on the basic _______ system call.
a) stop()
b) block()
c) hold()
d) wait()
158. The signal operation of the semaphore basically works on the basic _______ system call.
a) continue()
b) wakeup()
c) getup()
d) start()
160. The code that changes the value of the semaphore is ____________
a) remainder section code
b) non – critical section code
c) critical section code
d) none of the mentioned
161. What will happen if a non-recursive mutex is locked more than once?
a) Starvation
b) Deadlock
c) Aging
d) Signaling
165. At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V
operations were completed on this semaphore. The resulting value of the semaphore is? (GATE 1987)
a) 42
b) 2
c) 7
d) 12
170. In the bounded buffer problem, there are the empty and full semaphores that ____________
a) count the number of empty and full buffers
b) count the number of empty and full memory spaces
172. To ensure difficulties do not arise in the readers – writers problem _______ are given exclusive access to
the shared object.
a) readers
b) writers
c) readers and writers
d) none of the mentioned
179. What are the operations that can be invoked on a condition variable?
a) wait & signal
b) hold & wait
c) signal & hold
d) continue & signal
182. A collection of instructions that performs a single logical function is called ____________
a) transaction
b) operation
c) function
d) all of the mentioned
183. A terminated transaction that has completed its execution successfully is ____________ otherwise it is
__________
a) committed, destroyed
b) aborted, destroyed
c) committed, aborted
d) none of the mentioned
184. The state of the data accessed by an aborted transaction must be restored to what it was just before the
transaction started executing. This restoration is known as ________ of transaction.
a) safety
b) protection
c) roll – back
d) revert – back
188. The undo and redo operations must be _________ to guarantee correct behaviour, even if a failure occurs
during recovery process.
a) idempotent
b) easy
c) protected
d) all of the mentioned
189. The system periodically performs checkpoints that consists of the following operation(s) ____________
a) Putting all the log records currently in main memory onto stable storage
b) putting all modified data residing in main memory onto stable storage
c) putting a log record onto stable storage
d) all of the mentioned
190. Consider a transaction T1 that committed prior to checkpoint. The <T1 commits> record appears in the
log before the <checkpoint> record. Any modifications made by T1 must have been written to the stable
storage either with the checkpoint or prior to it. Thus at recovery time ____________
204. A problem encountered in multitasking when a process is perpetually denied necessary resources is called
____________
a) deadlock
b) starvation
c) inversion
d) aging
205. 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
Answers :
1 2 3 4 5 6 7 8 9 10
d a c d a c a a d C
11 12 13 14 15 16 17 18 19 20
b b d a d a b a d A
21 22 23 24 25 26 27 28 29 30
b c b d b b c d a A
31 32 33 34 35 36 37 38 39 40
b a a a c c b c a B
41 42 43 44 45 46 47 48 49 50
c b d b c a b a c A
51 52 53 54 55 56 57 58 59 60
c a c d a c a a d C
61 62 63 64 65 66 67 68 69 70
c a b b a d c a b C
71 72 73 74 75 76 77 78 79 80
b b b b c c a d c D
81 82 83 84 85 86 87 88 89 90
b c d b b c a a b A
91 92 93 94 95 96 97 98 99 100
c b a d a b b a a B
101 102 103 104 105 106 107 108 109 100
b d a b b a b c c B
111 112 113 114 115 116 117 118 119 120
d c a a d b b c b B
121 122 123 124 125 126 127 128 129 130
a a a b b a a c b B
131 132 133 134 135 136 137 138 139 140
d b b b a d a c d D
141 142 143 144 145 146 147 148 149 150
d b c b d d a a b B
151 152 153 154 155 156 157 158 159 160
b c c a d b b b a C
161 162 163 164 165 166 167 168 169 170
d c b b b a b b c A
171 172 173 174 175 176 177 178 179 180
b b a b c a d a a A
181 182 183 184 185 186 187 188 189 190
c a c c d d a a d C
191 192 193 194 195 196 197 198 199 200
a c a a c b a d a A
201 202 203 204 205 206
a d c b a a
Unit 1
Introduction to OS
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
2. To access the services of operating system, the interface is provided by the
a) System calls
b) API
c) Library
d) Assembly instructions
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
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
5. What is the main function of the command interpreter?
a) to get and execute the next user-specified command
b) to provide the interface between the API and application program
c) to handle the files in operating system
d) none of the mentioned
6. By operating system, the resource management can be done via
a) time division multiplexing
b) space division multiplexing
c) time and space division multiplexing
d) none of the mentioned
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
43. The context of a process in the PCB of a process does not contain
a) the value of the CPU registers
b) the process state
c) memory-management information
d) context switch time
44. Which of the following need not necessarily be saved on a context switch between processes?
a) General purpose registers
b) Translation lookaside buffer
c) Program counter
d) All of the mentioned
45. Which of the following does not interrupt a running process?
a) A device
b) Timer
c) Scheduler process
d) Power failure
46. Which process can be affected by other processes executing in the system?
a) cooperating process
b) child process
c) parent process
d) init process
47. When several processes access the same data concurrently and the outcome of the execution depends on
the particular order in which the access takes place, is called?
a) dynamic condition
b) race condition
c) essential condition
d) critical condition
48. If a process is executing in its critical section, then no other processes can be executing in their critical
section. This condition is called?
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
49. Which one of the following is a synchronization tool?
a) thread
b) pipe
52. When high priority task is indirectly preempted by medium priority task effectively inverting the rela tive
priority of the two tasks, the scenario is called
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
56. Restricting the child process to a subset of the parent‟s resources prevents any process from
a) overloading the system by using a lot of secondary storage
b) under-loading the system by very less CPU utilization
Prof. Dhage H.Y. 9552323706 Page 9
c) overloading the system by creating a lot of sub-processes
d) crashing the system by utilizing multiple resources
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
57. A parent process calling system call will be suspended until children processes terminate.
a) wait
b) fork
c) exit
d) exec
58. Cascading termination refers to termination of all child processes before the parent terminates
a) Normally
b) Abnormally
c) Normally or abnormally
d) None of the mentioned
59. With only one process can execute at a time; meanwhile all other process are waiting for
the processor. With more than one process can be running simultaneously each on a
different processor.
a) Multiprocessing, Multiprogramming
b) Multiprogramming, Uniprocessing
c) Multiprogramming, Multiprocessing
d) Uniprogramming, Multiprocessing
61. In UNIX, the return value for the fork system call is for the child process and for the parent
process.
a) A Negative integer, Zero
b) Zero, A Negative integer
c) Zero, A nonzero integer
d) A nonzero integer, Zero
63. The child process completes execution, but the parent keeps executing, then the child process is known as
a) Orphan
b) Zombie
66. Which of the following two operations are provided by the IPC facility?
a) write & delete message
b) delete & receive message
c) send & delete message
d) receive & send message
68. The link between two processes P and Q to send and receive messages is called
a) communication link
b) message-passing link
c) synchronization link
d) all of the mentioned
76. To differentiate the many network services a system supports are used.
a) Variables
b) Sockets
c) Ports
d) Service names
77. RPC provides a(an) on the client side, a separate one for each remote procedure.
Prof. Dhage H.Y. 9552323706 Page 13
a) stub
b) identifier
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
c) name
d) process identifier
79. To resolve the problem of data representation on different systems RPCs define
a) machine dependent representation of data
b) machine representation of data
c) machine-independent representation of data
d) none of the mentioned
82. A process that is based on IPC mechanism which executes on different systems and can communicate
with other processes using message based communication, is called
a) Local Procedure Call
b) Inter Process Communication
c) Remote Procedure Call
d) Remote Machine Invocation
83. The initial program that is run when the computer is powered up is called
a) boot program
b) bootloader
c) initializer
a) the CPU uses polling to watch the control bit constantly, looping to see if a device is ready
b) the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is
available
c) the CPU receives an interrupt when the device is ready for the next byte
d) the CPU runs a user written code and does accordingly
95. 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
96. 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
97. The interval from the time of submission of a process to the time of completion is termed as
a) waiting time
98. 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
100. 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
104. Which one of the following can not be scheduled by the kernel?
a) kernel level thread
b) user level thread
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
c) process
d) none of the mentioned
111. The switching of the CPU from one process or thread to another is called
a) process switch
b) task switch
122. The portion of the process scheduler in an operating system that dispatches processes is concerned with
125. The strategy of making processes that are logically runnable to be temporarily suspended is called
127. There are 10 different processes running on a workstation. Idle processes are waiting for an input event in
the input queue. Busy processes are scheduled with the Round-Robin time sharing method. Which out of
the following quantum times is the best value for small response times, if the processes have a short
runtime, e.g. less than 10ms?
a) tQ = 15ms
b) tQ = 40ms
c) tQ = 45ms
d) tQ = 50ms
128. Orders are processed in the sequence they arrive if rule sequences the jobs.
a) earliest due date
b) slack time remaining
c) first come, first served
d) critical ratio
129. Which of the following algorithms tends to minimize the process flow time?
a) First come First served
b) Shortest Job First
c) Earliest Deadline First
d) Longest Job First
130. Under multiprogramming, turnaround time for short jobs is usually and that for long jobs is
slightly
a) Lengthened; Shortened
b) Shortened; Lengthened
c) Shortened; Shortened
d) Shortened; Unchanged
135. Consider the following set of processes, the length of the CPU burst time given in milliseconds.
a) i only
b) i and iii only
c) ii and iii only
d) i, ii and iii
142. Which of the following scheduling algorithms gives minimum average waiting time?
a) FCFS
b) SJF
c) Round – robin
d) Priority
144. A situation where several processes access and manipulate the same data concurrently and the outcome of
the execution depends on the particular order in which access takes place is called
a) data consistency
b) race condition
c) aging
d) starvation
145. The segment of code in which the process may change common variables, update tables, write into files is
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
known as
a) program
b) critical section
c) non – critical section
d) synchronizing
146. Which of the following conditions must be satisfied to solve the critical section problem?
a) Mutual Exclusion
b) Progress
c) Bounded Waiting
d) All of the mentioned
148. Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its
critical section
a) after a process has made a request to enter its critical section and before the request is granted
b) when another process is in its critical section
c) before a process has made a request to enter its critical section
d) none of the mentioned
149. A minimum of variable(s) is/are required to be shared between processes to solve the critical
section problem.
a) one
b) two
c) three
d) four
157. The wait operation of the semaphore basically works on the basic system call.
a) stop()
b) block()
c) hold()
d) wait()
158. The signal operation of the semaphore basically works on the basic system call.
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
a) continue()
b) wakeup()
c) getup()
d) start()
161. What will happen if a non-recursive mutex is locked more than once?
a) Starvation
b) Deadlock
c) Aging
d) Signaling
165. At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V
170. In the bounded buffer problem, there are the empty and full semaphores that
a) count the number of empty and full buffers
b) count the number of empty and full memory spaces
172. To ensure difficulties do not arise in the readers – writers problem are given exclusive access to
the shared object.
a) readers
b) writers
c) readers and writers
d) none of the mentioned
179. What are the operations that can be invoked on a condition variable?
a) wait & signal
b) hold & wait
c) signal & hold
d) continue & signal
183. A terminated transaction that has completed its execution successfully is otherwise it is
a) committed, destroyed
b) aborted, destroyed
SMBST ARTS ,SCIENCE AND COMMERCE COLLEGE, SANGAMNER
Subject : Operating System Concept Class : S.Y.B.C.A/S.Y.BBA(CA)
c) committed, aborted
d) none of the mentioned
184. The state of the data accessed by an aborted transaction must be restored to what it was just before the
transaction started executing. This restoration is known as of transaction.
a) safety
b) protection
c) roll – back
d) revert – back
188. The undo and redo operations must be to guarantee correct behaviour, even if a failure occurs
during recovery process.
a) idempotent
b) easy
c) protected
d) all of the mentioned
189. The system periodically performs checkpoints that consists of the following operation(s)
a) Putting all the log records currently in main memory onto stable storage
b) putting all modified data residing in main memory onto stable storage
c) putting a log record onto stable storage
d) all of the mentioned
190. Consider a transaction T1 that committed prior to checkpoint. The <T1 commits> record appears in the
Prof. Dhage H.Y. 9552323706 Page 31
log before the <checkpoint> record. Any modifications made by T1 must have been written to the stable
storage either with the checkpoint or prior to it. Thus at recovery time
a) There is a need to perform an undo operation on T1
b) There is a need to perform a redo operation on T1
c) There is no need to perform an undo and redo operation on T1
d) All of the mentioned
204. A problem encountered in multitasking when a process is perpetually denied necessary resources is called
a) deadlock
b) starvation
c) inversion
d) aging
205. 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