Deck 5: Procedures-assessment
Question
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/16
Play
Full screen (f)
Deck 5: Procedures-assessment
1
The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure..
True
2
When the POP instruction executes,the ESP register is incremented after the value it points to is copied from the stack.
True
3
In a stack,the first value pushed on a stack is the last one to be removed.
True
4
The EBP register points to the last value pushed on the runtime stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
5
The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
6
The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
7
The PUSH instruction copies a value from the stack to an operand before decrementing the stack pointer.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
8
The WriteDec procedure does not display a plus sign.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
9
The ESP register always points to the next available position (NAP)where a new value will be pushed on the stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
10
A nested procedure call occurs when a called procedure calls another procedure before the first procedure returns
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
11
The WriteHex procedure displays integers in hexadecimal format only if an additional formatting parameter is passed in the EDX register.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
12
The runtime stack is the same as the stack abstract data type (ADT).
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
13
The PUSHAD instruction pushes all the 32-bit general-purpose registers on the stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
14
The runtime stack is supported by the computer's processor.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
15
By default,labels are visible only within the procedure in which they are declared.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
16
In 32-bit mode,immediate values pushed on the stack are always 32 bits long.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck