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 111 โ€“ 120 of 183 Questions
Page 12 of 19
Q111
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ DS and ES Segment Register Allocation for Video RAMEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Both DS and ES can be used to access Video Memory, but programmers commonly keep DS for accessing program data and load ES with the segment of Video Memory.
๐Ÿ’ป assembly Snippet
mov ax, 0xb800
mov es, ax
  1. A.True
  2. B.False
Q112
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Video Attribute Byte Foreground Color EncodingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which bit of the 8-bit text mode Video Attribute byte represents the Blue color component of foreground text?
  1. A.Bit 0
  2. B.Bit 1
  3. C.Bit 2
  4. D.Bit 3
Q113
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ SCAS Destination OperandsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The SCAS instruction compares a source byte or word in register AL or AX with the ________ string element addressed in memory by ES:DI and updates the CPU flags.
๐Ÿ’ป assembly Snippet
scasb
  1. A.Source
  2. B.Destination
  3. C.Flag
  4. D.Register
Q114
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Pointer Decrement on Word PUSHEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When an element is pushed onto the stack in 8088 assembly language, SP is decremented by how many bytes because the 8088 stack operates on word-sized elements?
๐Ÿ’ป assembly Snippet
push ax
  1. A.Three
  2. B.Two
  3. C.Four
  4. D.Five
Q115
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Retrieving Parameters via POPEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When retrieving arguments passed on the stack inside a subroutine, the simplest initial approach is to ________ them off the stack into working registers.
๐Ÿ’ป assembly Snippet
pop ax
  1. A.Push
  2. B.Pop
  3. C.Add
  4. D.Insert
Q116
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Non-Destructive Stack Parameter Access using BP RegisterMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which register and addressing mode are used to access parameters staying on the stack without popping them off?
๐Ÿ’ป assembly Snippet
mov bp, sp
mov ax, [bp+4]
  1. A.BP register with base-plus-offset addressing (e.g., [BP+4])
  2. B.POP instruction directly into AX
  3. C.DS register relative addressing
  4. D.PUSH instruction with immediate values
Q117
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ ASCII Table Hexadecimal Digits RangeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the standard ASCII table, the hexadecimal representations of numeric digits ('0' through '9') are contiguously arranged in which range?
  1. A.31-40
  2. B.29-39
  3. C.30-39
  4. D.40-49
Q118
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ MOVS Memory-to-Memory Transfer MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The purpose of the MOVS instruction is to move data from a memory location directly into a CPU register.
๐Ÿ’ป assembly Snippet
movsb
  1. A.True
  2. B.False
Q119
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ PUSH Instruction MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which instruction decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack now pointed to by SP?
๐Ÿ’ป assembly Snippet
push bx
  1. A.PUSH
  2. B.POP
  3. C.CALL
  4. D.None of the above
Q120
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Pointer Register (SP) RoleEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which 8088 CPU register holds the 16-bit offset memory address pointing directly to the current top of the stack?
  1. A.SP
  2. B.BP
  3. C.AX
  4. D.BX