Professional Documents
Culture Documents
Question Bank
Subject: Operating System
8.In a timeshare operating system, when the time slot assigned to a process is completed, the
process switches from the current state to?
a) Suspended state
b) Terminated state
c) Ready state
d) Blocked state
9. Which technique was introduced because a single job could keep both the CPU and the I/O
devices busy?
A. Time sharing
B. Spooling
C. Preemptive scheduling
D. Multiprogramming
10. In kernel model, the operating system services such as process management, memory
management are provided by the kernel.
A. monolithic
B. micro
C. macro
D. Complex
11. A process is said to be in ……….. state if it was waiting for an event that will never occur.
A. safe
B. unsafe
C. starvation
D. dead lock
12.What are the services operating System provides to both the users and to the programs?
A. File System manipulation
B. Error Detection
C. Program execution
D. Resource Allocation
A. Protection
B. Program execution
C. I/O operations
D. All of the above
1. Saving the state of the old process and loading the saved state of the new process is called
A. context switch
B. static
c. multi programming
d.none of the above
6. 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
10. The systems which allow only one process execution at a time, are called __________
a) uniprogramming systems
b) uniprocessing systems
c) unitasking systems
d) none of the mentioned
Process Co-ordination
1. 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
2. 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
10. To enforce ………………….. two functions are provided enter-critical and exit-critical, where
each function takes as an argument the name of the resource that is the subject of competition.
a)Mutual Exclusion
b) Synchronization
c) Deadlock
d) Starvation
11. A semaphore whose definition includes the fairest policy First-in-First-Out (FIFO) is called a
……………..
A) binary semaphore
B) strong semaphore
C) weak semaphore
D) multi semaphore
Memory Management
3. 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
I/ O Management
1. The data-in register of I/O port is ____________
a) Read by host to get input
b) Read by controller to get input
c) Written by host to send output
d) Written by host to start a command
2. When hardware is accessed by reading and writing to the specific memory locations, then it is
called ____________
a) port-mapped I/O
b) controller-mapped I/O
c) bus-mapped I/O
d) none of the mentioned
3. Which hardware triggers some operation after certain programmed count?
a) programmable interval timer
b) interrupt timer
c) programmable timer
d) none of the mentioned
4. The device-status table contains ____________
a) each I/O device type
b) each I/O device address
c) each I/O device state
d) all of the mentioned
5. Which one of the following connects high-speed high-bandwidth device to memory subsystem
and CPU.
a) Expansion bus
b) PCI bus
c) SCSI bus
d) None of the mentioned
6. In _______ disk scheduling algorithm, the disk head moves from one end to other end of the
disk, serving the request along the way. When the head reaches the other end, it immediately returns
to the beginniing of the disk without serving any request on the return trip.
a) LOOK
b) SCAN
c) C- LOOK
d) C-SCAN
7. one disk queue with request for I/O to blocks on cylinders. The request are in the following
manner:
98 183 37 122 14 124 65 67
Consider SSTF (Shortest Seek Time First) scheduling, the total number of head movements is, if the
disk head of initially at 53 is:
a) 236
b) 246
c) 220
d) 240
8. A ………………. module controls the exchange of data between main memory and an I/O
module.
A) Programmed I/O
B) Interrupt driven I/O
C) Direct Memory Access
D) Virtual Memory Access
9. When a user process issues an I/O request, the operating system assigns a buffer in the system
portion of main memory to the operation is called …………..
A) Double buffer
B) Single buffer
C) Linear buffer
D) Circular buffer
10. …………….. may be inadequate if the process performs rapid bursts of I/O.
A) Double buffering
B) Single buffering
C) Linear buffering
D) Circular buffering10.
11. In ………………. policy, when the last track has been visited in one direction, the arm is
returned to the opposite end of the disk and the scan begins again.
A) Last in first out
B) Shortest service time first
C) SCAN
D)Circular SCAN
4. To access the services of the operating system, the interface is provided by the
___________
a) Library
b) System calls
c) Assembly instructions
d) API
View Answer
5. CPU scheduling is the basis of ___________
a) multiprogramming operating systems
b) larger memory sized systems
c) multiprocessor systems
d) none of the mentioned
View Answer
7. Which one of the following errors will be handle by the operating system?
a) lack of paper in printer
b) connection failure in the network
c) power failure
d) all of the mentioned
View Answer
9. If a process fails, most operating system write the error information to a ______
a) new file
b) another running process
c) log file
d) none of the mentioned
View Answer
10. Which one of the following is not a real time operating system?
a) RTLinux
b) Palm OS
c) QNX
d) VxWorks
View Answer
13. In a timeshare operating system, when the time slot assigned to a process is
completed, the process switches from the current state to?
a) Suspended state
b) Terminated state
c) Ready state
d) Blocked state
View Answer
14. Cascading termination refers to the termination of all child processes if the
parent process terminates ______
a) Normally or abnormally
b) Abnormally
c) Normally
d) None of the mentioned
View Answer
15. When a process is in a “Blocked” state waiting for some I/O service. When the
service is completed, it goes to the __________
a) Terminated state
b) Suspended state
c) Running state
d) Ready state
View Answer
17. The portion of the process scheduler in an operating system that dispatches
processes is concerned with ____________
a) assigning ready processes to waiting queue
b) assigning running processes to blocked queue
c) assigning ready processes to CPU
d) all of the mentioned
View Answer
21. Swapping _______ be done when a process has pending I/O, or has to execute I/O
operations only into operating system buffers.
a) must never
b) maybe
c) can
d) must
View Answer
25. Using transient code, _______ the size of the operating system during program
execution.
a) maintains
b) changes
c) increases
d) decreases
View Answer
26. The operating system maintains a ______ table that keeps track of how many
frames have been allocated, how many are there, and how many are available.
a) memory
b) mapping
c) page
d) frame
View Answer
27. To obtain better memory utilization, dynamic loading is used. With dynamic
loading, a routine is not loaded until it is called. For implementing dynamic loading
____________
a) special support from operating system is essential
b) special support from hardware is required
c) user programs can implement dynamic loading without any special support from
hardware or operating system
d) special support from both hardware and operating system is essential
View Answer
28. The _________ presents a uniform device-access interface to the I/O subsystem,
much as system calls provide a standard interface between the application and the
operating system.
a) Device drivers
b) I/O systems
c) Devices
d) Buses
View Answer
30. Hard real time operating system has ______________ jitter than a soft real time
operating system.
a) equal
b) more
c) less
d) none of the mentioned
View Answer
31. For real time operating systems, interrupt latency should be ____________
a) zero
b) minimal
c) maximum
d) dependent on the scheduling
View Answer
33. The priority of a process will ______________ if the scheduler assigns it a static
priority.
a) depends on the operating system
b) change
c) remain unchanged
d) none of the mentioned
View Answer
38. The operating system keeps a small table containing information about all open
files called ____________
a) file table
b) directory table
c) open-file table
d) system table
View Answer
40. The operating system _______ the links when traversing directory trees, to
preserve the acyclic structure of the system.
a) deletes
b) considers
c) ignores
d) none of the mentioned
View Answer
41. To recover from failures in the network operations _____________ information may
be maintained.
a) operating system
b) ip address
c) stateless
d) state
View Answer
42. On systems where there are multiple operating system, the decision to load a
particular one is done by _____________
a) process control block
b) file control block
c) boot loader
d) bootstrap
View Answer
44. The two steps the operating system takes to use a disk to hold its files are
_______ and ________
a) caching & logical formatting
b) logical formatting & swap space creation
c) swap space creation & caching
d) partitioning & logical formatting
View Answer
45. The _______ program initializes all aspects of the system, from CPU registers to
device controllers and the contents of main memory, and then starts the operating
system.
a) bootstrap
b) main
c) bootloader
d) rom
View Answer
46. In SCSI disks used in high end PCs, the controller maintains a list of _________ on
the disk. The disk is initialized during ________ formatting which sets aside spare
sectors not visible to the operating system.
a) destroyed blocks, partitioning
b) bad blocks, low level formatting
c) destroyed blocks, high level formatting
d) bad blocks, partitioning
View Answer
47. Which principle states that programs, users, and even the systems be given just
enough privileges to perform their task?
a) principle of least privilege
b) principle of process scheduling
c) principle of operating system
d) none of the mentioned
View Answer
48. Network operating system runs on ___________
a) every system in the network
b) server
c) both server and every system in the network
d) none of the mentioned
View Answer
2. Logical memory is broken into blocks of the same size called _________
a) frames
b) pages
c) backing store
d) none of the mentioned
View Answer
3. Every address generated by the CPU is divided into two parts. They are
____________
a) frame bit & page number
b) page number & page offset
c) page offset & frame bit
d) frame offset & page offset
View Answer
4. The __________ is used as an index into the page table.
a) frame bit
b) page number
c) page offset
d) frame offset
View Answer
5. The _____ table contains the base address of each page in physical memory.
a) process
b) memory
c) page
d) frame
View Answer
7. If the size of logical address space is 2 to the power of m, and a page size is 2 to
the power of n addressing units, then the high order _____ bits of a logical address
designate the page number, and the ____ low order bits designate the page offset.
a) m, n
b) n, m
c) m – n, m
d) m – n, n
View Answer
9. The operating system maintains a ______ table that keeps track of how many
frames have been allocated, how many are there, and how many are available.
a) page
b) mapping
c) frame
d) memory
View Answer
13. For larger page tables, they are kept in main memory and a __________ points to
the page table.
a) page table base register
b) page table base pointer
c) page table register pointer
d) page table base
View Answer