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 61 โ€“ 70 of 264 Questions
Page 7 of 27
Q61
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (Direction Flag STD vs CLD Behavior)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If string instructions process memory from higher memory addresses toward lower memory addresses (decrementing index pointers), which Direction Flag state is required?
๐Ÿ’ป assembly Snippet
std ; Sets Direction Flag (DF = 1) for auto-decrement string processing
  1. A.DF is cleared
  2. B.ZF is cleared
  3. C.ZF is set
  4. D.DF is set
Q62
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 6 Background Red)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text mode attribute byte structure (`B IRGB I rgb`), which bit position controls the Red component of the background color?
  1. A.3
  2. B.4
  3. C.5
  4. D.6
Q63
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 0 Foreground Blue)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which bit of the attribute byte represents the Blue component of the foreground color in text mode video RAM?
  1. A.0
  2. B.1
  3. C.2
  4. D.3
Q64
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Clear Screen Video Memory Initialization)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text mode video RAM routines, the clear screen operation initializes character words in memory to which attribute and character value?
๐Ÿ’ป assembly Snippet
mov ax, 0x0720 ; 0x20 = space character, 0x07 = normal attribute
  1. A.0417
  2. B.0714
  3. C.0741
  4. D.0720
Q65
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (String Index Registers SI and DI)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is used as index memory pointers to access source and destination memory in primitive string instructions?
๐Ÿ’ป assembly Snippet
movsb ; Copies byte from [DS:SI] to [ES:DI]
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI
Q66
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VGA Font Matrix Storage 8x16)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard VGA text mode, a monochrome or color bitmap font cell measuring $8 \times 16$ pixels requires how many bytes of storage per character matrix?
  1. A.3
  2. B.4
  3. C.8
  4. D.16
Q67
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VESA VBE High Resolution Standards)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The VESA VBE 2.0 (Video Electronics Standards Association BIOS Extension) standard defines standard video BIOS interfaces primarily for which graphics display mode?
  1. A.High Resolution Mode
  2. B.Low Resolution Mode
  3. C.Very High Resolution Mode
  4. D.Medium Resolution Mode
Q68
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (CLD Clear Direction Flag)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which x86 assembly instruction is used to clear the Direction Flag (`DF = 0`), causing string primitive instructions to automatically increment index pointers?
๐Ÿ’ป assembly Snippet
cld ; Clears Direction Flag (DF = 0) for auto-increment processing
  1. A.Cld
  2. B.Clrd
  3. C.Cl df
  4. D.Clr df
Q69
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (STOSW Word Pointer Auto-Increment)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In word string store instruction `STOSW`, when the Direction Flag is cleared (`DF = 0`), by how many bytes is destination index register `DI` updated per iteration?
๐Ÿ’ป assembly Snippet
cld
stosw ; Stores AX word into [ES:DI] and adds 2 to DI
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q70
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (16-bit High Color 5:6:5 RGB Ratio)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In VESA VBE 16-bit high-color graphics mode (65,536 colors), how are the 16 bits organized across the Red, Green, and Blue (RGB) color channels?
  1. A.5:5:5
  2. B.5:6:5
  3. C.6:5:6
  4. D.5:6:7