CHAPTER 6: The Little Man Computer Flashcards
The LOAD instruction copies data from the
a) in basket to a mailbox.
b) calculator to a mailbox.
c) in basket to the calculator.
d) mailbox to the calculator.
d) mailbox to the calculator.
The STORE instruction copies data from the
a) in basket to a mailbox.
b) mailbox to the calculator.
c) calculator to a mailbox.
d) in basket to the calculator.
c) calculator to a mailbox.
The ADD instruction adds data from
a) the in basket to a mailbox.
b) a mailbox to the calculator.
c) a mailbox to the in basket.
d) one mailbox to another mailbox.
b) a mailbox to the calculator.
The SUBTRACT instruction subtracts data in
a) the calculator from a mailbox.
b) the in basket from a mailbox.
c) a mailbox from the calculator.
d) one mailbox from another mailbox.
c) a mailbox from the calculator.
The INPUT instruction takes data from the
a) in basket and places it in a mailbox.
b) mailbox and places it in the in basket.
c) mailbox and places it in the calculator.
d) in basket and places it in the calculator.
d) in basket and places it in the calculator.
The OUTPUT instruction takes data from the
a) out basket and places it in a mailbox.
b) mailbox and places it in the out basket.
c) out basket and places it in the calculator.
d) calculator and places it in the out basket.
d) calculator and places it in the out basket.
The COFFEE BREAK (HALT) instruction
a) pauses the program.
b) clears all mailboxes.
c) empties the out basket.
d) ignores the address portion of the instruction.
a) pauses the program.
A LOAD command will leave the original data in the mailbox
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
c) unchanged.
A LOAD command will leave the original data in the calculator
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
d) overwritten.
A STORE command will leave the original data in the mailbox
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
d) overwritten.
A STORE command will leave the original data in the calculator
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
c) unchanged.
An ADD command will leave the original data in the mailbox
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
c) unchanged.
An INPUT command will leave the original data in the calculator
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
d) overwritten.
An OUTPUT command will leave the original data in the calculator
a) deleted.
b) corrupted.
c) unchanged.
d) overwritten.
c) unchanged.
Which sequence of commands is needed to enter two numbers into the LMC (using the INPUT command)?
a) INPUT, ADD, INPUT
b) INPUT, LOAD, INPUT
c) INPUT, STORE, INPUT
d) INPUT, ENTER, INPUT
c) INPUT, STORE, INPUT