Theory: Computer Architecture Flashcards
What is the role of the processor?
To execute program instructions in order to run applications.
Name two types of main memory
-Random access memory (RAM)
-Read only memory (ROM)
Which is usually faster: main memory or secondary storage?
Main memory
Name two types of information that may be held in main memory
-Program instructions
-Frequently used data
What is meant by a bus?
A series of parrallel wires that connects internal components of a computer
Which bus is used to transport memory addresses?
Address bus
Which bus is used to send information to and from different components?
Data bus
How many parallel wires does the address bus have?
8
An address bus with n parallel wires can allow how many addressable memory locations?
2^n
What effect does increasing the width of the data bus have?
Increases the volume of data that can be transferred at any one time.
What is the role of the control bus?
Carries control signals, including the system clock which regulates the operation of the computer system
What is the name given to hardware that controls the communication of data between the processor and external hardware devices?
I/O controllers
Describe the main difference between Harvard and Von Neumann architecture.
Von Neumann consists of shared memory for instructions and data, Whereas Harvard architecture has them seperate
What is the drawback of Von Neumann architecture?
An instruction fetch and data operation cannot occur at the same time
Is RAM or ROM volatile or non volatile
RAM is volatile
ROM is non volatile
What is meant by the stored program concept?
Machine code instructions stored in main memory are fetched and executed serially by a processor that performs arithmetic and logical operations
What is an advantage of using the stored program concept?
Allows one computer to run several different programs
When using the stored program concept, what two things could the contents of a memory location be interpreted as?
- Instructions
- Data
Which type of architecture is extensively used in embedded systems?
Harvard architecture
Which type of architecture is used in general purpose computer systems?
von Neumann
Name the two architectures on which stored program computers can be based.
Harvard architecture, von Neumann architecture
Which type of register is the status register: general purpose or special purpose?
Special purpose
Which of the following is not found within the processor? Control unit, Main memory, Buses
Main memory
For what do the letters ALU stand
Arithmetic Logic unit
What effect does increasing the width of the address bus have?
Increases the computers amount of addressable memory
Which register hold the instruction that is currently being executed by the processor?
Current instruction register
What is cache?
A small portion of fast memory used to store frequently used information in the processor
What name is given to small storage locations used to hold data temporarily in the processor?
Registers
What is meant by this assembly language instruction?
STR R3, 33
Store the value in register 3 into memory location 33
Which register holds the contents of the memory location that has been read from or data that is to be stored?
Memory buffer register
Which part of a computer’s processor generates signals at a regular frequency?
Internal clock
Which special purpose register is abbreviated as MAR?
Memory Address Register
What name is given to the data to be used in an instruction: opcode or operand?
Operand
Form an assembly language instruction that would mean: “Add the value in register 4 to the value in register 5 and store the result in register 3”
ADD R3, R4, R5
In which stage of the fetch decode execute cycle is the program counter incremented?
Fetch
Between which two stages of the fetch decode execute cycle is the status register checked?
Execute and fetch
What name is given to the group of instructions that a processor can carry out?
Instruction set
In which addressing mode does the value specified by an operand signify a memory address?
Direct addressing
Name two parts of a barcode reader
Laser, lens, photodiodes, mirror
Which parts of a laser printer heat the paper, fixing the toner to the page?
Fusers