Display Memory

Lecture 16: Display Memory

216 Questions192 MCQs19 Short Questions5 Long Questions
Showing 201210 of 216 Questions
Page 21 of 22
Q201❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
To clear the text-mode display screen, an assembly subroutine initializes the entire block of video memory to which 16-bit value?
💻 assembly Snippet
mov ax, 0x0720
rep stosw
  1. A.0x0417
  2. B.0x0714
  3. C.0x0741
  4. D.0x0720
Q202❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In text-mode Video RAM, in the 16-bit word designated for one screen location, what does the byte at the higher memory address (odd byte offset) hold?
💻 assembly Snippet
mov word [es:0], 0x0741  ; High byte 0x07 = Attribute, Low byte 0x41 = ASCII 'A'
  1. A.The character code
  2. B.The attribute byte
  3. C.The parameters
  4. D.The dimensions
Q203❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which of the following instruction sequences correctly sets up Extra Segment register ES to point to color text-mode Video RAM base address?
💻 assembly Snippet
mov ax, 0xb800
mov es, ax
  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
Q204❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In color text-mode Video RAM, each character screen location corresponds to how many bytes of memory?
  1. A.One byte
  2. B.Two bytes
  3. C.Four bytes
  4. D.Eight bytes
Q205❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Executing the instruction 'MOV WORD [ES:0], 0x0741' displays character 'A' on screen. What is the resulting background color of the screen character cell?
💻 assembly Snippet
mov word [es:0], 0x0741
  1. A.Black
  2. B.White
  3. C.Red
  4. D.Blue
Q206❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Standard ASCII character encoding defines 128 distinct characters with numerical code values ranging from:
  1. A.1 to 128
  2. B.0 to 127
  3. C.1 to 256
  4. D.0 to 255
Q207❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
When the character code ________ (ASCII for 'A') is written to Video RAM in text mode, the video controller turns pixels on and off so that character 'A' appears on screen.
💻 assembly Snippet
mov byte [es:0], 0x41  ; Displays 'A'
  1. A.0x60
  2. B.0x90
  3. C.0x30
  4. D.0x41
Q208❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In the 8-bit text-mode character attribute byte, which bit controls the Blinking attribute (or background intensity)?
  1. A.Bit 6
  2. B.Bit 7
  3. C.Bit 5
  4. D.Bit 3
Q209❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In the 8-bit text-mode character attribute byte, which bit controls the Intensity component (brightness) of the foreground color?
  1. A.Bit 4
  2. B.Bit 5
  3. C.Bit 3
  4. D.Bit 7
Q210❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In the 8-bit text-mode character attribute byte, which bit controls the Green component of the background color?
  1. A.Bit 1
  2. B.Bit 5
  3. C.Bit 3
  4. D.Bit 7