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 101 โ€“ 110 of 264 Questions
Page 11 of 27
Q101
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Screen Memory Byte Offset 160 Coordinates)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Executing the instruction `mov word [es:160], 0x1230` in standard 80x25 text-mode video memory renders a character at which exact screen coordinate position?
๐Ÿ’ป assembly Snippet
; Offset = (Row * 80 + Column) * 2
; For Row 2 (index 1), Column 1 (index 0): Offset = (1 * 80 + 0) * 2 = 160
  1. A.First column of second row
  2. B.Second column of first row
  3. C.Second column of second row
  4. D.First column of third row
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (REP Repeat Prefix)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which special instruction prefix is used to automatically repeat string operations (like `MOVSB` or `STOSB`) for a block of memory based on the count in `CX`?
๐Ÿ’ป assembly Snippet
mov cx, 100
rep movsb ; Repeats movsb 100 times
  1. A.rep
  2. B.repeat
  3. C.repb
  4. D.repe
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (ASCII Code 0x30 Character Mapping)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the assembly instruction `mov word [es:160], 0x1230`, what character is represented by the lower byte `0x30` when written to video memory?
๐Ÿ’ป assembly Snippet
mov word [es:160], 0x1230 ; Low byte 0x30 = ASCII '0'
  1. A.A
  2. B.B
  3. C.0
  4. D.1
Q104
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (Index Register Pair SI and DI)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers is specifically used as source and destination index pointers to access memory in 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
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (STOSW and CX Iteration Decrement)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After the execution of string instruction `STOSW` (Store String Word) with the Direction Flag clear (`DF = 0`), the iteration count in register `CX` will be __________.
๐Ÿ’ป assembly Snippet
rep stosw ; Decrements CX by 1 per word stored
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Screen Memory Byte Offset 160 Coordinates)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Executing `mov word [ES:160], 0x1230` in standard 80x25 text mode renders a character on screen at which position?
  1. A.First column of second row
  2. B.Second column of first row
  3. C.Second column of second row
  4. D.First column of third row
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (BIOS INT 10h Service 0Ch Write Pixel)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In BIOS video service interrupt `INT 10h`, what is the value required in register `AH` to invoke the Write Graphics Pixel service?
๐Ÿ’ป assembly Snippet
mov ah, 0x0C ; Write graphics pixel service
mov al, 0x0F ; Pixel color (White)
mov cx, 100  ; X coordinate
mov dx, 50   ; Y coordinate
int 0x10
  1. A.0Ch
  2. B.0Bh
  3. C.1Ch
  4. D.2Ch
Q108
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VESA VBE High Resolution Standards)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
VESA VBE (Video Electronics Standards Association BIOS Extension) 2.0 is an industry interface standard established for __________.
  1. A.High resolution Mode
  2. B.Low resolution Mode
  3. C.Medium resolution Mode
  4. D.Very High resolution Mode
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (STOSB Direction Flag Increment)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the `STOSB` (Store String Byte) instruction, when the Direction Flag is clear (`DF = 0`), the destination index pointer register (`DI`) is __________.
๐Ÿ’ป assembly Snippet
cld
stosb ; Stores AL at [ES:DI] and increments DI by 1
  1. A.Incremented by 1
  2. B.Incremented by 2
  3. C.Decremented by 1
  4. D.Decremented by 2
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (STOSW and CX Iteration Decrement)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing `STOSW` (Store String Word) with repeat prefix (`REP STOSW`), after each word store iteration, register `CX` will be __________.
๐Ÿ’ป assembly Snippet
rep stosw ; Decrements CX by 1 per word iteration
  1. A.Decremented by 1
  2. B.Decremented by 2
  3. C.Incremented by 1
  4. D.Incremented by 2