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 161 โ€“ 170 of 183 Questions
Page 17 of 19
Q161
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ SS:SP Logical Stack Register PairEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, which default segment and register pair is used to address the active stack frame?
  1. A.SS:SI combination
  2. B.SS:SP combination
  3. C.ES:BP combination
  4. D.ES:SP combination
Q162
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ RET Instruction Execution and Stack Pointer ModificationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After the execution of a near RET (Return) instruction in 8088 assembly language, how is the Stack Pointer (SP) register modified?
๐Ÿ’ป assembly Snippet
ret
  1. A.SP is incremented by 2
  2. B.SP is decremented by 2
  3. C.SP is incremented by 1
  4. D.SP is decremented by 1
Q163
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Video Memory Word Layout (ASCII vs Attribute Byte)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 80x25 text mode Video RAM, what information is stored in the second byte (higher byte) of the 16-bit word assigned to each screen character cell?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741
  1. A.The dimensions of the screen
  2. B.Character position on the screen
  3. C.Character color on the screen (Attribute byte)
  4. D.ASCII code of the character
Q164
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ REP Prefix Counter Decrement OperationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
During block processing string instructions, how does the hardware REP prefix modify the CX counter register after each execution step?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.Increment CX by 1
  2. B.Increment CX by 2
  3. C.Decrement CX by 1
  4. D.Decrement CX by 2
Q165
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ SCAS String Comparison MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What fundamental operation does the SCAS (Scan String) instruction perform in 8088 assembly language?
๐Ÿ’ป assembly Snippet
scasb
  1. A.Compare AL/AX register with destination memory addressed by ES:DI
  2. B.Search disk directories for matching file names
  3. C.Sort array elements in memory sequentially
  4. D.Move data blocks between memory segments
Q166
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ 20-Bit Physical Address Wraparound MechanismMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the term for the 8088 real mode memory mechanism that drops the 21st carry bit when a physical address calculation exceeds 1 MB (0xFFFFF)?
  1. A.Carry Overload
  2. B.Address Wraparound
  3. C.Overflow Exception
  4. D.Segment Override
Q167
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Validity of Register Indirect Memory Addressing ModesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: In 8088 assembly language, subtracting an index register from a base register (e.g., [BX - SI]) is an invalid indirect memory addressing mode.
๐Ÿ’ป assembly Snippet
mov ax, [bx+si]
  1. A.True
  2. B.False
Q168
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Physical Address Calculation FormulaEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8088 segmented memory model, calculating a 20-bit physical memory address relies on combining the shifted Segment Base Address with which value?
  1. A.Base address
  2. B.Effective address (Offset)
  3. C.Index address
  4. D.Instruction pointer only
Q169
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ CMP Instruction Implied Subtraction OperationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which internal arithmetic operation is performed by the CMP instruction to update CPU status flags without modifying operands?
๐Ÿ’ป assembly Snippet
cmp ax, bx
  1. A.Addition
  2. B.Division
  3. C.Subtraction
  4. D.Multiplication
Q170
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Segment (SS) Implicit Register Associations (SP and BP)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which CPU registers are by default implicitly associated with the Stack Segment (SS) register in 8088 architecture?
๐Ÿ’ป assembly Snippet
mov ax, [bp+4]
  1. A.BP and SP
  2. B.IP and CS
  3. C.SI and DS
  4. D.DI and ES