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 131 โ€“ 140 of 183 Questions
Page 14 of 19
Q131
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack LIFO Behavior and Reverse Removal OrderEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Elements are removed from the stack in the reverse order of their addition.
๐Ÿ’ป assembly Snippet
push ax
push bx
pop bx
pop ax
  1. A.True
  2. B.False
Q132
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ PUSH Instruction Stack Pointer OperationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Executing 'PUSH AX' increments the stack pointer as SP <-- SP + 2 and then writes AX to [SS:SP].
๐Ÿ’ป assembly Snippet
push ax
  1. A.True
  2. B.False
Q133
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Operation Terminology (Push and Pop)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The fundamental operations of placing items onto the stack and removing items from the stack are called 'push' and 'ret'.
๐Ÿ’ป assembly Snippet
push ax
pop ax
  1. A.True
  2. B.False
Q134
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Memory Architecture for SubroutinesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A ________ is an area of computer memory that holds local variables and parameters used by functions and maintains the call sequence so function returns occur correctly.
  1. A.Instruction Pointer
  2. B.Stack
  3. C.Data Segment
  4. D.Base Register
Q135
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ First-In Last-Out (FILO) Stack PrincipleEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The stack is a fundamental linear data structure that operates in a First-In, Last-________ manner.
  1. A.In
  2. B.Out
  3. C.Push
  4. D.Add
Q136
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ RET Instruction Mechanics and IP RestorationMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The RET instruction does NOT pop the word at the top of the stack into the Instruction Pointer (IP), but only increments SP by two.
๐Ÿ’ป assembly Snippet
ret
  1. A.True
  2. B.False
Q137
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Hardware IRQ ConflictsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When two hardware expansion devices in a PC attempt to utilize the same physical IRQ line simultaneously without bus-sharing support, what condition occurs?
  1. A.An IRQ Conflict
  2. B.An IRQ Crash
  3. C.An IRQ Collision
  4. D.An IRQ Blockage
Q138
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ 8259 PIC Control Port AddressEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the primary 8259 Programmable Interrupt Controller (PIC 1), which I/O port address is used as the control/command port?
๐Ÿ’ป assembly Snippet
out 0x20, al
  1. A.19
  2. B.20
  3. C.21
  4. D.22
Q139
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Hard Disk First Sector and Partition TableEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What critical system data structure is located within the first sector (LBA 0) of a partitioned hard disk drive?
  1. A.Hard disk size
  2. B.Partition table
  3. C.Data size
  4. D.Sector size
Q140
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Serial COM 2 Hardware IRQ AssignmentEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware IRQ line is assigned to serial communications port COM 2 in PC architecture?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3