Contemporary processors, input and output devices and starage

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:29 AM on 6/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

47 Terms

1
New cards

What is a processor

Hardware than can execute instructions

2
New cards

What does a CPU do

Controls the execution of co puter programs

3
New cards

What are the components of a processor

ALU, CU, Register

4
New cards

What does a Control Unit do

Manages the activities in the processor

5
New cards

What are Registers

Small stores of memory in a processor

6
New cards

Name all the 5 special purpose registers and what they do

Program Counter (PC): Holds the address of the next instruction to be fetched

Current Instruction Register (CIR): Contains the instruction currently being executed.

Memory Address Register (MAR): Holds the address of the data to be fetched.

Memory Data Register (MDR): Contains the data that is being read from or fetched

Accumulator (ACC): Holds the result from an instruction

7
New cards

What is a bus

A collection of parallel lines that transmit data

8
New cards

Name the 3 types of buses and what they do

Address Bus: A unidirectional bus that transfers data from the CPU to the memory

Control Bus: A bidirectional bus that carries signals to and from the CPU, memory and other devices

Data Bus: A bi- directional bus that carries data to and from the CPU and memory

9
New cards

Explain the fetch cycle

The address in the PC is copied to the MAR then the PC is incremented

The MAR sends a read request along the control bus

The MAR sends the address stored in it to the memory along the address bus

The data is sent from memory to the CPU along the data bus and is stored in the MDR

The data in the MDR is then copied into the CIR

10
New cards

Explain the decode cycle

After the fetch cycle, the instruction in the CIR is interpreted by the control unit

It is split into opcode and operand which the control unit uses to determine what hardware is needed and if any additional data is required

11
New cards

Explain the Execute cycle

After the decode cycle, if additional is required, the address is copied to the MAR and another fetch cycle is performed until the data is stored in the MDR

If the instruction is an arithmetic or logical instruction, it is carried out by the ALU

If it a memory instruction, the MAR/MDR is used to read or write data

Then the result is stored in the accumulator

12
New cards

How is the performancew of a CPU measured

By how many Instructions it can execute in a given amount of time

13
New cards

What are the factors that affect a CPU performance

Clock speed, Number of cores, Cache size and pipelining

14
New cards

What is clock speed

Amount of clock cycles that a clock has per second

15
New cards

What is a CPU core

A processing unit that can execute instructions

16
New cards

What does a CPU core contain

AN ALU, CU, clock, cache

17
New cards

What is a cache

A small memory store that holds frequently accesed data

18
New cards

Ways cache can be used to increase CPU performance

Ensure that it holds the most frequently accessed data

Increase size

19
New cards

Explain the 3 levels of cache

Level 1: fastest, smallest

Level 2:slightly slower, slightly bigger

Level 3:Biggest and slowest but still faster than RAM

20
New cards

What happens when a CPU needs data from a cache

It checks level 1, if its not there it then checks level 2, if its no there it checks level 3 and if its not in any of these it gets it from the RAM

21
New cards

What is pipelining

This is when different instructions are processed concurrently

22
New cards

How does pipelining work

When one instruction is being executed, while another is being decoded and another is being fetched

23
New cards

What are the benefits of pipelining

Less idle time

More instructions being completed in a given time

24
New cards

What are the disadvantages of pipelining

Branching could create hazards

Instructions with slower execution time hold up the others which cause bottlenecks

Process could stall if different instruction require the same component

25
New cards

What does a CPU architecture focus on

The design of the system

26
New cards

What are the two types of CPU architectures

Von nuemann and harvard architecture

27
New cards

Describe the Von Nuemann architecture

One ALU, one control unit, registers and one storage unit

28
New cards

Describe the harvard architecture

One ALU, one control unit, registers and 2 storage units. One for instructions and one for data

29
New cards

Advantages of Von neumann architecture

Less complex, cheaper, uses fewer buses

30
New cards

Disadvantages of Von nuemann

Von nuemann bottlenecks

31
New cards

Advantages of Harvard architecture

No von nuemann bottlenecks

Faster execution time

More predictable timing

32
New cards

Disadvantages of Harvard architecture

More complex

More memory required

33
New cards

Why is Harvard used in real time systems

It guarantees predictable and consistent timing because instructions and data dont have to compete for the same bus or memory

34
New cards

What is an Instruction set and what does it do

A set of instructions it is able to perform ad it outlines opcode, operand and addresing modes would work

35
New cards

What is a RISC processor

A processor that aims to have a small instruction set with all instructions being used regularly

36
New cards

Features of a RISC processor

Each instruction performs a simple task

For complex tasks, multiple instructions need to be combined

Each instruction takes one clock cycle

The CPU hardware is simpler

37
New cards

What is a CISC processor

A processor that aims to have a larger instruction set with instructions covering a lot of different tasks

38
New cards

Features of a CISC processor

The CPU hardware is more complex

Different instructions take different lenghts of time to complete

Some instructions will cover multiple operations in one go

39
New cards

Benefits of a RISC processor

Cheaper to manufacure

Less power is needed to run it

Pipelining is easier since each instruction takes one clock cycle

40
New cards

Benefits of CISC processors

Translating from high level language to low level language is quicker and easier

Writing low level language is easier

41
New cards
42
New cards
43
New cards
44
New cards
45
New cards
46
New cards
47
New cards