Chapter 14 (16-bit MS-DOS Programming) – Assessment
True-False
Please indicate whether each statement is True (T) or False (F).
1. Real-mode programming is also known as 16-bit mode programming.
2. MS-DOS function calls are also called interrupts because they use the INT instruction.
3. Video memory begins at offset 00100h in the IBM-PC’s memory.
4. The transient command processor always remains in memory at an address just above the DOS
kernel.
5. The device names for parallel printer port 1 are both PRN and LPT1.
6. The INT instruction uses a value in the BX register to locate an entry in the interrupt vector table.
7. Video services are handled by INT 16h.
8. MS–DOS services are handled by INT 21h.
9. When a MS-DOS function needs to access the computer’s hardware, it calls a function in the
BIOS.
10. INT 21h, function 10h writes a string to standard output.
11. The < operator, when used at the MS-DOS command prompt, redirects the current program’s
input.
12. Writing data to a text file usually takes more CPU time than writing data to a binary file.
13. There is no INT 21h function that lets you set a file’s I/O pointer past the end of a file.
14. The MS-DOS command tail is located in the data segment when a program begins to execute.
15. When a file is opened by an MS-DOS function, the function returns an integer handle. This handle
must be used for all subsequent reading and/or writing to the file.