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 71 โ€“ 80 of 264 Questions
Page 8 of 27
Q71
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (Direct Memory to Memory Transfers)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 16-bit x86 assembly language, which specialized category of instructions allows direct memory-to-memory data transfers in a single instruction?
๐Ÿ’ป assembly Snippet
movsb ; Copies byte directly from memory [DS:SI] to memory [ES:DI]
  1. A.string
  2. B.word
  3. C.indirect
  4. D.stack
Q72
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. String Instructions (MOVS SI and DI Register Updates)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
After the execution of the `MOVS` (Move String) primitive instruction, which index registers are automatically updated?
๐Ÿ’ป assembly Snippet
movsb ; Reads [DS:SI], writes [ES:DI], and updates both SI and DI
  1. A.SI only
  2. B.DI only
  3. C.SI and DI only
  4. D.SI, DI and BP only
Q73
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Video Memory Attribute Byte Layout)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text mode video memory, each 16-bit word cell represents one character location on screen. What information is stored in the higher memory byte address?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741 ; Lower byte 0x41 ('A'), Higher byte 0x07 (Attribute byte)
  1. A.The character code
  2. B.The attribute byte
  3. C.The parameters
  4. D.The dimensions
Q74
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Video Cell Byte Size)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard text-mode video RAM, how many memory bytes correspond to each individual character location on screen?
  1. A.One byte
  2. B.Two bytes
  3. C.Four bytes
  4. D.Eight bytes
Q75
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Video Memory Base Segment 0xB800)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which set of assembly instructions correctly initializes the Extra Segment (`ES`) register to point to the base physical address of color text-mode video memory (`0xB8000`)?
๐Ÿ’ป assembly Snippet
mov ax, 0xb800 ; Video memory base segment
mov es, ax     ; Set ES to video segment
  1. A.mov AX, 0xb008 mov ES, AX
  2. B.mov AX, 0xb800 mov ES, AX
  3. C.mov AX, 0x8b00 mov ES, AX
  4. D.mov AX, 0x800b mov ES, AX
Q76
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Attribute Byte Background Color Decoding)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Executing the instruction `mov word [ES:0], 0x0741` displays the character 'A' on screen. What will be the background color of the screen cell?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741 ; Attribute 0x07: Background = 0 (Black), Foreground = 7 (Light Gray)
  1. A.Black
  2. B.White
  3. C.Red
  4. D.Blue
Q77
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VESA VBE Service Functions)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Give the name and service function code of any one standard VESA VBE (Video Electronics Standards Association BIOS Extension) service.
๐Ÿ’ป assembly Snippet
mov ax, 0x4F00 ; Return VBE Controller Information
mov di, buffer
int 0x10
Q78
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (VGA Font Memory Matrix Storage 8x16)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard VGA text-mode video memory, an $8 \times 16$ pixel monochrome character font matrix is stored using how many bytes of RAM?
  1. A.8
  2. B.16
  3. C.4
  4. D.20
Q79
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (Standard 7-Bit ASCII Range 0 to 127)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Standard ASCII (American Standard Code for Information Interchange) defines 128 standard characters assigned to numeric codes in the range of __________.
  1. A.1 to 129
  2. B.0 to 127
  3. C.0 to 128
  4. D.None of the Given
Q80
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 7๐Ÿท๏ธ 7.1. Video Display Architecture (ASCII Character Code 0x41 rendering 'A')Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When the ASCII character code __________ (or byte `0x41`) is written to video RAM in text mode, the video card hardware lookup font matrix renders a visual representation of character 'A' on screen.
๐Ÿ’ป assembly Snippet
mov byte [es:0], 0x41 ; Writes ASCII 'A' (0x41) to video RAM
  1. A.0x41 (65)
  2. B.0x61 (97)
  3. C.0x30 (48)
  4. D.0x20 (32)