Ch 11: Real-Time Interrupts & Timer Programming

171 Questions171 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 151 โ€“ 160 of 171 Questions
Page 16 of 18
Q151
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ SCAS Instruction FunctionalityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The basic function of the SCAS (Scan String) instruction is to:
๐Ÿ’ป assembly Snippet
scasb
scasw
  1. A.Compare
  2. B.Sort
  3. C.Move data
  4. D.Divide
Q152
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ REP Prefix CX Decrement BehaviorEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On each single iteration during string block operations, the REP prefix will always:
๐Ÿ’ป 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
Q153
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ Direction Flag (DF) Autodecrement ModeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If string processing in assembly is configured to proceed from higher memory addresses towards lower memory addresses (autodecrement mode), what is the state of the Direction Flag (DF)?
๐Ÿ’ป assembly Snippet
std  ; Set Direction Flag for autodecrement
  1. A.ZF is cleared
  2. B.DF is cleared
  3. C.ZF is set
  4. D.DF is set
Q154
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ SI and DI String Instruction Register PairEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of index registers is primarily used in assembly language to perform memory access during string block instructions?
๐Ÿ’ป assembly Snippet
movs b
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI
Q155
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ STOSW Word String Operation AutoincrementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
During execution of the STOSW instruction, when the Direction Flag is cleared (DF = 0), destination index register DI is:
๐Ÿ’ป assembly Snippet
cld
stosw
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q156
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ CLD Instruction (Clear Direction Flag)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which assembly instruction clears the Direction Flag (DF = 0) to configure string operations for autoincrementing index registers?
๐Ÿ’ป assembly Snippet
cld
  1. A.CLD
  2. B.CLRD
  3. C.CL DF
  4. D.CLR DF
Q157
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ String Instructions Memory-to-Memory TransfersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, which category of instructions uniquely allows moving data directly from one memory location to another memory location in a single instruction?
๐Ÿ’ป assembly Snippet
movsb
  1. A.String instructions
  2. B.Word instructions
  3. C.Indirect instructions
  4. D.Stack instructions
Q158
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ STOSB Autoincrement Mode MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
During the execution of the STOSB (Store String Byte) instruction, when the Direction Flag is clear (DF = 0), the destination index register (DI) is:
๐Ÿ’ป assembly Snippet
cld
stosb
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q159
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ REP String Instruction Repeat PrefixEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which instruction prefix is used in assembly language to repeat string block instructions according to the iteration counter in register CX?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.REP
  2. B.REPEAT
  3. C.REPB
  4. D.REPE
Q160
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ SI and DI String Instruction Register PairEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of index registers is primarily used to access memory during string instruction execution?
๐Ÿ’ป assembly Snippet
movsb
movsw
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI