Ch 17: Secondary Storage and Device Drivers

183 Questions183 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 51 โ€“ 60 of 183 Questions
Page 6 of 19
Q51
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Microcode Execution Steps for INT N and IRET InstructionsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the microcode execution steps of the 'INT N' and 'IRET' instructions in 8088 architecture, correcting any stack pointer direction errors in pseudo-code.
๐Ÿ’ป assembly Snippet
int 0x21
iret
Q52
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Interrupt Vector Table Size and Fixed Address Space CalculationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Calculate the exact memory size occupied by the Interrupt Vector Table (IVT) in the 8088 architecture, specifying its fixed physical memory address range and why its position is standardized.
Q53
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ INT 0 Divide Error Interrupt Mechanics and Return Address BehaviorMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the operation of INT 0 (Divide by Zero / Divide Error Interrupt) in 8088 assembly language, highlighting how its return address behavior differs from standard software interrupts.
๐Ÿ’ป assembly Snippet
mov ax, 100
mov bl, 0
div bl
Q54
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ INT 1 Trap Interrupt and Single-Step Debugging via Trap Flag (TF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how INT 1 (Single Step / Trap Interrupt) and the Trap Flag (TF) work together in 8088 architecture to support interactive software debuggers.
๐Ÿ’ป assembly Snippet
pushf
pop ax
or ax, 0x0100
push ax
poplf
Q55
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Maskable (INTR) vs Non-Maskable (NMI) Hardware InterruptsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Differentiate between maskable interrupts (INTR pin) and non-maskable interrupts (NMI pin / INT 2) in 8088 microprocessor hardware.
๐Ÿ’ป assembly Snippet
cli
sti
Q56
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ INT 3 Single-Byte Opcode and Debugger BreakpointsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What makes the INT 3 debug instruction unique among x86 software interrupts, and how do debuggers use it to implement instruction breakpoints?
๐Ÿ’ป assembly Snippet
int 3
Q57
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ INT 4 and Conditional INTO InstructionEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the condition required to trigger INT 4 and describe the behavior of the INTO instruction in 8088 assembly language.
๐Ÿ’ป assembly Snippet
add al, bl
into
Q58
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ INT 3 Machine OpcodeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which opcode byte represents the single-byte INT 3 breakpoint instruction in x86 assembly language?
  1. A.0xCC
  2. B.0xCD
  3. C.0xCF
  4. D.0x90
Q59
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Microprocessor Address Bus Calculation and Memory CapacityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a computer system features 4 GB of addressable physical RAM, calculate the exact number of address bus lines ($N$) required by the microprocessor to access every memory byte location.
Q60
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Microprocessor System Bus Architecture (Address, Data, Control)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Compare the Address Bus, Data Bus, and Control Bus in microprocessor system architecture regarding their function, data flow directionality, and bit width characteristics.