Practice Test: Question Set - 12
1. Operating system
- (A) Links
a program with the subroutines it references
- (B) Provides
a layered, user-friendly interface
- (C) Enables
the programmer to draw a flowchart
- (D) None
of the above
2. Banker's algorithm for resource allocation deals with
- (A) Deadlock
prevention
- (B) Deadlock
avoidance
- (C) Deadlock
recovery
- (D) Mutual
exclusion
3. What problem is solved by Dijkstra's banker's algorithm?
- (A) Mutual
exclusion
- (B) Deadlock
recovery
- (C) Deadlock
avoidance
- (D) Cache
coherence
4. Which of the following statements is false?
- (A) A
process 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 non preemptive systems
- (D) Real
time systems generally use non-preemptive CPU scheduling
5. Which table is a permanent database that has an entry for each terminal symbol?
- (A) Terminal
table
- (B) Literal
table
- (C) Identifier
table
- (D) Reductions
6. A task in a blocked state
- (A) Is
executable
- (B) Is
running
- (C) Must still
be placed in the run queues
- (D) Is
waiting for same temporarily unavailable resources
7. The function(s) of the Storage Assignment is (are)
- (A) To
assign storage to all variables referenced in the source program
- (B) To
assign storage to all temporary locations that are necessary for intermediate
results
- (C) To
assign storage to literals, and to ensure that the storage is allocate and
appropriate locations are initialized
- (D) All of the
above
8. The higher versions of the operating systems are so written that programs designed for earlier versions can still be run. What is it called?
- (A) Upgradability
- (B) Upward
mobility
- (C) Universality
- (D) Upward
compatibility
9. Addressing modes
- (A) Defines
the fundamental method of determining effective operand addresses
- (B) Are
variations in the use of fundamental addressing structures, or some associated
actions which are related to addressing
- (C) Performs
indicated operations on two fast registers of the machine and leave the result
in one of the registers
- (D) All of the
above
10. A hardware device that is capable of executing a sequence of instructions, is known as
- (A) CPU
- (B) ALU
- (C) CU
- (D) Processor
11. Operating system is
- (A) A
collection of hardware components
- (B) A
collection of input-output devices
- (C) A
collection of software routines
- (D) All
of the above
12. The primary job of the operating system of a computer is to
- (A) Command
resources
- (B) Manage
resources
- (C) Provide
utilities
- (D) Be
user friendly
13. The Register - to - Register (RR) 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, except 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 leave the
result in one of the registers
- (D) None of the
above
14. Which of the following is true about pseudo code
- (A) A
machine language
- (B) An
assembly language
- (C) A
high-level language
- (D) None
of the above
15. Which, of the following is not true about the description of a decision table?
- (A) A decision
table is easy to modify
- (B) A
decision table is directly understood by the computer
- (C) A decision
table is easy to understand
- (D) All of the
above
Next Tests:
Blogger Comment
Facebook Comment