Deck 10: Structures and Macros Assessment
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
Play
Full screen (f)
Deck 10: Structures and Macros Assessment
1
The following statements exit a macro if the count argument is blank:
IFB
EXITM
ENDIF
IFB
EXITM
ENDIF
True
2
The following statements permits assembly if the symbol Win32 has been defined:
IFDEF Win32
IFDEF Win32
True
3
The IFNDIF directive permits assembly if two arguments are equal.
False
4
A structure variable cannot be declared inside another structure.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The following statements create five uninitialized DWORD variables in which each variable name is a member of the following list: monday,tuesday,wednesday,thursday,friday:
FOR varName,
DWORD varName <>
ENDM
FOR varName,
DWORD varName <>
ENDM
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
The following macro moves any 32-bit memory operand to any other 32-bit memory operand:
mMove32 MACRO destination,source
push eax
mov eax,source
mov destination,eax
pop eax
ENDM
mMove32 MACRO destination,source
push eax
mov eax,source
mov destination,eax
pop eax
ENDM
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
All fields in a UNION begin at the same offset.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
An array can be declared as a structure member.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
When a macro is invoked,the CALL instruction executes if the macro uses the ASPROC operator.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
When defining a structure variable,you can specify default values for zero or more structure fields.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
A macro causes duplicate source code to be inserted into a program if the macro is invoked more than once.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
The IFNOTB directive permits assembly if its argument is not blank.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
The following statement permits assembly if arg1 is exactly the same as arg2? (case-senstitive comparison):
IFIDN,
IFIDN
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
Replacing macro invocations with procedure calls tends to make a program run faster.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
The IFDIFI directive performs a case-insensitive comparison between two arguments.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck