mcq
mcq
OS
The programmer must design and program the overlay structure.
If one or more devices use a common set of wires to communicate with the computer system,
the connection is called a bus.
Multiprocessor systems have more than one CPU in close communication with the others.
A situation where several processes access and manipulate the same data concurrently, and
the outcome of the execution depends on the particular order in which access takes place is
called a race condition.
Each entry in a translation lookaside buffer (TLB) consists of a page number and frame
number.
On systems where there are multiple operating systems, the decision to load a particular one
is done by the bootloader.
wait and signal are the operations that can be invoked on a condition variable.
Under multiprogramming, turnaround time for short jobs is usually low, and that for long jobs
is slightly higher.
The strategy of making processes that are logically runnable to be temporarily suspended is
called process suspension.
The hardware mechanism that allows a device to notify the CPU is called an interrupt.
Shortest Job Next (SJN) algorithm tends to minimize the process flow time.
Every address generated by the CPU is divided into two parts. They are page number and page
offset.
If the block of the free-space list is free, then the bit will be 0.
Real-time operating system is an operating system that reads and reacts in terms of actual
time.
A process to be executed is selected from the ready queue by the CPU (short-term) scheduler.
Deadlock will happen if the non-recursive mutex is locked more than once.
Higher number of _______ in a system may degrade the performance of the system .
Context switches
Seek time
Job scheduling
LT scheduler, ST scheduler
when a running processes interrupted and the OS assigns another process for execution it is
known as ____and the time required for it is a____
The cause of transfer from ready to running state is ____and from running to ready state is ___
Scheduler dispatch, interrupt
Busy waiting
_______can be defined as the IPC mechanisms that notify the exceptional condition and alarms
Signal
semaphores
Do{
wait(full);
wait(mutex);
………………………………
signal(mutex);
signal(empty);
………
………….
} while(1);
Which invokes it
deadlock avoidance
O(N)
the semaphore whose value is zero or one is binary and which takes the value greater than 1 is
counting semaphore
____ is to load only those pages in the memory that are needed at an instant time of execution
demand paging
three processes P1 p2p3 of sizes 67000, 6500o and 60000 bytes respectively need space in
memory. 3 equal partitions of size 70000 byte is there be any fragmentation how much
Internal, 18000
there is system with 64 pages 512 bytes size and a physical memory of 32 frames how many
bytes are required in the logical and physical address
15, 14
seek time is
initial disc head is in cylinder number 23. disc Q with IO request 44, 15,34…. number of disk
head movement using sstf is
37
___ disc scheduling algorithm eliminates unnecessary seek operations and their by increases
average response time
LOOK
________ is the time taken by address sector of the appropriate track to rotate into a position
such that read/write head is accessible to it
Rotational latency
Ready q
the addresses
volatile
initial disc head is in cylinder number 23. disc Q with IO request 54, 97,73…. number of disk
head movement using fcfs is
98
throughput
in a symmetric clustering other machines perform operation file one machine is
while(S<=0);
S- -;
Wait
in research allocation graphic cycle is the necessary and sufficient condition for deadlock if
resources are
single instance
when a process is assigned the processor it is allowed to execute up to its completion it is called
dash and if the process is dash
the strategy of making processes that logically unable to be temporary suspended is called
preemptive schedule
that can be used by one process at a time and is not depleted by that use
Do{
wait(full)
wait(mutex)
signal(empty)
} while(1)
n,0