gate-os1
gate-os1
gate-os1
Answer -true
(a) Optimal
(b) LRU
(c) FIFO
(d) None of those
Answer-C
Explanation
Belady's anomaly proves that in case of First in First Out
(FIFO) page replacement algorithm it is possible to have
more page faults when increaseing the no of page frames.
Bélády's anomaly is the phenomenon in which increasing
the number of page frames results in an increase in the
number of page faults for certain memory access patterns.
This phenomenon is commonly experienced when using the
first-in first-out page replacement algorithm
3.Match the pairs in the following question.
(Y -
List -I
(a)Virtual Memory
(b)Shared Memory
(c)Look-ahead buffer
(d)look-aside buffer
List -II
(p) Temporal Locality
(q) Spatial Locality
(r) Address translation (s) Mutual exclution
answer
Answer
A-q,B-p,C-r,D-s
Answer -b
7.In a Virtual Memory system, the address space
specified by the address lines of the CPU must be
__________ than the physical memory size and
__________ than the secondary storage size.
A. smaller, smaller
B. smaller, larger
C. larger, smaller
D. larger, larger
Answer - c
explanation :
memory < virtual memory < secondary memory
We can extend VM upto the size of disk(secondary memory).
8.The correct matching for the following pairs is
(A) Disk Scheduling (1) Round robin
(B) Batch Processing (2) SCAN
(C) Time sharing (3) LIFO
(D) Interrupt processing (4) FIFO
(y-1997)
Codes:
A B C D a
3 4 2 1 b 4
3 2 1 c 2 4
1 3 d 3 4 3
2
(A) a
(B) b
(C) c
(D) d
ANSWER-B
explanation :
Typically, the syntax of these characters is as follows,
using < to redirect input, and > to redirect output.
command1 > file1
executes command1, placing the output in file1, as
opposed to displaying it at the terminal, which is the
usual destination for standard output. This will
clobber any existing data in file1.
Using,
command1 < file1
executes command1, with file1 as the source of input, as
opposed to the keyboard, which is the usual source for
standard input.
command1 < infile > outfile
combines the two capabilities: command1 reads from
infile and writes to outfile.
Answer -D
explanation
Scheduler decides that the interrupted process will complete
execution or some other process will be executed.
If the interrupt signaled an I/O completion event, and at the
same time a high priority process came into Ready state then
the scheduler block the interrupted process and dispatch the
high priority process in the running state. If low priority process
comes into Ready state then scheduler dispatch the interrupted
process.
Answer: (C)
Explanation:
1. Thread is handled by CPU.
2. Virtual address space (it is a set of virtual memory
addresses that a process can use) is associated with
memory management.
3. File System is used for disk management.
4. Interrupt is a type of signal.