Professional Documents
Culture Documents
<process-id,
Under a inverted page table, a <process-id, pg no, frame no,
41 virtual address is represented as offset> <pgno, offset> <frame no, offset> offset> 1
Given the memory partitions of
a.100, b.500,c.200, d. 300 and e.
600 in KBs, choose the correct
order of partition selections
under first fir, bestfit and worst
42 fit for the requirement of 150 KB a, c, b b, c, e d,c,a b, a, d 2
Which of the following bits is
helpful in minimizing the
swapping time under page
43 replacement Valid bit Interrupt bit Dirty bit Reference bit 3
A disk has 201 tracks from 0 to
200. Disk arm is at 100 &
requests for 30, 85, 90, 100, 105,
110, 135 and 145 to be served. If
SSTF is , the request for 90 is
44 serviced after ___ no of requests. 0 1 2 3 4
Scan serves requests Sacn reach the edge Scan is comparble to
Which one of the folliwing is in both direction, bu of the disk but C-scan elevator whereas C-
incorrect as the difference C-Scan serves in one stops with last Scan is comparable All are correct
45 between SCAN and C-SCAN direction request to a circular Q only 2
For each processor core that is
physically present, the OS
addresses two virtual (logical)
cores and shares the workload
between them when possible.
This technique of Intel s called as
46 ___ VirtualCores CoreBoosting HyperThreading VirtualMachine 3
Sequential ordering of resources
is followed to prevent deadlock
by prevending circular wait. Then
which one of the following
processes are making illegal
requests: P1: Ra Rc. P2: Rb Rc None of them
47 P3:Rc Rb P1 P2 P3 is illegal 3
Consider that there are N pages
in the pool and the application
executing a loop over the array
of N pages. Which pg
replacement algo is likely to
48 produce lesser pg faults? LRU MFU MRU LFU 3
In Unix, the system processess
that are automatically created to
provide services and run as
background processes are
49 termed as __ Daemon Init BIOS Zombie 1
Which type of process is likely to
be benefitted when the time
quantum is chosen to be smaller
for the Round Robin CPU
50 scheduling algorithm? CPU bound IO bound Neither Neutral 2
If minimizing response time is
the objective then which
scheduling algorithm should be
51 selected? FCFS RR SPN SRT 2
Inter-thread
communication A thread
Which one of the following is They are created with Thread switching happens withput making a
wrongly mentioned as a the help of thread does not incur mode the support of system call will
52 characteristic of ULT? libraries switching kernel be blocked 4
Which one of the following
category of computer systems is
53 not implemented anywhere? SISD SIMD MISD MIMD 3
Consider three processes
requiring 10, 20 and 30 time
units and arrive at times 0, 2 and
6. How many context switches
will occur under SRT?
else { a = a –5; printf(“%d, %d\n”,
54 a, &a); 1 2 3 4 2
Amdahl's law that is used in
parallel computing to predict the
theoretical speedup when using
multiple processors is S
55 latency(S)=___ 1/(1-p)+p/s 1/(1-p)+s/p 1/(1-s)+p/s 1/p+(p-s) 1
Which one of the following can
NOT be said to be a hazard in a
instruction pipeline?. ( A hazard
is one that prevents the next
instruction in the pipeline to be The result of first
executed in the following clock instruction used in An IO
56 cycle) A cache miss A branch instruction second ins operation 4
If LRU with additional ref bits
algorithm is used for page
replacement then which one of
the pages with the given
reference bits will be replaced
57 next? 11000100 10000000 01110111 11111110 2
What is the basis for the working
set strategy by which a process is
allocated sufficient no of frames
58 to prevent it from thrashing? Demand paging Virtual memory Locality of reference Process affinity 3
Keep track of the
page fault frequency
Allocate as many Employ local & dynamically
Which one of the following is a frames as per the alocation instead of allocate addnl All of the
59 strategy to reduce page faults? working set global frames above 4
If minimizing context switching is
the top priority of CPU
scheduling then which one of the
60 given algo is the least suitable? FCFS RR SPN HRRN 2
In the dinning philosopher's
problem with 5 philosophers, the
minimum no of forks that would
avoid a deadlock without
requiring any concurrency
61 control mechanism is 5 6 10 9 2
s is semaphore variable
initialized to 1. Then what will be
the value of s at the end of the
following calls. P1: Wait(s) P2:
Wait(s) P3: Wait(s) P1: Signal(s)
P2:Signal(s) P4: Wait(s) P1:
62 Wait(s) -2 -1 0 Indeterminable 4
In a round robin based time
shared system, a running process
goes to __ state after its time
63 quantum is over Blocked Ready Suspended Exit 2
Physical memory is 32 bytes,
page size is 4 bytes ( 8 frames).
Pages start from 0.. Then logical
64 address 9 is Page 3 Offset 0 Page 2 Offset 1 Page 3 Offset 1 Page 2 Offset 0 3
Physical memory is 32 bytes,
page size is 4 bytes. A total of 8
frames from 0 to 7 exist. Given
that process size is 6 bytes then None of the
65 logical address 6 is Invalid Valid Page fault above 1
The term associative memory or Unlike RAM, data Designed to search Each memory bit
content addressable memory words are searched its entire memory in must have a All of the
66 implies instead of addresses a single operation comparison circuit above 4
In which of the following
operations, the scheduler is not Process requests for Process finishes Process finishes its All of the
67 called into play? I/O. execution. time allotted. above 4
Both mode and
When a process requests for I/O Only process switch Only mode switch process switch No switch
68 __ occurs occurs occurs occurs 3