Ch 15: 32-Bit Protected Mode Architecture

173 Questions173 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 71 โ€“ 80 of 173 Questions
Page 8 of 18
Q71
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Protected Mode Segment Selector TI BitMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Protected Mode segment selectors, what value must the Table Indicator (TI) bit be set to in order to select the Global Descriptor Table (GDT)?
  1. A.1
  2. B.0
  3. C.-1
  4. D.-2
Q72
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Protected Mode Definition and CR0 RegisterMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Define Protected Mode in x86 architecture and explain how it is enabled and its memory addressing capabilities.
๐Ÿ’ป assembly Snippet
mov eax, cr0
or eax, 1
mov cr0, eax
Q73
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Segment Descriptor Fields (Granularity and Present Bits)Hard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Read the following passage regarding x86 Segment Descriptors in Protected Mode and fill in the missing terms: 'In descriptors, the 32-bit base is scattered into different places for backward compatibility. The limit is stored in 20 bits, but the [Blank 1] defines whether the limit is in terms of single bytes or 4 KB pages, allowing a maximum segment size of 4 GB. The [Blank 2] bit must be set to signal that this segment is currently present in physical RAM. DPL is the Descriptor Privilege Level, defining protection levels (0-3).'
Q74
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Protected Mode Segment Descriptor Attribute BitsHard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Read the passage carefully and fill in the blanks with the correct segment descriptor attribute bits (G bit, P bit, D bit, C bit, R bit, A bit): 'In descriptors, the 32-bit base address is scattered across different fields for backward compatibility. The limit is stored in 20 bits, but the [Blank 1] defines whether the limit is in terms of bytes or 4 KB pages (allowing up to 4 GB). The [Blank 2] must be set to signal that the segment is present in memory. DPL is the Descriptor Privilege Level. The [Blank 3] defines whether the segment executes code in 16-bit or 32-bit mode. The [Blank 4] is the conforming bit. The [Blank 5] signals that the segment is readable, and the [Blank 6] is automatically set whenever the segment is accessed.'
Q75
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Interrupt Descriptor Table Register (IDTR)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 Protected Mode, which processor register holds the 32-bit linear base physical address and 16-bit limit size of the Interrupt Descriptor Table (IDT)?
๐Ÿ’ป assembly Snippet
lidt [idt_ptr]
  1. A.GDTR
  2. B.IDTR
  3. C.IVT
  4. D.IDTT
Q76
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Protected Mode Segment Descriptor Structure (Bits 0-15 Limit)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 Protected Mode, what information is stored in the first 16 bits (bits 0โ€“15) of an 8-byte Segment Descriptor?
Q77
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ Interrupt Descriptor Table Register (IDTR)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Protected Mode x86 architecture, which processor register stores the 32-bit linear base address and 16-bit limit of the Interrupt Descriptor Table (IDT)?
๐Ÿ’ป assembly Snippet
lidt [idt_ptr]
  1. A.GDTR
  2. B.IDTR
  3. C.IVT
  4. D.IDTT
Q78
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ 32-Bit Linear Memory Addressing Range (4 GB)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 80386 Protected Mode, a 32-bit address register can directly address up to how much linear physical memory?
  1. A.2 GB
  2. B.4 GB
  3. C.6 GB
  4. D.8 GB
Q79
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ 32-Bit Linear Address Space (4 GB)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Protected Mode, a 32-bit address register can directly address up to how much linear memory?
  1. A.2 GB
  2. B.4 GB
  3. C.6 GB
  4. D.8 GB
Q80
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 15๐Ÿท๏ธ x86 Protected Mode Segment DescriptorsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Give the names and primary functions of any two segment descriptors used in x86 Protected Mode architecture.