Professional Documents
Culture Documents
1. _______ runs on computer hardware and serve as platform for other softwares to run on
a. Operating system*
b. application software
c. System software d. All
2. ____ is the layer of a computer system between the hardware and the use program
a. Operating environment b. Operating system*
c. system environment d. None
3.
a.
b.
c.
d. None
d. None
d. None
8. ______ interface consists of things like program counter, registers, interrupts and terminals
a. Hardware*
b. Software
c. Data
d. None
9. _____ shares characteristics with both hardware and software
a. Operating system*
b. Software
c. Data
d. None
d. None
14. In resource management ____ means creating illusion of several resources from one resource
a. Multiplexing*
b. Frame relay
c. Duplexing
d. None
1
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
15. Operating systems _____ physical resources into virtual resources to avoid the difficulties
associated with using hardware resources
a. Transform*
b. Conversion
c. Translate
d. None
16. ______ provides the essential functionality of the hardware resource, but is easier to use
a. Virtual device
b. Virtual disk
c. Virtual resource* d. None
17. The sharing of physical resources is called ______
a. Simplexing
b. Duplexing
c. Multiplexing*
18. Spool stands for ______
a. Simultaneous peripheral operations online*
c. Specific operations online
d. None
19. In ______, there resource is used for different virtual computers at different times
a. Four division
b. Space division
c. Time-division multiplexing*
d. None
20. Time-division multiplexing is also referred as ______
a. Time-sharing*
b. Resource sharing
c. Space sharing
d. None
21. ___ multiplexing is useful when the resource cannot be divided into smaller versions of itself
a. Frequency division
b. Time-division*
c. Frame division
d. None
22. In _____, the resource is divided into smaller versions of itself and each virtual computer is
given a part of the resource
a. Space-division multiplexing*
b. Frequency division
c. Time-division
d. All
23. _____ is used in multiplexing primary and secondary storage
a. Frame division
b. Time-division
c. Space-division multiplexing *
d. None
d. None
d. None
26. The operating system creates _____ from the physical computer
a. Virtual space
b. Virtual computers*
c. Virtual device
d. None
27. Every _____ resource is a transformed and multiplexed version of the physical resource
a. Virtual*
b. Real
c. False
d. None
28. The two processor modes are _____ and ______ mode
a. System, user*
b. Direct, Indirect
c. Dynamic, Static
d. None
2
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
29. In _____ mode the instructions that control the physical resources of the computer are not
allowed
a. User*
b. System
c. Static
d. None
30. _____ computer cannot control hardware resources
a. Static
b. Virtual*
c. Real
d. None
d. 32*
33. _____ register is used to store the return values from procedures
a. r2
b. r1*
c. r3
d. r4
34. Opening a file creates an operating system object called _______
a. Open file*
b. Process
c. Thread
d. None
35. The operating system managers
a. Memory
b. Processor
36. The process of transferring data intended for a peripheral device into a disk (or intermediate
store) so that it can be transferred to peripheral at a more convenient time or in bulk, is
known as
a. Multiprogramming
b. Spooling* c. Caching
d. Virtual programming
37. ______ is a dynamic object that can provide bytes from the file or accept bytes to be stored in
the file
a. Create*
b. Write
c. File create
d. None
38. Trap is a ______ interrupt
a. Synchronous*
b. Asynchronous
c. Hardware
d. Operating systems
d. Entities
c. Part of handling*
3
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
42. The fork of _____ process returns the process identifier of the child process
a. Messages*
b. Signals
c. Both a & b
d. None
43. The main advantage of interrupt concept is elimination of
a. Spooling b. Polling*
c. Job scheduling
d. Blocking the currently running process
44. The Register-to Register (RS) instructions
a. Have both their operands in the main store
b. Which perform an operation on a register operand and an operand which is located in the
main store, generally leaving the result in the register, expect in the case of store operation
when it is also written into the specified storage location.*
c. Which perform indicated operations on two fast registers of the machine and have the result
in one of the registers.
d. All the above
45. The macro process must perform
a. Recognize macro definitions and macro cells
c. Expand macro calls and substitute arguments
46. In which ways a macro processor for assembly language can be implemented
a. Independent two-pass processor
b. Independent one-pass processor
c. Processor incorporated into pass 1 of a standard two-pass assembler d. All the above*
47. A hardware device that is capable of executing a sequence of instructions, is known as
a. CPU
b. ALU
c. CU
d. Processor*
48. What is the name of the system which deals with the running of the actual computer and not
with the programming problems?
a. Operating system
b. System program* c. Object program
d. Source program
49. Two basic types of operating systems are
a. Sequential and direct
c. Sequential and realtime
4
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
53. Information in a memory that is no longer valid or wanted is known as
a. None of the above-volatile
b. Volatile
c. Surplus
d. Garbage*
54. The FIFO algorithm
a. Executes first the job that last entered the queue
b. Executes first the job that first entered the queue*
c. Executes first the job that has been in the
d. Executes first the job with the least processor needs
55. Device independence
a. Allows the compute to run without I/O devices
b. Makes all devices look the same to the operating systems
c. Allows programs to be written more easily*
d. Allows tape drives to be substituted for disk drives
56. Four necessary conditions for deadlock that exist are: mutual exclusion, non-preemption,
circular wait and
a. Hold and wait* b. Deadlock avoidance
c. Race around condition
d. Buffer overflow
57. All the time a computer is switched on, its operating system software has to stay in
a. Main storage
b. Primary storage*
c. Floppy disk
d. Disk drive
58. The primary job of the operating system of a compute is to
a. Command resources
b. Manage resources* c. Provide utilities
d. Be user friendly
59. The operating system of a computer serve as a software interface between the user and
a. Hardware*
b. Peripheral
c. Memory
d. Screen
60. The term operating system means
a. A set of programs which controls computer working*
b. The way a computer operator works
c. Conversion of high level language into machine code
d. The way a floppy disk drive operates
61. Which of the following is not applications software?
a. Word processing
b. Spreadsheet
c. UNIX*
d. Desktop publishing
62. The kernel of the operating system remains in primary memory (and other part of the
operating system remains in secondary storage ) because
a. It is mostly called (used)*
b. It manages all interrupt calls
c. It controls all operation in a process
d. It is low level
63. Systems software is a program that directs the overall operation of the computer facilities its
use and interacts with the users. What are the different types of these softwares?
a. Operating system
b. Languages
c. Utilities
d. All the above*
5
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
64. In which addressing mode, the effective address of the operand is generated by adding a
constant value to the contents of register?
a. Absolute mode b. Indirect mode
c. Immediate mode d. Index mode*
65. Which of the following program is not a utility?
a. Debugger
b. Editor
c. Spooler*
c. Both a & b
d. All
68. What is the name given to the organized collection of software that controls he overall
operation of a computer?
a. Working system
b. Peripheral system
c. Operating system* d. Controlling system
69. Which of the following software types is used to simplify using systems software?
a. Spreadsheet
b. Operating environment
c. Time sharing*
d. Multitasking
70. Operating system is
a. A collection of hardware components
c. A collection of software routines*
d. Assembler
74. In which of the following addressing modes, the address of the location of the operand is
given explicitly as a part of the instruction?
a. Absolute mode*
b. Immediate mode c. Index mode
d. Modules mode
75. System mask indicates whether the CPU wishes to
a. Accept interrupts from a specific channel *
b. Reject all interrupts
c. Reject some of interrupts
d. Reject all interrupts from selected channels
76. A program
a. Is a device that performs a sequence of operations specified by instructions in memory
6
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
b. Is the device where information is stored
c. Is a sequence of instructions*
d. Is typically characterized by interactive processing and time of the CPUs time to allow quick
response to each user
77. Virtual device is
a. Dedicated for one purpose
b. A dedicated device converted into a shared device
c. A shared device converted into a dedicated device*
d. None
78. A Processor
a. Is a device that performs a sequence of operations specified by instructions in memory*
b. Is the device where information is stored
c. Is a sequence of instructions
d. Is typically characterized by interactive processing and time of the CPUs time to allow quick
response to each user
79. When an interrupt occurs, an operating system
a. Ignores the interrupt
b. Always changes state of interrupted process after processing the interrupt
c. Always resumes execution of interrupted process after processing the interrupt
d. May change sate of interrupted process to blocked and schedule another process*
80. Scheduling is
a. Allowing job to use the processor*
b. Unrelated to performance, considerations
c. Quite simple to implement, even on large mainframes
d/ The same regardless of the purpose of the system
81. Multiprocessing
a. Makes the operating system simpler
b. Allows multiple processes to run simultaneously
c. Is completely understood by all major compute vendors.
d. Allows the same computer to have multiple processors*.
82. A form of code that uses more than one process and processor, possibly of different type, and
that may on occasions have more than one process or processor active at the same time, is
known as
a. Multiprogramming
b. Multithreading*
c. Broadcasting
d. Time sharing
83. The technique, for sharing the time of a compute among several jobs, which switches jobs so
rapidly such that each job appears to have the computer to itself
a. Time sharing*
b. Time out
c. Time domain
d. Multitasking
84. Only one of the following is initiated by the user program, all others are initiated by external
entities.
a. Transition from ready state to running state
b. Transition from running state to ready state
c. Transition from running state blocked state* d. Transition from blocked state to ready state
85. FIFO scheduling is
7
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
a. Preemptive scheduling
c. Deadline scheduling
86. A semaphore count of negative n means (s = -n) that the queue contains --- waiting processes
a. n + 1
b. n*
c. n 1
d. 0
87. A null process has process identifier.
a. -1
b. 0*
c. 1
d. NULL
92. Which is the correct definition of a valid process transition in an operating system?
a. Wakeup: ready running
b. Dispatch: ready running*
c. Block: ready running
d. Timer runout ready blocked
93. A critical section is a program segment
a. which should run in a certain specified amount of time
b. Which avoids deadlocks
c. Where shared resources are accessed*
d. Which must be enclosed by a pair of semaphore operations, P and V
94. Correct the match for the following pairs is
w. Disk scheduling
1. Round robin
x. Batch processing
2. SCAN
y. Time sharing
3. LIFO
z. Interrupt processing
4. FIFO
a. w 3, x 4, y 2 & z 1
c. w 2, x 3, y 1 & z 1*
b. w 4, x 3, y 2 & z 1
d. w 3, x 4, y 1 & z 2
8
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
95. An operating system containing 3 user process each requiring 2 units of resource R. The
number of units of R such that no deadlocks will ever arises is
a. 3
b. 5
c. 4*
d. 6
96. Each process Pi, I = 1 9 is coded as follow repeat
P(mutex)
{critical section}
V(mutex)
Forever
The code for P10 is identical except that is uses v(mutex) in place of p(mutex). What is the
largest number of process that can be inside the critical section at any moment.
a. 1
b. 2
c. 3
d. None of the above*
97. When the result of a computation depends on the sped of the processes involved there is said
to be
a. Cycle stating
b. Race condition* c. A time lock
d. A deadlock
98. A counting semaphore was initialized to 10. Then 6p (wait) operations and 4v (signal)
operations were completed on this semaphore. The resulting value of the semaphore is
a. 0
b. 8*
c. 10
d. 12
99. A compute has size tape drives within processes competing for them. Each process may need
two drives. What is the maximum value of n for the system to be deadlock free?
a. 6
b. 4*
c. 5
d. 3
100.The dispatcher
a. Actually schedules the tasks into the processor* b. Is always very small and simple
c. Puts tasks in I/O wait
d. Never changes task priorities
101. The most complex dispatcher
a. Should always be used
c. Is never use don a larger computers
9
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
105. Complex scheduling algorithms
a. Use more resources than they gain
c. Always use many resources
c. Paging
Operating Systems
c. Can easily cause a deadlock condition
116. Inter process communication
a. Is never necessary
c. Is required for all processes
117. Spinning
a. Requires several processes
b. Uses very little processor time
c. Requires the processor to keep trying until successful* d. should be used for all rescues
118. Global locks
a. Are used to avoid local locks
c. Synchronize access to local resources
119. In which of the following four necessary conditions for deadlocks, processes claim
exclusive control of the resources they require?
a. No preemption b. Mutual exclusion* c. Circular wait
d. Hold and wait
120. The no preemption condition for deadlock exist when
a. Each resources is either currently assigned to exactly one process or is available
b. Process currently holding resources granted earlier can request new resources
c. Resources previously granted cannot be forcibly taken away from a process*
d. There must be a circular chain of two or more processes each of which of waiting for a
resource held by the next member of a chain.
121. Which of the following resources can cause deadlocks?
a. Read only files
b. Shared programs
c. Printers*
122. A set of resource allocations such that the system can allocate resources to each process in
some order, and still avoids a deadlock is called
a. Unsafe state
b. Safe state*
c. Starvation
d. Greedy allocation
123. If you want to execute more than one program at a time, the system software you are using
must be capable of:
a. word processing
b. Virtual memory
c. Compiling
d. Multitasking*
124. Producer consumer problem can be solved using
a. Semaphores
b. Event counters
c. Monitors
125. Situations where two or more processes are reading or writing some shared data and the
final result depends on who runs precisely final result depends on who runs precisely and
when, are called
a. Race conditions*
b. Critical sections
c. Mutual exclusions
d. Message paging
126. A relationship between processes such that each has some part (critical section) which must
not be executed while the critical section of another is being executed, is known as
11
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
a. Semaphore
Multitasking
b. Mutual exclusion*
c. Multiprogramming
d.
Operating Systems
b. JCL is used only to communicate between systems programmers
c. A batch file contains a series of operating system commands*
d. The primary function of operating systems is to make the computer hardware easily usable.
138. The Process Manager (or Processor Manager) has to keep track of
a. The status of each program
b. The priority of each program
c. The information management support to a programmer using the system
d. Both a & b.*
139. In order to allow only one process to enter its critical section, binary semaphore are
initialized to
a. 0
b 1*
c. 2
d. 3
140. Which of the following statements is false?
a. A process of scheduling algorithm is preemptive if the CPU can be forcibly removed from a
process
b. Time sharing systems generally use preemptive CPU scheduling
c. Response time are more predictable in preemptive systems than in one preemptive systems.
d. Real time systems generally use nonpreemptive CPU scheduling*
141. None of the above modifiable procedures are called
a. Serially usable procedures
b. Concurrent procedures
c. Reentrant procedures*
d. Topdown procedures.
142. Semaphores
a. Synchronize critical resources to prevent deadlock *
b. Synchronize critical resources to prevent contention
c. Are used to do I/O
d. Are used for memory management
143. A system program that sets up an executable program in main memory ready for execution
is
a. Assembler
b. Linker
c. Loader*
d. Compiler
144. A term polling in a computer means a process by which a computer system
a. Detects/corrects errors b. Multiplexes the inputs and updates the memory accordingly*
c. Decides correct alternative by analyzing several ones
d. Inquires to see if a terminal has any transaction to send
145. Process is
a. Program in High level language kept on disk
c. A program in execution*
146. The state transition initiated by the user process itself in an operating system is
a. Block*
b. Dispatch
c. Wake up
d. Timer run out
147. Interprocess communication
13
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
a. Is required for all processes
c. Is never necessary
148. Scheduling is
a. Allowing jobs to use the processor*
c. Not required in unprocessed systems
d. Program
150. A process is said to be in ______ state if it is waiting for an event that will never occur
a. Safe
b. Unsafe
c. Starvation
d. Deadlock*
151. Virtual memory is
a. Simple to implement
c. Less efficient in utilization of memory
152. The different types of relocation in linking process after compilation are
a. Dynamic
b. Static
c. In-line, Out-line
d. Both a & b*
153. The different types of data encountered during compilation process are
a. Initialized
b. Unintialized
c. Both a & b*
d. Dynamic, static
154. In memory management, fragmentation problem is caused by creation of
a. Large number of process
b. Large number of small free holes
c. Large number of free holes*
d. Large number of waiting processes
155. _____ consists of adding the actual starting address of the object module in the load module
to each of these locations
a. Relocation *
b. Linking
c. Compilation
d. None
156. Find odd man out.
a. Execute
b. Task manager
c. Kernel
d. Spooler*
157. A 1000k byte memory is managed using variable partitions but no compaction. It currently
has two partitions of sized 200k bytes and 260k bytes respectively. The smallest allocation
request in Kbytes that could be denied is for
a. 151
b. 181*
c. 231
s. 541
158. A solution to the Dining Philosophers Problem which avoids deadlock is
a. Ensure that all philosophers pick up the left fork before the right fork
b. Ensure that all philosophers pick up the left fork before the left fork
c. Ensure that one particular philosopher picks up the left fork before right fork, and that all
other philosopher pickup the right fork before the left fork*
d. None of the above
14
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
159. ______ is the modification of addresses where one object module refers to a location in
another object module
a. Relocation
b. Linking*
c. Compilation
d. None
160. Locality of reference implies that the page reference being made by a process
a. Will always be to the page used in the previous page reference
b. Is likely to be to one of the pages used in the last few page references*
c. Will always be to one of the pages existing in memory
d. Will always lead to a page fault.
161. Thrashing
a. Reduces page I/O
c. Implies excessive page I/O*
162. In ______ a linker is linking from a library that has been designated as a loadtime dynamic
link library
a. Relocation
b. Dynamic linking c. Load time Dynamic Linking*
d. All
163. Dirty bit for a page in a page table
a. Helps avoid unnecessary writes on a paging device*
c. Allows only read on a page
164. If an instruction takes I microsecond and a page fault takes an additional j microseconds, the
effective instruction time if on the average a page fault occurs every k instructions is
a. I + (j / k)*
b. I + (j * k)
c. (I + j) / k
d. (I + j ) * k
165. Relocatable programs
a. Cannot be used with fixed partitions
c. Do not need a linker
166. In a _____ linker is linking to a dynamic link library only when a module is actually needed
until then the linking is delayed
a. Dynamic linking b. Run time Dynamic Linking*
c. Load-time Dynamic Linking d. All
the above
167. Fixed partitions
a. Are very common in current operating system b. Are very efficient in memory utilization
c. Are very inefficient in memory utilization*
d. Are most used on large mainframe operating system
168. Of all memory requests are for same size of memory block then memory allocation is _____
a. Single*
b. Complex
c. Compounded
d. All the above
169. A linker
a. Is not necessary with variable partitions
c. Create a load module*
15
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
170. In order to provide user with contiguous logical memory using single memory mapping
with _____ and _____ registers
a. Base
b. Bound
c. Both a & b*
d. None
171. The garbage collector
a. Is critical for efficient virtual memory systems b. Prevents fragmentation form occurring
c. Is mostly used with fixed partitions
d. Collects fragmented areas of memory*
172. The first fit algorithm
a. Places a program in the first possible partition*
b. Places a program in the best possible partition
c. Waits for the correct partition to become available
d. Places the first program in the best partition
173. ______ is a part of the operating system that manages memory
a. Memory manager*
b. Memory module c. Memory scheduler d. Memory monitor
174. The worst-fit algorithm
a. Is used only when nothing better is available
b. Places a program in largest available partition*
c. Should never be used
d. Places a program in the smallest possible partition
175. A process logical memory may be divided into
a. Code, static data, dynamic data b. Unused address space, stack
None
176. _____ is inavailable in dynamically allocated memory
a. Compaction
b. Fragmentation*
c. Both a & b
177. Boundary registers
a. Are used for temporary program variable storage
b. Are only necessary with fixed partitions
c Track the beginning and ending of programs*
d.
d. None
c. Both a & b*
c. Both at & b
d. None
16
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
c. Is the part of an overlay that is always in memory* d. Is the part of an overlay that is repeated
181. A ______ contains both a base register and length register
a. Segment register
b. Offset register
c. Instruction address register*
d. All
182. Swapping
a. Works best with many small partitions
b. Allows many programs to use memory simultaneously
c. Does not work with overlaying*
d. Allows each program in turn to use the memory
183. A page has fixed length so it requires only
a. Base register*
b. Length register
c. Address register
d. All
d. All
17
Bhargavi Institute of Management and Technology, KPHB, Ph:-040-23068451
Operating Systems
c.
d. Is never rest
192. Thrashing
a. Always occurs on large computers
b. Is a natural consequence of virtual memory systems
c. Can always be avoided by swapping * d. Can be caused by poor paging algorithms
193. The working set
a. Contains all pages referenced
b. Contains all pages referenced that should be kept in memory
c. Is that group of pages being used by all programs
memory