πŸ’»

Operating System MCQs

1K+ questions with answers

51

Cascading termination refers to termination of all child processes if the parent process terminates ______

a Normally
b Abnormally
c Normally or abnormally
d None of the mentioned
Medium
View Details β†’
52

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
Medium
View Details β†’
53

In UNIX, each process is identified by its __________

a Process Control Block
b Device Queue
c Process Identifier
d None of the mentioned
Medium
View Details β†’
54

The child process can __________

a be a duplicate of the parent process
b never be a duplicate of the parent process
c cannot have another program loaded into it
d never have another program loaded into it
Medium
View Details β†’
55

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
Medium
View Details β†’
56

What is Interprocess communication?

a allows processes to communicate and synchronize their actions when using the same address space
b allows processes to communicate and synchronize their actions
c allows the processes to only synchronize their actions without communication
d none of the mentioned
Medium
View Details β†’
57

Message passing system allows processes to __________

a communicate with each other without sharing the same address space
b communicate with one another by resorting to shared data
c share data
d name the recipient or sender of the message
Medium
View Details β†’
58

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
Medium
View Details β†’
59

Messages sent by a process __________

a have to be of a fixed size
b have to be a variable size
c can be fixed or variable sized
d none of the mentioned
Medium
View Details β†’
60

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
Medium
View Details β†’
61

Which of the following are TRUE for direct communication?

a A communication link can be associated with N number of process(N = max. number of processes supported by system)
b A communication link is associated with exactly two processes
c Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system)
d Exactly two link exists between each pair of processes
Medium
View Details β†’
62

In the non blocking send __________

a the sending process keeps sending until the message is received
b the sending process sends the message and resumes operation
c the sending process keeps sending until it receives a message
d none of the mentioned
Medium
View Details β†’
63

In the Zero capacity queue __________

a the queue can store at least one message
b the sender blocks until the receiver receives the message
c the sender keeps sending and the messages don’t wait in the queue
d none of the mentioned
Medium
View Details β†’
64

The Zero Capacity queue __________

a is referred to as a message system with buffering
b is referred to as a message system with no buffering
c is referred to as a link
d none of the mentioned
Medium
View Details β†’
65

Bounded capacity and Unbounded capacity queues are referred to as __________

a Programmed buffering
b Automatic buffering
c User defined buffering
d No buffering
Medium
View Details β†’
66

Remote Procedure Calls are used ____________

a for communication between two processes remotely different from each other on the same system
b for communication between two processes on the same system
c for communication between two processes on separate systems
d none of the mentioned
Medium
View Details β†’
67

To differentiate the many network services a system supports ______ are used.

a Variables
b Sockets
c Ports
d Service names
Medium
View Details β†’
68

RPC provides a(an) _____ on the client-side, a separate one for each remote procedure.

a stub
b identifier
c name
d process identifier
Medium
View Details β†’
69

What is stub?

a transmits the message to the server where the server side stub receives the message and invokes procedure on the server sid
b packs the parameters into a form transmittable over the network
c locates the port on the server
d all of the mentioned
Medium
View Details β†’
70

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
Medium
View Details β†’
71

What is the full form of RMI?

a Remote Memory Installation
b Remote Memory Invocation
c Remote Method Installation
d Remote Method Invocation
Medium
View Details β†’
72

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
Medium
View Details β†’
73

The initial program that is run when the computer is powered up is called __________

a boot program
b bootloader
c initializer
d bootstrap program
Medium
View Details β†’
74

How does the software trigger an interrupt?

a Sending signals to CPU through bus
b Executing a special operation called system call
c Executing a special program called system program
d Executing a special program called interrupt trigger program
Medium
View Details β†’
75

What is a trap/exception?

a hardware generated interrupt caused by an error
b software generated interrupt caused by an error
c user generated interrupt caused by an error
d none of the mentioned
Medium
View Details β†’
76

What is an ISR?

a Information Service Request
b Interrupt Service Request
c Interrupt Service Routine
d Information Service Routine
Medium
View Details β†’
77

What is an interrupt vector?

a It is an address that is indexed to an interrupt handler
b It is a unique device number that is indexed by an address
c It is a unique identity given to an interrupt
d None of the mentioned
Medium
View Details β†’
78

DMA is used for __________

a High speed devices(disks and communications network)
b Low speed devices
c Utilizing CPU cycles
d All of the mentioned
Medium
View Details β†’
79

In a programmed input/output(PIO) __________

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
Medium
View Details β†’
80

In an interrupt driven input/output __________

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
Medium
View Details β†’
81

In the layered approach of Operating Systems __________

a Bottom Layer(0) is the User interface
b Highest Layer(N) is the User interface
c Bottom Layer(N) is the hardware
d Highest Layer(N) is the hardware
Medium
View Details β†’
82

How does the Hardware trigger an interrupt?

a Sending signals to CPU through a system bus
b Executing a special program called interrupt program
c Executing a special program called system program
d Executing a special operation called system call
Medium
View Details β†’
83

Which operation is performed by an interrupt handler?

a Saving the current state of the system
b Loading the interrupt handling code and executing it
c Once done handling, bringing back the system to the original state it was before the interrupt occurred
d All of the mentioned
Medium
View Details β†’
84

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
Medium
View Details β†’
85

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
Medium
View Details β†’
86

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
Medium
View Details β†’
87

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
Medium
View Details β†’
88

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
Medium
View Details β†’
89

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
Medium
View Details β†’
90

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
Medium
View Details β†’
91

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
Medium
View Details β†’
92

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
Medium
View Details β†’
93

CPU scheduling is the basis of ___________

a multiprocessor systems
b multiprogramming operating systems
c larger memory sized systems
d none of the mentioned
Medium
View Details β†’
94

With multiprogramming ______ is used productively.

a time
b space
c money
d all of the mentioned
Medium
View Details β†’
95

What are the two steps of a process execution?

a I/O & OS Burst
b CPU & I/O Burst
c Memory & I/O Burst
d OS & Memory Burst
Medium
View Details β†’
96

An I/O bound program will typically have ____________

a a few very short CPU bursts
b many very short I/O bursts
c many very short CPU bursts
d a few very short I/O bursts
Medium
View Details β†’
97

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
Medium
View Details β†’
98

In the following cases non – preemptive scheduling occurs?

a When a process switches from the running state to the ready state
b When a process goes from the running state to the waiting state
c When a process switches from the waiting state to the ready state
d All of the mentioned
Medium
View Details β†’
99

What is Dispatch latency?

a the speed of dispatching a process from running to the ready state
b the time of dispatching a process from running to ready state and keeping the CPU idle
c the time to stop one process and start running another one
d none of the mentioned
Medium
View Details β†’
100

Scheduling is done so as to ____________

a increase CPU utilization
b decrease CPU utilization
c keep the CPU more idle
d none of the mentioned
Medium
View Details β†’