Display Memory

Lecture 16: Display Memory

216 Questions192 MCQs19 Short Questions5 Long Questions
Showing 151160 of 216 Questions
Page 16 of 22
Q151❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which pair of assembly instructions correctly loads the video memory segment address into the Extra Segment (ES) register to access VGA text mode RAM?
💻 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
Q152❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In VGA text mode display memory, how many memory bytes are allocated to represent a single screen character position?
  1. A.One byte
  2. B.Two bytes
  3. C.Four bytes
  4. D.Eight bytes
Q153❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
Executing the instruction 'MOV WORD [ES:0], 0x0741' displays character 'A' on screen. What will be the background color of the character cell?
💻 assembly Snippet
mov word [es:0], 0x0741
  1. A.Black
  2. B.White
  3. C.Red
  4. D.Blue
Q154❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
How many bytes of storage memory are required to store an 8x16 font character matrix in chargen memory?
  1. A.2 bytes
  2. B.4 bytes
  3. C.8 bytes
  4. D.16 bytes
Q155❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
Executing 'MOV WORD [ES:160], 0x1230' writes to VGA text mode memory. What ASCII character is represented by the lower byte value 0x30?
💻 assembly Snippet
mov word [es:160], 0x1230
  1. A.Character 'A'
  2. B.Character 'B'
  3. C.Character '0'
  4. D.Character '1'
Q156❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
At which screen position will the instruction 'MOV WORD [ES:160], 0x1230' display a character in standard 80x25 VGA text mode?
💻 assembly Snippet
mov word [es:160], 0x1230
  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
Q157❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
In the instruction 'MOV WORD [ES:160], 0x1230', which ASCII character is written to VGA text mode video RAM?
💻 assembly Snippet
mov word [es:160], 0x1230
  1. A.Character 'A'
  2. B.Character 'B'
  3. C.Character '0'
  4. D.Character '1'
Q158❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
In the assembly instruction 'MOV WORD [ES:160], 0x1230', which character is represented by the lower byte value 0x30 in video memory?
💻 assembly Snippet
mov word [es:160], 0x1230
  1. A.Character 'A'
  2. B.Character 'B'
  3. C.Character '0'
  4. D.Character '1'
Q159❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In standard VGA text mode memory layout, what does the second byte (odd byte offset) of a 16-bit video word represent for a single screen cell location?
💻 assembly Snippet
mov word [es:0], 0x0741
  1. A.The physical dimensions of the screen
  2. B.The character position on the screen
  3. C.Character color and attribute on the screen
  4. D.ASCII code of the displayed character
Q160❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
How do you convert a single numeric decimal digit (0–9) into its corresponding ASCII character code in assembly language?
💻 assembly Snippet
add al, 0x30
  1. A.Add 0x30 to the digit
  2. B.Subtract 0x30 from the digit
  3. C.Add 0x61 to the digit
  4. D.Subtract 0x61 from the digit