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 261 โ€“ 264 of 264 Questions
Page 27 of 27
Q261
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Primitive InstructionsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is implicitly used as memory address pointers in string primitive instructions?
๐Ÿ’ป assembly Snippet
movsb  ; Uses DS:SI and ES:DI
  1. A.DI and BP
  2. B.SI and BP
  3. C.SI and DI
  4. D.DS and SI
Q262
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Primitive InstructionsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After each iteration of the string operation 'REP STOSW', how is the count register CX modified?
๐Ÿ’ป assembly Snippet
rep stosw
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q263
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Hardware InterruptsMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How does the Interrupt Flag (IF) operate in conjunction with the Programmable Interrupt Controller (PIC 8259) to manage hardware interrupts?
๐Ÿ’ป assembly Snippet
; Controlling Hardware Interrupts in Assembly
cli    ; Set IF = 0 (disable interrupts, CPU ignores PIC signals)
; ... critical operation ...
sti    ; Set IF = 1 (enable interrupts, CPU processes PIC signals)
Q264
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Hardware InterruptsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the CLI (Clear Interrupt Flag) and STI (Set Interrupt Flag) instructions, and how do they alter processor hardware behavior?
๐Ÿ’ป assembly Snippet
; Processor Interrupt Control
cli    ; Disables interrupts (IF = 0)
; ... atomic critical section ...
sti    ; Re-enables interrupts (IF = 1)