Week 2 - Hardware Architecture And The Processor Flashcards

1
Q

What is The Most Basic Level Of Storage In A Computer?

A

Bits (1’s and 0’s Or Binary Digits)

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

What is Primary Memory? What does it store? What is it made of?

A

Volatile memory such as RAM. It handles program data and communicates with the processor. It is made of circuits of chips.

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

How does RAM work

A

Electric Charge flows through capacitors. Capacitors with a charge on them are 1’s, capacitors with no charge are 0’s.

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

What type of RAM must be refreshed to maintain its charge?

A

DRAM (Dynamic RAM)

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

What type of RAM doesn’t need to be refreshed to maintain its charge? Why?

A

SRAM (Static RAM), it uses areas of high and low voltage to determine charge, so no refreshing is needed.

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

What two components is the CPU made up of?

A
  1. The Control Unit

2. The Arithmetic Logic Unit (ALU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. How does a CD/DVD drive write data?

2. How does the Hard Drive store data?

A
  1. A laser etches pits into the surface of the disc which represents the 1’s and 0’s.
  2. Magnets are used to create areas of north south magnetic polarity. These represent 1’s and 0’s.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A bit isn’t very useful on its own!

  1. What is the other, more useful unit of storage is used?
  2. How many bits are used to make up this Unit?
  3. What is a word?
  4. How many ‘Useful Units’ are in a 64 bit word?
A
  1. A byte!
  2. 8 bits make up a byte!
  3. 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!
  4. 8Bytes! (8bits x 8Bytes = x64)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is assigned to a byte in order for it to be located by the processor?

A

An address

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

A byte can represent 4 types of data. What are they?:

A
  • A whole number
  • A negative, whole number.
  • A character.
  • A number with a fractional part.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The “Stored Program Concept” represents how the CPU interacts with program data and memory.

  1. What are the two different architectures that relate to the “Stored Program Concept”
  2. What are the three main differences between the two architectures?
A
  1. 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What function does the ALU perform?

A

It performs the Arithmetic and Logic Operations on data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. What is the purpose of the Control Unit?

2. What does the Control Unit use to achieve this?

A
  1. To synchronise and manage processes.

2. A clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. 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?

A
  1. Words

2. Registers

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

Define a register:

A

“A small set of high speed memory found in the cpu.”

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

The number of registers is limited. How are processes managed to mitigate this issue?

A

Data is moved continually between the register and memory to free up space for new processes.

17
Q

What can a register hold?

A
  • Instructions
  • Memory Addresses
  • Data
18
Q

What is a general register?

A

A general register is a register which holds an intermediate value used for a process or algorithm.

19
Q

What cycle is controlled by the Control Unit?

A

The “Fetch Execute” cycle

20
Q

The Control Unit contains a special register which contains the memory address of the next executable instruction.

What is this called?

A

The “Program Count”

21
Q

What are the six steps that occur in the fetch execute cycle?:

A
  1. Fetch the next instruction from the memory address pointed at by the PC.
  2. Increment the PC to point to the next instruction in memory.
  3. Decode The Instruction.
  4. Fetch data from memory if needed.
  5. Execute the instructions.
  6. Store results to memory if needed.
22
Q
  1. ) What is Pipelining?
  2. ) Why is pipelining used?
  3. ) What is the more technical term for computing instructions in parallel?
A
  1. ) Processing each fetch, decode, execute and store process concurrently and in parallel.
  2. ) It speeds up the fetch execute cycle as all steps occur simultaneously, not sequentially.
  3. ) Instruction-level Parallelism.
23
Q
  1. ) CISC has a ………… and more feature rich instruction set than RISC.
  2. ) CISC has a ……….. clock speed than RISC
  3. ) CISC has ……….. general purpose registers.
  4. ) CISC uses ………. or ……….. Pipelining.
  5. ) CISC is usually used in ………. and Mainframes.
A
  1. ) Larger
  2. ) Slower
  3. ) Fewer
  4. ) Limited or No
  5. ) PC’s
24
Q
  1. ) RISC processors use …………., ………… simplified instruction sets.
  2. ) RISC processors have a ………. clock speed.
  3. ) RISC has ……….. general purpose registers.
  4. ) RISC uses ………. Pipelining (Instruction Level Paralellism)
  5. ) RISC is used mainly in ……….. devices.
A
  1. ) Smaller, simplifies.
  2. ) Faster.
  3. ) More.
  4. ) Extensively.
  5. ) Mobile.