Variety of Processors Flashcards
Von Neumann Architecture = ___ are stored in memory the way data is stored.
programs
Von Neumann Architecture has a ___ and a ___.
address bus, data bus
The address bus and the data bus is used to ___.
transfer data from/to CPU, RAM, ROM and other devices
CPU, RAM, ROM and other devices are detached to the bus.
True/False
False. They are all attached to the bus.
Processors is a digital device that performs ___.
computation using multiple steps
Name the type of processor:- Least powerful, single operation. A - Selectable logic B - Fixed logic C - Parameterized logic processor D - Programmable logic processor
B - Fixed logic
Name the type of processor:- Performs > 1 operation. A - Selectable logic B - Fixed logic C - Parameterized logic processor D - Programmable logic processor
A - Selectable logic
Name the type of processor:- Accepts a set of parameters in the computation. A - Selectable logic B - Fixed logic C - Parameterized logic processor D - Programmable logic processor
C - Parameterized logic processor
Name the type of processor:- Greatest flexibility. Function to compute can be changed. CPU belongs to this type of processor. A - Selectable logic B - Fixed logic C - Parameterized logic processor D - Programmable logic processor
D - Programmable logic processor
CPU = ?
Central Processing Unit
Components of a CPU:- (5 items) \_\_\_ \_\_\_ (ALU) \_\_\_ Internal \_\_\_ External \_\_\_
Controller Arithmetic and Logical Unit Registers Internal Interconnections External Interface
What is the function of controller? A. Controls the execution B. Initiates the sequence of steps C. Coordinates other components D. All of the above
D. All of the above
ALU provides ___ operations. It performs ___ operation(s) at a time.
Arithmetic and boolean; one
Registers are ___ storage.
Local data
Registers hold ___ of the operation.
arguments and results
Internal interconnections ___ across the components in the CPU.
transfer values
External interface provides connections to ___ as well as ___ devices.
external memory; I/O
Name the category of processor:- Operates in conjunction with other processor. A - General purpose processor B - Microsequencer C - Microcontroller D - Coprocessor E - Embedded System Processor
D - Coprocessor
Name the category of processor:- Small programmable device. Dedicated to control a physical system A - General purpose processor B - Microsequencer C - Microcontroller D - Coprocessor E - Embedded System Processor
C - microcontroller
Name the category of processor:- Controls coprocessors, memory and other components inside a larger processor board. A - General purpose processor B - Microsequencer C - Microcontroller D - Coprocessor E - Embedded System Processor
B - microsequencer
Name the category of processor:- Able to run sophisticated tasks. More powerful than a microcontroller. A - General purpose processor B - Microsequencer C - Microcontroller D - Coprocessor E - Embedded System Processor
E - Embedded System Processor
Name the category of processor:- Most powerful type of processor. Completely programmable. A - General purpose processor B - Microsequencer C - Microcontroller D - Coprocessor E - Embedded System Processor
A - general purpose processor
General purpose processor is used to store ___.
operands and results
Each register has a small size; __, __ or __ bytes.
1; 4; 8
Floating point registers are special registers used to store ___.
floating point numbers
Discrete Logic -
use ___ to implement processor. Could use multiple boxes and ___.
TTL gates; circuit boards
___ ___ board - multiple chips/controllers in a single board
Single circuit board
Single chip - all the components are in a ___.
single chip
Fetch/Execute cycle allows ___.
moving through the program steps
Complete below:- while (1) { \_\_\_ from memory the next \_\_\_ to execute in the program; \_\_\_ this instruction }
fetch; instruction; execute
Clock rate = the rate at which ___ and ___ are clocked to synchronize ___.
gates; hardware components; data transfer
Instruction rate = time required to ___.
execute an instruction
Different instruction may take different times.
True/False
True
When the CPU is powered on or when reset:-
- The CPU is ___
- The ___ cycle starts
- The first instruction to execute will be in ___
- This process is called ___
initialized; fetch-execute; a known memory location; bootstrap
When the application finishes or it is waiting for an event, the program may enter ___.
This is often called ___ or ___.
an infinite loop; null process; system idle process
Consideration for choosing an instruction set? A. Physical size of the processor B. How the processor will be used C. Power consumption D. All of the above
D. All of the above
Opcode = specifies the ___ to be executed.
instruction
Operands = specifies the ___, ___ or constants used in the instruction.
registers, memory location
Result = specifies the ___ or ____ where the result of the operation will be placed.
registers, memory location
Two types of instruction length:- ___ and ___.
Fixed length; variable length
Which of the following is true for fixed length?
A. Each instruction has the same length
B. Increases the hardware complexity; runs slower
A,
Fixed length reduces hardware complexity; runs faster
Which of the following is false for variable length?
A. Some instructions will take more space than others
B. Appealing to assembly code programmers
C. Less efficient use of memory
D. Pentium continues using variable length instructions because of backward-compatibility issues
C.
Variable length has more efficient use of memory
Number of registers is limited, so it is necessary to use memory or the stack to store temporal values.
True/False
True
Register allocation = choose what values to keep in the registers instead of ___.
memory
Two types of instruction sets: ___ and ___.
CISC; RISC
CISC = ?
Complex Instruction Set Computer
RISC = ?
Reduced Instruction Set Computer
CISC contains ___ instructions.
Some instructions take ___ than others.
many; longer
RISC contains ___ instructions. They are ___ length and executed in __ clock cycle(s).
few; fixed; 1
Match the system with RISC or CISC:- Sparc Alpha x86 MIPS ARM
Sparc, Alpha, MIPS, ARM - RISC
x86 - CISC
The instruction set contains the following instructions:-
Move a range of byes from one place in memory to another
Compute the length of a string
Does this instruction set belong to CISC or RISC?
CISC