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 151 โ€“ 160 of 264 Questions
Page 16 of 27
Q151
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (REP Prefix CX Count Iteration)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing a string instruction with the `REP` prefix, how many times will the instruction repeat, allowing blocks of memory to be copied or processed?
๐Ÿ’ป assembly Snippet
mov cx, 100
rep movsb ; Copies 100 bytes from [DS:SI] to [ES:DI]
  1. A.CX times (count stored in CX)
  2. B.AX times (count stored in AX)
  3. C.BX times (count stored in BX)
  4. D.DX times (count stored in DX)
Q152
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (REP Prefix CX Counter Iteration)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The `REP` string prefix allows a string instruction to be repeated automatically __________ times, facilitating efficient memory block copying and fill operations.
๐Ÿ’ป assembly Snippet
mov cx, 100
rep movsb ; Repeats MOVSB CX (100) times
  1. A.DX
  2. B.CX
  3. C.BX
  4. D.AX
Q153
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Graphics Mode Pixel/Dot Mapping)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In computer graphics mode, each location or cell in video memory directly corresponds to a single __________ on the display screen.
  1. A.line
  2. B.dot
  3. C.circle
  4. D.rectangle
Q154
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VESA VBE High-Resolution Video Standard)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The VESA VBE 2.0 (Video Electronics Standards Association Video BIOS Extensions) specification is an industry standard designed for __________.
  1. A.High resolution Mode
  2. B.Low resolution Mode
  3. C.Medium resolution Mode
  4. D.Very High resolution Mode
Q155
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (BIOS INT 10h Video Services)Mediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List three common text-mode video services provided by BIOS `INT 10h`.
๐Ÿ’ป assembly Snippet
; Example: Setting cursor position using INT 10h
mov ah, 02h ; Set Cursor Position
mov bh, 00h ; Page 0
mov dh, 12  ; Row 12
mov dl, 40  ; Column 40
int 10h
Q156
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Bit 2 Foreground Red)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text-mode video memory attribute byte layout, which bit position represents the Red component of the foreground color?
  1. A.5
  2. B.4
  3. C.3
  4. D.2
Q157
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Character Font Matrix Byte Storage)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
An $8 \times 16$ pixel character font matrix is stored in video ROM using how many total bytes per character?
  1. A.2
  2. B.4
  3. C.8
  4. D.16
Q158
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (STOSW Index Register Auto-Increment)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the `STOSW` (Store String Word) instruction, when the Direction Flag is clear (`DF = 0`), how is the destination index register `DI` modified?
๐Ÿ’ป assembly Snippet
cld   ; Clear Direction Flag (DF = 0 -> Auto-increment mode)
stosw ; Stores AX into [ES:DI], then DI = DI + 2
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q159
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (MS-DOS Character-Based Text Mode)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The MS-DOS operating system command-line environment natively uses which display mode for output?
  1. A.Character based
  2. B.Graphics based
  3. C.Numeric based
  4. D.Console based
Q160
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VESA 16-Bit Color 5:6:5 RGB Format)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In VESA VBE high-color graphics mode, how are 16 color bits per pixel organized across the RGB color components?
  1. A.5:5:5 format
  2. B.5:6:5 format
  3. C.6:5:6 format
  4. D.5:6:7 format