CHAPTER 8: CPU and Memory Design Enhancement and Implementation Flashcards

1
Q

CPU architecture is defined by the basic characteristics and major features of the CPU. “CPU architecture” is sometimes called

a) architecture design
b) structural organization
c) instruction set architecture
d) CPU design and organization

A

c) instruction set architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The use of fixed-length, fixed-format instruction words with the op code and address fields in the same position for every instruction would allow instructions to be fetched and decoded

a) independently.
b) dependently and in parallel.
c) independently and in serial.
d) independently and in parallel.

A

d) independently and in parallel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

There are several factors that determine the number of instructions that a computer can perform in a second. Which of the following is NOT a factor?

a) Word size
b) Clock speed
c) Instruction format - fixed or variable
d) Number of steps required by each instruction type

A

a) Word size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The __________ must be designed to assure that each step of the instruction cycle has time to complete before the results are required by the next step.

a) ALU
b) clock cycle
c) Control Unit
d) instruction pointer

A

b) clock cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The fetch unit portion of the CPU consists of an instruction fetch unit and an instruction ____________ unit.

a) decode
b) translate
c) decipher
d) conversion

A

a) decode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ___________ unit contains the arithmetic/logic unit and the portion of the control unit that identifies and controls the steps that comprise the execution part for each different instruction.

a) fetch
b) decode
c) execution
d) conversion

A

c) execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Overlapping instructions—so that more than one instruction is being worked on at a time—is known as the

a) conveyor belt method.
b) pipelining method.
c) assembly line method.
d) accelerator method.

A

b) pipelining method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Instruction reordering makes it possible to provide parallel pipelines, with duplicate CPU logic, so that multiple instructions can actually be executed

a) sequentially.
b) consecutively.
c) simultaneously.
d) very fast in serial operation.

A

c) simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following is not a specific execution unit?

a) steering unit
b) LOAD/STORE unit
c) integer arithmetic unit
d) floating point arithmetic unit

A

a) steering unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A(n) _____________ processor is one that can complete an instruction with each clock tick.

a) linear
d) direct
c) scalar
d) express

A

c) scalar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

There are a number of difficult technical issues that must be resolved to make it possible to execute multiple instructions simultaneously. One of the most important of these is

a) Instructions completing out of order.
b) Instructions that have floating point operations.
c) Instructions that can be serialized.
d) Instructions that require the same number of CPU cycles complete.

A

a) Instructions completing out of order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Out-of-order instruction execution can cause problems because a later instruction may depend on the results from an earlier instruction. This situation is known as a __________ or a _______________.

a) risk, reliance
b) hazard, reliance
c) risk, dependency
d) hazard, dependency

A

d) hazard, dependency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CPUs can actually search ahead for instructions without apparent dependencies, to keep the execution units busy. Current Intel x86 CPUs, can search ___________ instructions ahead, if necessary, to find instructions available for execution.

a) five to ten
b) ten to twenty
c) twenty to thirty
d) fifty to one hundred

A

b) ten to twenty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Branch instructions must always be processed ahead of subsequent instructions. Conditional branch instructions are more difficult than unconditional branches. These types of dependencies are known as control dependencies or sometimes as ______________ or branch dependencies.

a) flow
b) decision
c) qualified
d) provisional

A

a) flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Some systems provide a small amount of dedicated memory built into the CPU that maintains a record of previous choices for each of several branch instructions that have been used in the program being executed to aid in determining whether a branch is likely to be taken. What are the contents of this memory called?

a) look-ahead table
b) branch history table
c) branch prediction table
d) future speculation table

A

b) branch history table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the slowest steps in the instruction fetch-execute cycle?

a) Slowest steps are those that require memory access.
b) Slowest steps involve incrementing the instruction pointer.
c) Slowest steps are those that require special integer register access.
d) Slowest steps are those that require floating point register access.

A

a) Slowest steps are those that require memory access.

17
Q

What is the major drawback of Dynamic RAM (DRAM)?

a) cost
b) capacity
c) data loss
d) memory latency

A

d) memory latency

18
Q

Which of the following is a commonly used approach for improving performance of memory?

a) Doubling the capacity of memory.
b) Using DRAM instead of SDRAM.
c) Compressing instructions and data in RAM.
d) Widening the system bus between memory and the CPU.

A

d) Widening the system bus between memory and the CPU.

19
Q

Another method for increasing the effective rate of memory access is to divide memory into parts, called, _____________ so that it is possible to access more than one location at a time.

a) block separation
b) high-low separation
c) memory interleaving
d) wide-path separation

A

c) memory interleaving

20
Q

Each block of cache memory provides a small amount of storage, perhaps between 8 and 64 bytes, also known as

a) a cache hit.
b) niche cache.
c) a cache line.
d) a small block cache.

A

c) a cache line.

21
Q

What does “locality of reference” mean?

a) most memory references occur concurrently
b) most memory references will pull data of numeric type
c) most memory references will be accessed in a predictable order
d) most memory references are confined to one or a few small regions of memory

A

d) most memory references are confined to one or a few small regions of memory

22
Q

The locality of reference principal makes sense because most of the instructions being executed at a particular time are

a) register-to-memory type instructions.
b) math and logical type instructions.
c) control and branch type instructions.
d) part of a small loop or a small procedure or function.

A

d) part of a small loop or a small procedure or function.

23
Q

Cache memory hit ratios of ________ percent and above are common with just a small amount of cache.

a) 30
b) 60
c) 80
d) 90

A

d) 90

24
Q

When a cache miss occurs, however, there is a time delay while new data is moved to the cache. The time to move data to the cache is called _____________ time.

a) stall
b) backup
c) write-through
d) cache back

A

a) stall

25
Q

Which of the following is most likely:

a) L1 cache has 32KB and L2 cache has 1MB
b) L1 cache has 1MB and L2 cache has 32KB
c) L1 cache has 32KB and L2 cache has 32KB
d) L1 cache has 1MB and L2 cache has 1MB

A

a) L1 cache has 32KB and L2 cache has 1MB

26
Q

A part of main memory can be allocated to store several adjoining blocks of disk memory. If the requested data is in _________ then no disk access is necessary.

a) disk cache
b) cache blocks
c) read once cache
d) buffer disk cache

A

a) disk cache

27
Q

Instructions, fetched from memory, are _____________within the instruction unit, to determine the type of instruction that is being executed. This allows branch instructions to be passed quickly to the branch processing unit for analysis of future instruction flow.

a) partially decoded
b) partially executed
c) completely decoded
d) completely executed

A

a) partially decoded

28
Q

In a superscalar CPU, the instruction unit has a(n) ____ to hold instructions until the required type of execution unit is available.

a) pipeline
b) assembly unit
c) instruction set
d) cache memory

A

a) pipeline

29
Q

Computers that have multiple CPUs within a single computer, sharing some or all of the system’s memory and I/O facilities, are called______________, or sometimes tightly coupled systems.

a) bundled systems
b) simultaneous systems
c) multiprocessor systems
d) compound processor systems

A

c) multiprocessor systems

30
Q

Under ideal conditions, each CPU processes its own assigned sequence of program instructions

a) independently of other CPUs.
b) partially sharing the workload with other CPUs.
c) without interrupting the other CPUs.
d) by sharing L1 cache between other CPUs.

A

a) independently of other CPUs.

31
Q

Each CPU in the processor, within a single integrated chip, is called a ___________

a) core.
b) CPU unit.
c) control unit.
d) Independent Processor Chip (IPC).

A

a) core.

32
Q

Which of the following is not an advantage of adding more than one CPU processor within a single integrated chip?

a) Relatively inexpensive.
b) Reduce resource conflicts.
c) Programs can be divided into independent pieces and run separately.
d) Reduces power consumption, heat, and stress but gives equivalent processing power.

A

b) Reduce resource conflicts.

33
Q

What is a “thread”?

a) The same segment of code used by many programs.
b) Independent segments of programs available to be executed in parallel.
c) The set of all variables that are used by all programs in execution.
d) Shared allocation of cache memory used by programs available to be executed.

A

b) Independent segments of programs available to be executed in parallel.

34
Q

In Symmetrical Multiprocessing (SMP) each CPU has

a) identical access to memory.
b) identical access to the I/O and memory.
c) identical access to the operating system, I/O and memory
d) identical access to the operating system, and to all system resources, including memory.

A

d) identical access to the operating system, and to all system resources, including memory.

35
Q

Simultaneous thread multiprocessing (STM) is also known as ___________

a) hyperthreading.
b) superthreading
c) expert threading
d) concurrent threading

A

a) hyperthreading.