compsci paper 1

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

CPU purpose

processes data and instructions by repeating FDE.

2
New cards

CPU Registers

Control Unit

ALU

Program Counter

Memory Address Register

Memory Data Register

Current Instruction Register

Accumulator

3
New cards

Control Unit

directs the operations of the CPU. Manages FDE

It has the following jobs:

Controlling and coordinating the activities of the CPU

Managing the flow of data between the CPU and other devices

Accepting the next instruction

Decoding instructions

Storing the resulting data back in memory

4
New cards

ALU (Arithmetic and Logic Unit)

performs all arithmetic and logical operations inside the CPU

5
New cards

Register

small memory cells that operate at a very high speed. They are used to temporarily store data and all arithmetic, logical and shift operations occur in these registers.

6
New cards

Cache memory

temporary storage space for frequent accessed data

7
New cards

FDE

Fetch phase: - Address from the PC is copied to the MAR - Instruction held at that address is copied to MDR by the data bus - Simultaneously, the contents of the PC are increased by 1 - The value held in the MDR is copied to the CIR

Decode phase: - The contents of CIR are split into operand and opcode

Execute phase: - The decoded instruction is executed

8
New cards

Program Counter (PC)

Holds the address of the next instruction to be executed.

9
New cards

Accumulator (ACC)

Stores the results from calculations

10
New cards

Memory Data Register (MDR)

Temporarily stores data that has been read or data that needs to be written.

11
New cards

Current Instruction Register (CIR)

Holds the current instruction being executed, divided up into operand and opcode.

12
New cards

Busses

f parallel wires which connect two or more components inside the CPU

13
New cards

Busses name

Data bus, control bus, address bus

all called system bus

14
New cards

Data Bus

This is a bi-directional bus (meaning bits can be carried in both directions). This is used for transporting data and instructions between CPU, memory and  components.

15
New cards

Address Bus

<p></p>
16
New cards

Control bus

knowt flashcard image
17
New cards

Control signals

knowt flashcard image
18
New cards

Pipelining

process of completing FDE (three step instructions) simultaneously, while holding data in a buffer in close proximity to CPU untill required, while one instruction executed, another can be decoded and another fetched. aimed to reduce amount of CPU which is idle.

19
New cards

Types of pipelining

knowt flashcard image
20
New cards

Pipelining advantages

  • Increases instruction throughput (more instructions per unit time)

  • Reduces CPU idle time by overlapping stages

  • Improves overall efficiency of processor use

  • Speeds up execution of long programs, especially loops

21
New cards

CPU performance effected by:

The performance of the CPU is affected by three main factors:

• Clock speed is the number of cycles per second, so a higher clock speed means more instructions can be executed per second.

The number of cores is important as more cores allow a CPU to carry out multiple instructions simultaneously, improving multitasking and parallel processing.

• Cache memory is small and very fast memory inside the CPU that stores frequently used instructions, reducing the time needed to access RAM.

22
New cards

what is clock speed determined by

system clock. This is an electronic device which generates signals, switching between 0 and 1. All processor activities begin on a clock pulse, and each CPU operation starts as the clock changes from 0 to 1

23
New cards

core

independent processor that is able to run its own fetch-execute cycle. A computer with multiple cores can complete more than one fetch-execute cycle at any given time

24
New cards

why might a dual core processor not work twice as fast as one core processer

However, not all programs are able to utilise multiple cores efficiently as they have not been designed to do so, so this is not always possible

25
New cards

vonn neuman architectire

Includes basic computer components (CU, ALU, registers and memory units) shared memory and shared data bus used for both data and instructions

Could lead to bottleneck

26
New cards

harvard architectire

Physically seperate memories for instructions and data

Useful when memory has different characteristics allowing optimisation of the size of individual memory cells and their bases depending on your needs.

27
New cards

Vonn neuman vs Harvard adv

knowt flashcard image
28
New cards

Contemporary processing

knowt flashcard image
29
New cards
30
New cards
31
New cards
32
New cards
33
New cards
34
New cards
35
New cards
36
New cards