Ch 07: Video Memory & Screen Display

264 Questions264 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 211 โ€“ 220 of 264 Questions
Page 22 of 27
Q211
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ SCAS Instruction FunctionalityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the primary architectural function of the 'SCAS' (Scan String) instruction?
๐Ÿ’ป assembly Snippet
scasb
  1. A.Compare the accumulator with a target memory byte or word
  2. B.Sort an array of string elements in memory
  3. C.Move data blocks between memory segments
  4. D.Clear video display memory
Q212
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ SCAS Subtraction MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which mathematical operation is executed internally during the execution of the 'SCAS' (Scan String) instruction?
๐Ÿ’ป assembly Snippet
scasb
  1. A.Division
  2. B.Multiplication
  3. C.Addition
  4. D.Subtraction
Q213
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ Direction Flag (DF) and String Auto-DecrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a string memory operation processes string elements in reverse direction from higher memory addresses toward lower memory addresses, what is the state of the Direction Flag (DF)?
๐Ÿ’ป assembly Snippet
std
movsb
  1. A.ZF is cleared
  2. B.DF is cleared
  3. C.ZF is set
  4. D.DF is set
Q214
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ String Operations and Index Registers (SI / DI)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is used to hold memory offset addresses in x86 string instructions?
๐Ÿ’ป assembly Snippet
movsb
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI
Q215
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ CLD Instruction and Direction FlagEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which assembly language instruction is used to clear the Direction Flag (DF = 0) for auto-incrementing string operations?
๐Ÿ’ป assembly Snippet
cld
  1. A.CLD
  2. B.CLRD
  3. C.CL DF
  4. D.CLR DF
Q216
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ STOSW String Word Mechanics and Pointer IncrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
During the execution of the STOSW (Store String Word) instruction, when the Direction Flag is cleared (DF = 0), how is the Destination Index (DI) register modified?
๐Ÿ’ป assembly Snippet
cld
stosw
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q217
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ Memory-to-Memory Data Transfer via String InstructionsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 assembly language architecture, which class of instructions explicitly permits direct memory-to-memory data transfers?
๐Ÿ’ป assembly Snippet
movsb
  1. A.String instructions
  2. B.Word instructions
  3. C.Indirect instructions
  4. D.Stack instructions
Q218
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ MOVS String Instruction Index Register UpdatesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After the execution of a MOVS (Move String) instruction, which index registers are automatically updated (incremented or decremented)?
๐Ÿ’ป assembly Snippet
movsb
  1. A.SI only
  2. B.DI only
  3. C.SI and DI only
  4. D.SI, DI and BP only
Q219
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ STOSB String Instruction and Index Register Auto-IncrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the STOSB (Store String Byte) instruction with the Direction Flag cleared (DF = 0), how is the Destination Index (DI) register modified?
๐Ÿ’ป assembly Snippet
stosb
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q220
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ String Repetition Prefix (REP)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which assembly instruction prefix is used to repeatedly execute a string instruction for the count specified in register CX?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.REP
  2. B.REPEAT
  3. C.REPB
  4. D.REPE