Chapter 16 (BIOS-Level Programming) – Assessment . True-False Please indicate wh
ID: 674737 • Letter: C
Question
Chapter 16 (BIOS-Level Programming) – Assessment .
True-False
Please indicate whether each statement is True (T) or False (F).
1. The BIOS data area includes the keyboard typeahead buffer.
2. The BIOS data area includes the current video mode.
3. INT 16h permits characters to be redirected, so input can be read from a file.
4. When a key is pressed at the keyboard, the keyboard controller chip produces an 8-bit scan code and sends it to the keyboard port.
5. The INT 8h service routine retrieves the keyboard scan code and looks up the corresponding ASCII code.
6. Keys stored in the keyboard typeahead buffer can only be retrieved by calling INT 16h.
7. INT 16h provides a way to inspect the keyboard buffer without actually removing a key.
8. The fastest way to write characters to the video display is by calling INT 10h.
9. MS-Windows cannot run MS-DOS programs in full-screen mode.
10. The default MS-DOS video display is 80 columns by 25 rows.
11. In text mode, each character is assigned a separate attribute byte that determines its color.
12. Character colors use 4 bits for the foreground color, and 4 bits for the background color. Blinking is controlled by a 9th bit that is not part of the attribute byte.
13. If you mix the colors red and green in the same attribute byte and set the intensity bit to 1, the resulting color is yellow.
14. INT 10h function 9 displays a character and attribute at the current cursor position.
15. Memory-mapped graphics in Mode 13h permits 128 different integer values for each color.
Explanation / Answer
1. TRUE
2. TRUE
3. FALSE
4. TRUE
5. FALSE
6. FALSE
7. TRUE
8. FALSE
9. TRUE
10. TRUE
11. TRUE
12. FALSE
13. TRUE
14. TRUE
15. FALSE
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.