Deck 17: Math, Comparison, and Move Instructions
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 17: Math, Comparison, and Move Instructions
1
Math instructions always send a REAL number result to the destination tag.
False
2
Math instructions always send a DIN number result to the destination tag.
False
3
Math instructions always send a number type that matches the type of the destination tag.
True
4
For the MUL instruction rung shown, the number of bottles produced would be: 
A)120
B)1200
C)200
D)800

A)120
B)1200
C)200
D)800
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The MOV instruction can move the contents of one memory location to another location.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
For the ADD instruction rung shown, the value stored in Dest would be:

A)1
B)35
C)50
D)15

A)1
B)35
C)50
D)15
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
For the EQU instruction rung shown, what value(s) stored in Source B would make the instruction logically true? 
A)24
B)25
C)0 to 23
D)0 to 24

A)24
B)25
C)0 to 23
D)0 to 24
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
CMP instructions allow the programmer to enter complex expressions in one instruction.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
Compare instructions are used to compare two values.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
For the GRT instruction rung shown, what Value_1 would make the instruction logically true? 
A)301
B)300
C)299
D)All of these

A)301
B)300
C)299
D)All of these
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
Dest (destination) is where the result of the math instruction is stored.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
For the LES instruction rung shown, what Value_2 would make the instruction logically true? 
A)5
B)15
C)25
D)all of these

A)5
B)15
C)25
D)all of these
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
For the SUB instruction rung shown, the number of shipped parts would be:

A)100
B)500
C)600
D)1700

A)100
B)500
C)600
D)1700
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
For the NEQ instruction rung shown, what value stored in Source A would make the instruction logically true? 
A)10
B)98
C)146
D)all of these

A)10
B)98
C)146
D)all of these
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
Source is a value that is input to a math instruction.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck