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 131 โ€“ 140 of 264 Questions
Page 14 of 27
Q131
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (Direction Flag DF Clear for Autoincrement Mode)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 string primitive instructions, autoincrement mode (where index registers `SI` and `DI` automatically increment) is active when:
๐Ÿ’ป assembly Snippet
cld ; Clears DF = 0 (enables autoincrement mode for string instructions)
  1. A.CX is set
  2. B.ZF is cleared
  3. C.DF is set
  4. D.DF is cleared
Q132
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (SI and DI String Index Registers)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is specifically used as memory index pointers in x86 string primitive instructions?
๐Ÿ’ป assembly Snippet
movsb ; Source [DS:SI], Destination [ES:DI]
  1. A.DI and BP
  2. B.SI and BP
  3. C.DI and SI
  4. D.DS and SI
Q133
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Two Bytes Per Screen Location)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text-mode video memory, how many bytes are allocated for each individual screen location?
  1. A.8 byte
  2. B.4 byte
  3. C.2 byte
  4. D.1 byte
Q134
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (MOVS Primitive String Copy Purpose)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the primary purpose of the `MOVS` (Move String) primitive instruction in x86 assembly language?
๐Ÿ’ป assembly Snippet
cld
rep movsb ; Copies block of memory from [DS:SI] to [ES:DI]
  1. A.Move register to register
  2. B.Move memory word/byte from source string (DS:SI) to destination string (ES:DI)
  3. C.Move data from accumulator to stack
  4. D.Move data from I/O port to memory
Q135
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (MOVS Memory-to-Memory Data Transfer)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the primary function and capability of the `MOVS` (Move String) primitive instruction in x86 assembly language?
๐Ÿ’ป assembly Snippet
cld
rep movsb ; Copies block of bytes directly from memory [DS:SI] to memory [ES:DI]
  1. A.Move register to register
  2. B.Move register to a memory location
  3. C.Move a memory location to register
  4. D.Move memory to memory
Q136
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Standard ASCII Range 0 to 127)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Standard 7-bit ASCII defines 128 characters with assigned numeric code values ranging from __________.
  1. A.1 to 129
  2. B.0 to 127
  3. C.0 to 128
  4. D.None of the Given
Q137
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (ASCII Display Code 0x41 for 'A')Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When ASCII character code `0x41` (representing 'A') is sent to the video display adapter (VGA card), it turns pixels on and off in video memory so that a visual representation of 'A' appears on screen.
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741 ; Writes character 'A' (0x41) with normal attribute (0x07)
  1. A.0x60
  2. B.0x90
  3. C.0x30
  4. D.0x41
Q138
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 7 Blinking)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text-mode video attribute byte layout, which bit position controls character blinking?
๐Ÿ’ป assembly Snippet
; Attribute Byte Structure: [Blink(7) | BgR(6) | BgG(5) | BgB(4) | FgI(3) | FgR(2) | FgG(1) | FgB(0)]
  1. A.6
  2. B.7
  3. C.5
  4. D.3
Q139
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 3 Foreground Intensity)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode video attribute byte layout, which bit position specifies the foreground color intensity (brightness)?
  1. A.4
  2. B.5
  3. C.3
  4. D.7
Q140
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 5 Background Green)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode video attribute byte layout, which bit position specifies the Green component of the background color?
  1. A.1
  2. B.5
  3. C.3
  4. D.7