Operating System MCQS
Operating System MCQS
* Physical Address
* Logical Address
The run-time mapping from virtual to physical address User program never sees the real physical address
is done by the
True
False
* MMU (Memory Management Unit)
* True
The variant of swapping is sometime called roll out, The interrupt vector is often in the low memory or
roll in high memory
True
False * Low Memory
* True
The degree of multiprogramming is bound by the The page of times that a page number is found in the
member of partitions associative register is called what?
* True
Associative registers are also known as Swapping can also be combined with
The request and release of resources are through Not all useful states are deadlocks
system calls
True
True False
False
* True
* True
UNIX is one those Operating Systems (OS) that If all resources have only a single instance, then we
initially was limited by Hardware functionality can define a deadlock detection algorithm that uses a
varient of the resources allocation graph called what
True
False * wait for graph
* True
Name the two ways by which we can remove What is resource preemption?
deadlocks.
* in resource preemption, we successively
preempt some resources from processes and
* Process Termination and give these resources to other processes until
Resource Preemption the deadlock cycle is broken.
Associative registers are also known as Swapping can also be combined with
The request and release of resources are through Not all useful states are deadlocks
system calls
True
True False
False
* True
* True
UNIX is one those Operating Systems (OS) that If all resources have only a single instance, then we
initially was limited by Hardware functionality can define a deadlock detection algorithm that uses a
varient of the resources allocation graph called what
True
False * Wait for graph
* True
Name the two ways by which we can remove What is resource preemption?
deadlocks.
* in resource preemption, we successively
preempt some resources from processes and
* Process Termination and give these resources to other processes until
Resource Preemption the deadlock cycle is broken.
What are the three issues that must be considered What are four necessary conditions that must hold
when using resource preemption to deal with simultaneously to create a deadlock?
deadlocks?
* Mutual Exclusion
* selecting a victim Hold and wait
Roll back and No Preemption and
Starvation Circular wait
In the OS (Operating System) each process is Name any two functions of a dispatch
represented by?
* Switching Content
* Process Control Block (PCB) Switching to user mode
Jumping to the proper location in the user
program to restart that program
The time it takes for the dispatcher to stop one process LIFO stands for
and start another running is known as:
* Last In First Out
* Dispatch Latency
The number of processes that are completed per time Response time is the amount of time it takes to output
is called that response and not the time it takes to start
responding
* Throughput True
False
* False
The simplest CPU scheduling algorithm is: The sum of periods spent waiting in the Ready Queue
Is known as:
True
False * Shortest Job First Scheduling
* True
SJF algorithm is a special case of the general priority SJF algorithm can not be preemptive
scheduling
True
True False
False
* False
* True
* True
A time quantum is generally from 10 to 100 seconds The performance of RR algorithm depends heavily on
the
True
False
* Size of time quantum
* False
What happens in a multi level queue-scheduling Every thing below the system call interface and above
algorithm? the physical hardware is
The main advantage of layered approach is Modularity A major difficulty with virtual machine approach
involves disk system
True
False True
False
* True
* True
The virtual machine software can run in monitor mode The virtual machine itself can only run in which of the
following
True
False
Monitor mode
* True User Mode
Name any three major categories of system calls A disk that contains a boot partition is called
* memory
* clock * SYSGEN
Name the software generated interrupt for the purpose Electronic disk are faster than magnetic disk
of requesting OS for a various services.
* trap * true
what is the other name of Control card interrupter Language defined to replace assembly language for
system program allow system call to be made directly
other than “C” or “C++”
* command line interrupter or shell
* Bliss, PL/360
* * False
1) Pass parameter in a register
2) Store the parameter in a table in memory;
and the address is passes as a parameter in
a register.
3) Push the parameter into the stack by the
program, and pop off the stack by the OS.
Give the name of the three algorithms that are used for
it is possible to combine all the holes into one big by page replacement.
moving all the process downward as for as possible.
This technique is known as----------------
*
1) Not recently used page replacement
* Memory Compaction algorithm
2) FIFO (first in first out)
3) Second chance page replacement algorithm
Clock page replacement algorithm
Least recently used page replacement algorithm
*Clock
*true
Skipping blocks to give the controller time to transfer UART stands for
data to memory is called what * Universal Asynchronous Receiver Transmitter
*Interleaving
* false
Short term scheduler also known as
What is the other name of Long term scheduler
* CPU scheduler
* Job scheduler
Symmetric Clustering:
All N hosts are running the application.
IPC facilitates two type of operation. What are those? What does HPFS stands for
* Send message
Receive message * High performance file system
Non-blocking message passing is also known as Swap space can be managed through separate disk
partition.
* Asynchronous * true
* copy on write
* Effective address time
* false * false
* false
* True
The rate at which page are scanned is called -------- System commander is boot menu or boot loader.
Address space
Do u agree with the statement that DOS (disk
operating system) does not provide Virtual memory paging, in which the operating system attempts to
anticipate which data will be needed next
* Yes
* Anticipatory paging