(PastPaper F20) BIT - F18 - NC - M - OPERATING - SYSTEMS
(PastPaper F20) BIT - F18 - NC - M - OPERATING - SYSTEMS
03. 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. Starvation.
B. Race Condition.
C. Convoy Effect.
D. data inconsistency.
Answer: B
08. Consider a 64-bit logical address space with 8M page size. Number of bits
required for p is?
A. 41.
B. 32.
C. 40.
D. 23.
Answer: A
09. Consider a logical address space of 32-bit and page size of 4K. Page table
entry size is 4 bytes. Maximum pages in the process address space is?
A. 4M.
B. 2M.
C.16M.
D. 1M.
Answer: D
10. Consider a logical address space of 32-bit and page size of 4K. Page table
entry size is 4 bytes. Level of paging required in this case is?
A. 4-level.
B. 2-level.
C. 3-level.
D. 1-level is enough.
Answer: B
11. Consider a machine with 64 MB physical memory and a 32 bit virtual address
space. If the page size is 4 KB, what is the approximate size of the page table?
A. 8MB.
B. 2MB.
C. 16MB.
D. 32 MB.
Answer: B
12. Consider a machine with 64 MB physical memory and a 32 bit virtual address
space. If the page size is 4 KB, number of bits required for frame number is?
A. 14.
B. 20.
C. 12.
D. 10.
Answer: A
13. Consider a machine with 64 MB physical memory and a 32 bit virtual address
space. If the page size is 4 KB, number of bits required for page number is?
A. 12.
B. 20.
C. 10.
D. 14.
Answer: B
14. Deadlock can never occur if no process is allowed to hold a resource while
requesting another resource?
A. Holding a Resource is Not Related to Deadlock
B. Yes.
C. Only Starvation Will Occur But no Possibility of Deadlock
D. No.
Answer: B
17. If memory access time is 100 nsec and we have this equation EAT=100* (1-p) +
15120000*p. Suppose the p is 2%. The system of slow down by approximately?
A. insufficient information.
B. 3025.
C. 1530.
D. 6096.
Answer: A (maybe)
18. If T-mem=100 nsec and T-TLB=2O nsec and the HIT RATIO 1598%. What 1sT-
effective?
A. 200.
B. 112 nsec.
C. 102.
D. 122 nsec.
Answer: D
19. If the Base and Limit registers of a process contain 400 and 300 respectively,
then the range of the valid addresses will be?
A. 400-699.
B. 401-699.
C. 300-500.
D. 400-700.
Answer: A
22. In inverted page table, the entry of page table consists of?
A. pid,f.
B. only frame number.
C. pid,p.
D. pid,d.
Answer: C
25. In paged segmentation1 consider logical address space of 34 bits, page size =1
KB, s=18 bits and d=16 bits. Bits required for d' are?
A. 6.
B. 16.
C. 18.
D. 10.
Answer: D
28. In SRTF, if a process Pus running and another process P2 arrives with shorter
burst time?
A. P1 will continue to run.
B. P1 will be preempted and P2 will start running.
C. P2 will wait untill Pu terminates.
D. P1 will be terminated.
Answer: B
30. In writing solution for critical section problem, we take care of all except?
A. Mutual Exclusion.
B. Progress
C. Zombie Processes.
D. Bounded Wait
Answer: C
32. Let we have an integer variable var. ÷ +var or --var will not cause any issue
if page fault occur during execution of these instructions?
A. None of the above.
B. Not sufficient information.
C. False.
D. True.
Answer: B
34. Priority scheduling algorithms usually cause starvation, one of the possible
solution of starvation is?
A. Aging.
B. Another Fork is Needed.
C. Convoy Effect.
D. Thrashing.
Answer: A
36. Suppose 3 processes arrive in order P1, P2, P3 at time = 0, with Cpu time (in
ns) P1=3, P2=4, P3=6. The turn around time of P2 using RR with Time Quantum: 2 ns
will be?
A. 10.
B. 7.
C. 8.
D. 9.
Answer: D
41. The information about number of files opened by a process is stored in?
A. KB.
B. PPFDT.
C. System Tabla
D. mode Table.
Answer: B
44. __________ process can’t be killed by a signal, not even with the silver bullet
(SIGKILL)?
A. Zombie.
B. A Process Created Using vfork.
C. Child.
D. Orphan.
Answer: A