Deck 17: Expert Ms-Dos Programming Assessment

Full screen (f)
exit full mode
Question
All COM programs use the small memory model.
Use Space or
up arrow
down arrow
to flip the card.
Question
The segment combine type tells the linker how to combine segments having the same name.
Question
The CLASS type in a segment definition makes it possible to combine two segments having different names.
Question
In large model programs,all code segments have the same name.
Question
The Speaker Demo Program uses the IN instruction to turn the speaker on.
Question
The following are all permissible segment ALIGN types: BYTE,WORD,DWORD,REAL4.
Question
When a key is pressed on the keyboard,the Intel 8259 programmable interrupt controller signals the CPU to suspend execution of the current program.
Question
An EXE program can have overlapping code,data,and stack segments.
Question
Memory-mapped video is set up so that when characters are placed in memory at predetermined addresses,the characters appear on the video display only when a special control value is output to a hardware port.
Question
The ASSUME directive permits the assembler to calculate the offsets of labels and variables.
Question
IA-32 systems offer two types of hardware input-output: memory-mapped,and port-based.
Question
Port-based I/O uses the IN and OUT instructions to read and write data to specific numbered locations.
Question
Only one code segment may be created in a single program module.
Question
The following is an example of a valid segment override:
Question
When an interrupt executes,an address in the Exception Process Table is used to locate the interrrupt handler.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 17: Expert Ms-Dos Programming Assessment
1
All COM programs use the small memory model.
False
2
The segment combine type tells the linker how to combine segments having the same name.
True
3
The CLASS type in a segment definition makes it possible to combine two segments having different names.
True
4
In large model programs,all code segments have the same name.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The Speaker Demo Program uses the IN instruction to turn the speaker on.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
The following are all permissible segment ALIGN types: BYTE,WORD,DWORD,REAL4.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
When a key is pressed on the keyboard,the Intel 8259 programmable interrupt controller signals the CPU to suspend execution of the current program.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
An EXE program can have overlapping code,data,and stack segments.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
Memory-mapped video is set up so that when characters are placed in memory at predetermined addresses,the characters appear on the video display only when a special control value is output to a hardware port.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
The ASSUME directive permits the assembler to calculate the offsets of labels and variables.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
IA-32 systems offer two types of hardware input-output: memory-mapped,and port-based.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
Port-based I/O uses the IN and OUT instructions to read and write data to specific numbered locations.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
Only one code segment may be created in a single program module.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
The following is an example of a valid segment override:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
When an interrupt executes,an address in the Exception Process Table is used to locate the interrrupt handler.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 15 flashcards in this deck.