UGC NET JULY 2018 (Computer Science And Applications Paper-II) (Question 56-58)
Q 56. Which of the following statements are true ?
(a) External Fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous.
(b) Memory Fragmentation can be internal as well as external.
(c) One solution to external Fragmentation is compaction.
Code:
(A) (a) and (b) only
(B) (a) and (c) only
(C) (b) and (c) only
(D) (a), (b) and (c)
Answer : (C) (b) and (c) only
Explanation:
External Fragmentation exists when there is enough total memory
space to satisfy a request but the available space is contiguous. This
is a false statement because external fragmentation occurs due to non contiguous available space.
Memory Fragmentation can be internal as well as external.True
One solution to external Fragmentation is compaction or shuffle memory contents.True
Q 57. Page information in memory is also called as Page Table. The essential contents in each entry of a page table is/are _________.
(A) Page Access information
(B) Virtual Page number
(C) Page Frame number
(D) Both virtual page number and Page Frame Number
Answer : (C) Page Frame number
Explanation: Page information in memory is also called as Page Table. The essential contents in each entry of a page table is page frame number. (i.e. Frame Number is essential in page table.)
Q 58. Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are_________.
(A) 5
(B) 7
(C) 9
(D) 10
Answer : (B) 7
Explanation: Page replacement diagram for LRU:
Q 56. Which of the following statements are true ?
(a) External Fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous.
(b) Memory Fragmentation can be internal as well as external.
(c) One solution to external Fragmentation is compaction.
Code:
(A) (a) and (b) only
(B) (a) and (c) only
(C) (b) and (c) only
(D) (a), (b) and (c)
Answer : (C) (b) and (c) only
Explanation:
Q 57. Page information in memory is also called as Page Table. The essential contents in each entry of a page table is/are _________.
(A) Page Access information
(B) Virtual Page number
(C) Page Frame number
(D) Both virtual page number and Page Frame Number
Answer : (C) Page Frame number
Explanation: Page information in memory is also called as Page Table. The essential contents in each entry of a page table is page frame number. (i.e. Frame Number is essential in page table.)
Q 58. Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are_________.
(A) 5
(B) 7
(C) 9
(D) 10
Answer : (B) 7
Explanation: Page replacement diagram for LRU:
0 comments:
Post a Comment