Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Chapter: 32
Q881:
When a program is executed in a paging system, the CPU generates a _______ to reference the memory.
A. logical address
B. physical address
C. virtual address
D. none of the above
Correct Answer:
A
Chapter: 32
Q882:
What type of fragmentation is eliminated by paging?
A. Internal fragmentation
B. External fragmentation
C. None of the above
D. Both A and B
Correct Answer:
B
Chapter: 32
Q883:
In the page table, the entry stores the _______ where the page is loaded in memory.
A. Segment number
B. Frame number
C. Memory offset
D. Page number
Correct Answer:
B
Chapter: 32
Q884:
Which memory management technique allows a program's physical address space to be non-contiguous?
A. Paging
B. MVT
C. Fixed partitioning
D. None of the above
Correct Answer:
A
Chapter: 32
Q885:
Which of the following is true about memory management in MVT?
A. Memory partitions are fixed-sized
B. Internal fragmentation is minimized
C. External fragmentation is completely eliminated
D. Processes can change in size
Correct Answer:
B
Chapter: 32
Q886:
A logical address in a paging system consists of a _______ and a _______.
A. page number, frame offset
B. page number, page offset
C. process number, page offset
D. page offset, frame number
Correct Answer:
A
Chapter: 32
Q887:
The main problem solved by paging is _______.
A. External fragmentation
B. Internal fragmentation
C. Address translation issues
D. Memory leak
Correct Answer:
A
Chapter: 32
Q888:
Which of the following refers to the memory management scheme used to divide memory into fixed-size blocks?
A. Paging
B. MVT
C. Segmentation
D. Fixed partitioning
Correct Answer:
A
Chapter: 32
Q889:
Which address space is divided into pages?
A. Physical address space
B. Logical address space
C. Segment address space
D. All of the above
Correct Answer:
B
Chapter: 32
Q890:
The logical address consists of the page number and _______.
A. page offset
B. frame number
C. segment offset
D. none of the above
Correct Answer:
B
Chapter: 33
Q891:
n paging, the high-order bits of a logical address designate the ______.
A. page number
B. page offset
C. frame number
D. address space
Correct Answer:
A
Chapter: 33
Q892:
The size of the page table in a paging system is determined by the ______.
A. number of pages
B. page size
C. number of frames
D. page table entry size
Correct Answer:
A
Chapter: 33
Q893:
In the Intel P4, the page size is ______.
A. 8K
B. 4K
C. 2K
D. 16K
Correct Answer:
B
Chapter: 33
Q894:
The number of bits needed for page offset in a 4K page is ______ bits.
A. 8
B. 10
C. 12
D. 14
Correct Answer:
C
Chapter: 33
Q895:
The formula for calculating the page table size is ______.
A. NP * PTES
B. NP * PTES * f
C. NP + PTES
D. NP * f
Correct Answer:
A
Chapter: 33
Q896:
In PDP-11, the number of bits for the page number is ______.
A. 12
B. 10
C. 3
D. 16
Correct Answer:
C
Chapter: 33
Q897:
The logical address space in the Intel P4 is ______.
A. 2^32
B. 2^16
C. 2^64
D. 2^24
Correct Answer:
A
Chapter: 33
Q898:
The TLB (Translation Look-aside Buffer) has typically ______ entries.
A. 128-2048
B. 64-1024
C. 1000-2000
D. 512-1024
Correct Answer:
B
Chapter: 33
Q899:
Paging in PDP-11 uses a ______ bit page offset.
A. 10
B. 12
C. 13
D. 16
Correct Answer:
C
Chapter: 33
Q900:
In a paging system, a TLB hit occurs when ______.
A. the page number is found in the page table
B. the page table is searched
C. the entry is found in the TLB
D. the page size is matched
Correct Answer:
C