Week 2 - Hardware Architecture And The Processor Flashcards
What is The Most Basic Level Of Storage In A Computer?
Bits (1’s and 0’s Or Binary Digits)
What is Primary Memory? What does it store? What is it made of?
Volatile memory such as RAM. It handles program data and communicates with the processor. It is made of circuits of chips.
How does RAM work
Electric Charge flows through capacitors. Capacitors with a charge on them are 1’s, capacitors with no charge are 0’s.
What type of RAM must be refreshed to maintain its charge?
DRAM (Dynamic RAM)
What type of RAM doesn’t need to be refreshed to maintain its charge? Why?
SRAM (Static RAM), it uses areas of high and low voltage to determine charge, so no refreshing is needed.
What two components is the CPU made up of?
- The Control Unit
2. The Arithmetic Logic Unit (ALU)
- How does a CD/DVD drive write data?
2. How does the Hard Drive store data?
- A laser etches pits into the surface of the disc which represents the 1’s and 0’s.
- Magnets are used to create areas of north south magnetic polarity. These represent 1’s and 0’s.
A bit isn’t very useful on its own!
- What is the other, more useful unit of storage is used?
- How many bits are used to make up this Unit?
- What is a word?
- How many ‘Useful Units’ are in a 64 bit word?
- A byte!
- 8 bits make up a byte!
- A word is the maximum number of bits the processor can handle at once, and thus, the largest number of bits that can be stored per memory address!
- 8Bytes! (8bits x 8Bytes = x64)
What is assigned to a byte in order for it to be located by the processor?
An address
A byte can represent 4 types of data. What are they?:
- A whole number
- A negative, whole number.
- A character.
- A number with a fractional part.
The “Stored Program Concept” represents how the CPU interacts with program data and memory.
- What are the two different architectures that relate to the “Stored Program Concept”
- What are the three main differences between the two architectures?
- Von Neumann and Harvard
- Von Neumann stores program memory and data memory together in a cache. Harvard stores it separately in two caches.
- VN uses an 8 bit bus to transfer data to and from the CPU. HVD uses a 14 bit bus (program memory) and an 8 bit bus (data memory)
- VN cannot both read and wrote data at the same time. HVD can. HVD has two separate memory address spaces for each cache
What function does the ALU perform?
It performs the Arithmetic and Logic Operations on data.
- What is the purpose of the Control Unit?
2. What does the Control Unit use to achieve this?
- To synchronise and manage processes.
2. A clock
- What data type does the ALU perform its operations on?
2. Where does the ALU take operands (data that needs to be processed) from, and store outputs in?
- Words
2. Registers
Define a register:
“A small set of high speed memory found in the cpu.”