Deck 1: Data Storage

Full screen (f)
exit full mode
Question
Which of the following instructions (as described in the language description table) changes the contents of a memory cell?

A) 10AB
B) 20AB
C) 30AB
D) 40AB
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following instructions (as described in the language description table) changes the contents of register 7?

A) 4077
B) 4075
C) 4057
D) 37BB
Question
Which of the following instructions will not produce the same result as the other two? (Refer to the language description table.)

A) 9555
B) 2500
C) 1500
Question
In which of the following locations is information most readily available for manipulation by the CPU?

A) Cache memory
B) Main memory
C) Mass storage
D) General-purpose registers
Question
Which of the following instructions (as described in the language description table) places 00000000 in register 5?

A) 25FF
B) 9555
C) 15FF
D) 8555
Question
If register A contained the pattern 00000000, which of the following instructions could alter the contents of register 0? (Refer to the language description table.)

A) 700A
B) 800A
C) 900A
Question
Which of the following instructions will not produce the same result as the other two? (Refer to the language description table.)

A) A502
B) A506
C) A50A
Question
Which of the following is not a form of parallel processing?

A) SISD
B) MIMD
C) SIMD
Question
What mask in register F would cause the instruction 7AAF (refer to the language description table) to put a 1 in the most significant bit of register A without disturbing the other bits?

A) 11111110
B) 00000001
C) 10000000
D) 011111111
Question
Which of the following instructions (as described in the language description table) will not change the contents of register 5?

A) 1508
B) 2508
C) A503
D) A508
Question
Which of the following instructions falls in the category of data transfer instructions?

A) LOAD
B) AND
C) ROTATE
D) JUMP
Question
Which of the following instructions (as described in the language description table) is equivalent to requesting that register A be rotated to the left by three bits?

A) AA₀5
B) AA₀3
C) AA₀8
D) AA₀1
Question
Which of the following is not a component of a machine instruction?

A) Op-code
B) Port
C) Operand
Question
The bus in a computer is an example of which form of communication?

A) Serial
B) Parallel
C) Neither A nor B
Question
Which of the following is not contained in a CPU?

A) Instruction register
B) Program counter
C) General-purpose register
D) Memory cell
Question
What mask in register F would cause the instruction 8AAF (refer to the language description table) to put a 0 in the most significant bit of register A without disturbing the other bits?

A) 11111110
B) 00000001
C) 10000000
D) 011111111
Question
Which of the following is not an activity performed entirely within a CPU?

A) Fetch instructions
B) Perform Boolean operations
C) Perform arithmetic operations
D) Move data between registers
Question
Which of the following instructions (as described in the language description table) is essentially an unconditional jump?

A) B033
B) B₁33
C) B₂33
D) B333
Question
Which of the following instructions (as described in the language description table) places 00000000 in register A?

A) 1A₀0
B) 2A₀0
C) 3A₀0
D) 200A
Question
Which of the following instructions does not fall in the category of arithmetic/logic instructions?

A) ROTATE
B) ADD
C) OR
D) JUMP
Question
What is used to differentiate memory used for instructions and memory used for data?
Question
Which step of the machine cycle examines the op-code of the next instruction to be executed?

A) Load
B) Fetch
C) Decode
D) Execute
Question
Explain the concept of throughput and techniques by which throughput is increased.
Question
The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.) The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.)  <div style=padding-top: 35px>
Question
The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.) The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.)  <div style=padding-top: 35px>
Question
Below is a short routine written in the machine language described in the language description table and stored in a machine's memory beginning at address 50. What must be in the memory cell at address 40 to avoid an unending loop? Below is a short routine written in the machine language described in the language description table and stored in a machine's memory beginning at address 50. What must be in the memory cell at address 40 to avoid an unending loop?   ________________________________________<div style=padding-top: 35px> ________________________________________
Question
The following table shows a portion of a machine's memory containing a program written in the language described in the language description table. What will happen if the machine is started with its program counter containing 00? The following table shows a portion of a machine's memory containing a program written in the language described in the language description table. What will happen if the machine is started with its program counter containing 00?  <div style=padding-top: 35px>
Question
An ARM based processor is an example of what kind of computer architecture?

A) DSL
B) CISC
C) RISC
D) Pentium
Question
Suppose the instruction B₁A5 (as described in the language description table) is stored in main memory at addresses E0 and E1. Moreover, suppose registers 0 and 1 contain the patterns FF and 75, respectively. What value will be in the CPU's program counter immediately after executing the instruction?
____________
Question
What is the difference between a conditional jump instruction and an unconditional jump instruction?
Question
Describe the machine cycle.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/31
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: Data Storage
1
Which of the following instructions (as described in the language description table) changes the contents of a memory cell?

A) 10AB
B) 20AB
C) 30AB
D) 40AB
C
2
Which of the following instructions (as described in the language description table) changes the contents of register 7?

A) 4077
B) 4075
C) 4057
D) 37BB
C
3
Which of the following instructions will not produce the same result as the other two? (Refer to the language description table.)

A) 9555
B) 2500
C) 1500
C
4
In which of the following locations is information most readily available for manipulation by the CPU?

A) Cache memory
B) Main memory
C) Mass storage
D) General-purpose registers
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following instructions (as described in the language description table) places 00000000 in register 5?

A) 25FF
B) 9555
C) 15FF
D) 8555
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
6
If register A contained the pattern 00000000, which of the following instructions could alter the contents of register 0? (Refer to the language description table.)

A) 700A
B) 800A
C) 900A
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following instructions will not produce the same result as the other two? (Refer to the language description table.)

A) A502
B) A506
C) A50A
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is not a form of parallel processing?

A) SISD
B) MIMD
C) SIMD
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
9
What mask in register F would cause the instruction 7AAF (refer to the language description table) to put a 1 in the most significant bit of register A without disturbing the other bits?

A) 11111110
B) 00000001
C) 10000000
D) 011111111
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following instructions (as described in the language description table) will not change the contents of register 5?

A) 1508
B) 2508
C) A503
D) A508
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following instructions falls in the category of data transfer instructions?

A) LOAD
B) AND
C) ROTATE
D) JUMP
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following instructions (as described in the language description table) is equivalent to requesting that register A be rotated to the left by three bits?

A) AA₀5
B) AA₀3
C) AA₀8
D) AA₀1
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following is not a component of a machine instruction?

A) Op-code
B) Port
C) Operand
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
14
The bus in a computer is an example of which form of communication?

A) Serial
B) Parallel
C) Neither A nor B
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following is not contained in a CPU?

A) Instruction register
B) Program counter
C) General-purpose register
D) Memory cell
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
16
What mask in register F would cause the instruction 8AAF (refer to the language description table) to put a 0 in the most significant bit of register A without disturbing the other bits?

A) 11111110
B) 00000001
C) 10000000
D) 011111111
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is not an activity performed entirely within a CPU?

A) Fetch instructions
B) Perform Boolean operations
C) Perform arithmetic operations
D) Move data between registers
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following instructions (as described in the language description table) is essentially an unconditional jump?

A) B033
B) B₁33
C) B₂33
D) B333
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following instructions (as described in the language description table) places 00000000 in register A?

A) 1A₀0
B) 2A₀0
C) 3A₀0
D) 200A
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following instructions does not fall in the category of arithmetic/logic instructions?

A) ROTATE
B) ADD
C) OR
D) JUMP
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
21
What is used to differentiate memory used for instructions and memory used for data?
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
22
Which step of the machine cycle examines the op-code of the next instruction to be executed?

A) Load
B) Fetch
C) Decode
D) Execute
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
23
Explain the concept of throughput and techniques by which throughput is increased.
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
24
The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.) The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.)
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
25
The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.) The following is a routine encoded in the machine language described in the language description table. Explain (in a single sentence) what the routine does. (Explain what the entire routine does as a unit rather than reciting what each instruction does.)
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
26
Below is a short routine written in the machine language described in the language description table and stored in a machine's memory beginning at address 50. What must be in the memory cell at address 40 to avoid an unending loop? Below is a short routine written in the machine language described in the language description table and stored in a machine's memory beginning at address 50. What must be in the memory cell at address 40 to avoid an unending loop?   ________________________________________ ________________________________________
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
27
The following table shows a portion of a machine's memory containing a program written in the language described in the language description table. What will happen if the machine is started with its program counter containing 00? The following table shows a portion of a machine's memory containing a program written in the language described in the language description table. What will happen if the machine is started with its program counter containing 00?
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
28
An ARM based processor is an example of what kind of computer architecture?

A) DSL
B) CISC
C) RISC
D) Pentium
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
29
Suppose the instruction B₁A5 (as described in the language description table) is stored in main memory at addresses E0 and E1. Moreover, suppose registers 0 and 1 contain the patterns FF and 75, respectively. What value will be in the CPU's program counter immediately after executing the instruction?
____________
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
30
What is the difference between a conditional jump instruction and an unconditional jump instruction?
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
31
Describe the machine cycle.
Unlock Deck
Unlock for access to all 31 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 31 flashcards in this deck.