300+ TOP Advanced Operating System MCQs and Answers

Advanced Operating System Multiple Choice Questions

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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
d. palm os

10. The OS X has
a. monolithic kernel

b. hybrid kernel

c. microkernel

d. monolithic kernel with modules

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
b. program counter

21. The number of processes completed per unit time is known as __________.
a. output

b. throughput

c. efficiency

d. capacity

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
d. the number of processes in memory

26. The objective of multi-programming is to
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
b. ready state

39. An unrecoverable error is known as _________.
a. hard error

b. tough error

c. soft error

d. none of these

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
b. page table base register

70. Program always deals with
a. logical address

b. absolute address

c. physical address

d. relative address

Answer:
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

Answer:
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

Answer:
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

Answer:
a. each process

74. In segmentation, each address is specified by :
a. a segment number

b. an offset

c. a value

d. a key

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
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

Answer:
a. the entire process will be blocked

101. In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because :
a. only one thread can access the kernel at a time

b. many user threads have access to just one kernel thread

c. there is only one kernel thread

d. none of these

Answer:
a. only one thread can access the kernel at a time

102. The One to One model allows :
a. increased concurrency

b. decreased concurrency

c. increased or decreased concurrency

d. concurrency equivalent to other models

Answer:
a. increased concurrency

103. In the One to One model when a thread makes a blocking system call :
a. other threads are strictly prohibited from running

b. other threads are allowed to run

c. other threads only from other processes are allowed to run

d. none of these

Answer:
b. other threads are allowed to run

104. Which of the following is the drawback of the One to One Model ?
a. increased concurrency provided by this model

b. decreased concurrency provided by this model

c. creating so many threads at once can crash the system

d. creating a user thread requires creating the corresponding kernel thread

Answer:
d. creating a user thread requires creating the corresponding kernel thread

105. When is the Many to One model at an advantage ?
a. when the program does not need multi-threading

b. when the program has to be multi-threaded

c. when there is a single processor

d. none of these

Answer:
a. when the program does not need multi-threading

106. In the Many to Many model true concurrency cannot be gained because :
a. the kernel can schedule only one thread at a time

b. there are too many threads to handle

c. it is hard to map threads with each other

d. none of these

Answer:
a. the kernel can schedule only one thread at a time

107. In the Many to Many model when a thread performs a blocking system call :
a. other threads are strictly prohibited from running

b. other threads are allowed to run

c. other threads only from other processes are allowed to run

d. none of these

Answer:
b. other threads are allowed to run

108. before a disk can store data is known as : (choose all that apply)
a. partitioning

b. swap space creation

c. low-level formatting

d. physical formatting

Answer:
d. physical formatting

109. The data structue for a sector typically contains : (choose all that apply)
a. header

b. data area

c. trailer

d. main section

Answer:
c. trailer

110. The header and trailer of a sector contain information used by the disk controller such as _________ and _________.
a. main section

b. error correcting codes (ecc)

c. sector number

d. disk identifier

Answer:
c. sector number

111. The two steps the operating system takes to use a disk to hold its files are _______ and ________.
a. partitioning

b. swap space creation

c. caching

d. logical formatting

Answer:
d. logical formatting

112. and then starts the operating system.
a. main

b. bootloader

c. bootstrap

d. rom

Answer:
c. bootstrap

113. For most computers, the bootstrap is stored in ____.
a. ram

b. rom

c. cache

d. tertiary storage

Answer:
b. rom

114. A disk that has a boot partition is called a _________. (choose all that apply)
a. start disk

b. system disk

c. boot disk

d. all of these

Answer:
c. boot disk

115. Defective sectors on disks are often known as __________.
a. good blocks

b. destroyed blocks

c. bad blocks

d. none of these

Answer:
c. bad blocks

Advanced Operating System Objective Questions with Answers Pdf Download

Leave a Reply

Your email address will not be published. Required fields are marked *