Computer Hardware Flashcards

1
Q

In the fetch- decode-execute cycle, define the term:

Fetch

A

The CPU retrieves an instruction from the main memory.

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

In the fetch- decode-execute cycle, define the term:

decode

A

Working out what needs to be done to carry out the instruction.

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

In the fetch- decode-execute cycle, define the term:

Execute

A

Carrying out what is specified by the instruction.

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

What does the following stand for:

CPU

A

Central Processing Unit

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

What does the following stand for and what does it do:

CU

A

Control Unit
* Manages how data is processed by the CPU
* Manages how CPU and other components communicate
* Executes all instructions
* Informs other devices how to respond to instructions

In summary the main job of the CU is to:

  • To decide which instruction to carry out next and fetch it from memory.
  • To decode the instruction (work out what needs to be done to carry the instruction out).
  • To execute the instruction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the following stand for and what does it do:

ALU

A

Arithmetic and logic unit
* Processes data that requires arithmetic caulculations e.g. add
* Performs logical comparisons e.g. And, Or
* Usually has a register (accumulator) to store intermediate results

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

What does the following stand for and what does it do:

IAS

A

Immediate Access Store
* Also known as main memory
* Stores all programs & data temporarily while in use
* Often referred to as registers (very small amount of storage)
* In a 64-bit processor each register will store 64 bits.
* During Fetch-Execute cycle instructions are fetched from specific storage location in the IAS using an address
* Each memory location has a unique address

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

How many registers do we have to help process data in the FDE cycle?

A

5

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

What are the 5 registers used in the FDE cycle?

A
  1. Program counter (PC)
  2. Memory address register (MAR)
  3. Memory data register (MDR)
  4. Instruction register (IR)
  5. Accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does computer hardware include?

A

The physical parts of a computer system.
- Input devices
- Processing devices
- Storage devices
- Output devices

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

Give examples of

Input devices

A

Keyboard
Mouse
Microphone

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

Give examples of

Output devices

A
  • Monitors
  • Speakers
  • Printers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Give the definition of an

Input device

A

A device that allows us to put raw data into a computer.

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

Give the definition of an

Output device

A

Devices that let the computer communicate with the user.

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

What are the two types of storage?

A

A main store - ROM/RAM
Backing Store - can be internal (hard disk) or external (USB dirve)

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

What are the 3 categories internal memory can be divided into

A
  1. RAM - Random Access Memory
  2. ROM - Read Only Memory
  3. Cache
17
Q

Describe RAM

A

Memory that can be read from or written to
Volatile - will be lost when computer is switched off
Holds data/programs that are currently being used

18
Q

Describe ROM

A

Can be read from but not written to
Data stored is permanent - canโ€™t be changed
Non-volatile - used to store programs frequently used by the computer

19
Q

Describe cache

A

RAM is compartively slow compared to speed of registers
Cache is used to store data that is frequently used, recently used or about to be used
Means that data doesnโ€™t have to be fetched from RAM

20
Q

How many tasks does the CPU complete at one time?

21
Q

What is an instruction?

A

An action that a program wants the CPU to carry out.

22
Q

What are the two parts of an instruction?

A

Operator - what operation needs to be done
Operands - the data

22
Q

What does the Program Counter do?

A
  • Stores the address of the next instruction
  • As many program instructions are stored in sequence the program counter is automatically increased by 1 each time an instruction is fetched
  • The program counter stores the next instruction address in the sequence
23
Q

What does the Memory Address Register do?

A
  • All program instructions are stored in the main memory of the CPU in a number of memory locations.
  • Each memory location contains a unique address.
  • The address of the current instruction or data being executed is temporarily stored in the MAR.
24
Q

What does the memory data register do?

A
  • Temporarily stores data fetched from or written to the main memory of the CPU
  • All data transferred from main memory to CPU goes via MDR
24
Q

What does the instruction register do?

A

Temporarily stores the current instruction to be decoded and then executed

25
Q

What does the accumulator to?

A
  • Dedicated register that is part of the ALU
  • When calculating results are initially stored in the accumulator before being stored in the main memory
  • Default location to store any calculations performed by the ALU
26
Q

Give 2 factors that can influence the speed of processing

A

Processor clock speed
Cache