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 201 โ€“ 210 of 264 Questions
Page 21 of 27
Q201
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ MOVS String Instruction and Pointer Auto-IncrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After the execution of a MOVS (Move String) instruction, which of the following index registers are automatically updated?
๐Ÿ’ป assembly Snippet
movsb
  1. A.SI only
  2. B.DI only
  3. C.SI and DI only
  4. D.SI, DI, and BP only
Q202
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ REP String Instruction PrefixEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which special instruction prefix is used in assembly language to repeat string operations for a count specified in register CX?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.REP
  2. B.REPEAT
  3. C.REPB
  4. D.REPE
Q203
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ String Operations and Index Registers (SI and DI)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is used to access source and destination memory locations in x86 string operations?
๐Ÿ’ป assembly Snippet
movsb
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI
Q204
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ REP Prefix and Count Register (CX) Decrement MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a string instruction is executed with the REP prefix (such as REP STOSW), how is the Count Register (CX) updated during each iteration?
๐Ÿ’ป assembly Snippet
rep stosw
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q205
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ STOSB String Instruction and Index Register Auto-IncrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the STOSB (Store String Byte) instruction, by how many bytes is the Destination Index (DI) register automatically incremented or decremented?
๐Ÿ’ป assembly Snippet
stosb
  1. A.4 bytes
  2. B.1 byte
  3. C.2 bytes
  4. D.3 bytes
Q206
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ CMPS Instruction String Comparison MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which memory location is subtracted from which location during the execution of the CMPS (Compare String) instruction?
๐Ÿ’ป assembly Snippet
cmpsb
  1. A.Subtracts source location DS:SI from destination location ES:DI
  2. B.Subtracts source location DS:DI from destination location ES:SI
  3. C.Subtracts source location ES:SI from destination location DS:DI
  4. D.Subtracts source location ES:DI from destination location DS:SI
Q207
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ SCAS String Instruction MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which fundamental mathematical operation is performed 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
Q208
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ REP Prefix and FLAGS Register Non-ModificationMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When the REP prefix decrements register CX during string instruction execution, which status flags in the FLAGS register are affected directly by the REP decrement itself?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.Carry Flag (CF)
  2. B.Overflow Flag (OF)
  3. C.Direction Flag (DF)
  4. D.No flags are affected
Q209
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ Advantages of String Instructions in 8088Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the primary performance and design reasons for utilizing string instructions in 8088 assembly language?
  1. A.Efficiency and accuracy
  2. B.Reduction in code size and accuracy
  3. C.Reduction in code size and speed
  4. D.Reduction in code size and efficiency
Q210
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ REP Prefix and CX Decrement MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
During string instruction execution, how does the 'REP' (Repeat) prefix update the Count Register (CX) in each iteration?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.Increments CX by 1
  2. B.Increments CX by 2
  3. C.Decrements CX by 1
  4. D.Decrements CX by 2