Systems Architecture (P1)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/37

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.

38 Terms

1
New cards

Examples of input devices

  • keyboard

  • trackpad

  • microphone

  • sensor

  • touchscreen

2
New cards

Examples of output devices

  • speakers

  • displays / monitors

  • prints

  • projectors

3
New cards

CPU (central processing unit)

Processes and executes instructions.

4
New cards

Von Neumann Architecture

An architecture where program instructions and the data the programs are using are both stored in the same memory.

  • CPU accesses both instructions and data from the same RAM

5
New cards

What are the components of the CPU?

Main two:

  • CU

  • ALU

and:

  • Registers (very fast memory locations)

  • Cache (holds frequently repeated instructions, slower than registers but faster than RAM)

6
New cards

What are the 4 registers?

  • PC (program counter)

  • MAR (memory address register)

  • MDR (memory data register)

  • ACC (accumulator)

7
New cards

Registers function

Temporary storage of data and instructions during processing

8
New cards

PC function:

Holds the address of the next instruction to be executed. Increments by 1 after each cycle.

9
New cards

MAR function:

Holds the memory address of current instruction so it can be fetched from memory

10
New cards

MDR function:

Holds the data instruction and data fetched from memory

11
New cards

ACC function:

Holds the result of an instruction or result from ALU

12
New cards

CU (control unit) function:

Coordinates and controls all activities taking place in the CPU.

  • decodes instructions and executes them

  • receives signals from system clock

  • directs timing and control of other parts

  • runs FDE cycle

13
New cards

ALU (arithmetic logic unit) function:

Where arithmetic logic operations are calculated.

  • including AND, OR and NOT

14
New cards

FDE (fetch-decode-execute) cycle steps:

  1. PCC holds the address of the next instruction to be fetched.

  2. The processor sends a signal to the memory address held in the MAR.

  3. The instruction/data held in the memory address is sent along to the MDR.

  4. The instruction/data held in the MDR is copied to CIR.

  5. The instruction/data held in the CIR is decoded and then executed by the CU.

  6. Results of processing are stored in the ACC.

  7. The PC is incremented by one and the cycle repeats again.

15
New cards

FDE cycle

Fetch:

  • Fetches instructions from main memory and brings the instructions back into the CPU

Decode:

  • Decodes the instruction

Execute:

  • Carries out the instruction by performing calculations and storing information.

16
New cards

What three things affect CPU performance?

  • Clock speed

  • Number of processor cores

  • Cache

17
New cards

What else can affect performance of a computer?

  • RAM

  • SSD

  • HDD

  • Graphics card

18
New cards

What is clock speed and how does it affect CPU performance?

Amount of FDE cycles per second.

  • The higher the clock speed, the more instructions are processed per second, measured in Hertz.

19
New cards

What is number of processors and how does it affect CPU performance?

Number of duplicate processing units placed in one CPU.

  • The more processors, the more instructions can be processed at the same time enabling multitasking.

    Tasks can be split between processors.

→ A core of 2.5Ghz can run 2.5 billion FDE cycles per second

20
New cards

Why does having a quad-core processor over a dual-core processor not always result in a ‘faster computer’?

  • Some software only designed to run on 1 core and not multiple

    → so some tasks cannot be split across cores.

  • Clock speed, RAM and Cache also affect speed

21
New cards

What is cache and how does it affect CPU performance?

A small amount of very fast and expensive memory in the CPU that holds frequently repeated instructions.

  • The more cache, or better type of cache, the less time the CPU has to wait for data as it doesn't need to access the RAM.

    → Data transferred and accessed faster: makes CPU more efficient.

    → RAM is accessed less frequently

22
New cards

Levels of Cache

Level 1 Cache: Extremely fast (2-256KB)

Level 2 Cache: Very fast (256KB-8MB)

Level 3 Cache: Slowest type - still faster than RAM (4MB-50MB)

23
New cards

Embedded System and characteristics

A single microprocessor that includes RAM, ROM and a CPU, typically used to control a device using simple inputs with a dedicated function.

  • Limited functions

  • Dedicated microprocessor

  • Hard to change function

24
New cards
25
New cards

Embedded system examples

  • Smart TVs

  • washing machines

  • pacemakers

  • cameras

  • fridges

  • kettles

  • DVD players

  • microwaves

26
New cards

RAM (random access memory) function

Stores running programs and parts of the operating system. It is volatile, meaning all data is lost when the computer is switched off.

  • Read and Write

27
New cards

ROM (read only memory) function

Stores boot up instructions, bootstrap and BIOS. It is non-volatile, meaning data isn’t lost when computer is switched off.

  • Read only

28
New cards

Primary storage function and main two types

Computer component that stores data, programs and instructions currently in use.

  • Fast: directly accessed by the CPU

Main two types:

  • RAM

  • ROM

29
New cards

Secondary storage function and examples

Refers to memory that stores data and programs permanently, even when computer is switched off.

  • Slower: Is not directly accessed by the CPU

Examples:

  • SSD

  • CD

  • Floppy disk

  • HDD

30
New cards

Magnetic storage use

Used in personal computers for the storage of large quantities of data.

31
New cards

Magnetic storage advantages

  • Cheaper than solid state

  • Reliable

  • Large storage capacities

  • Relatively fast write speeds

32
New cards

Magnetic storage disadvantages

  • Lots of mechanical parts

  • Low durability

  • Not very portable

33
New cards

Optical storage use

Used to store data such as songs, videos and other multi-media storage

34
New cards

Optical storage advantages

  • Relatively Cheap

  • Very portable - physically small

35
New cards

Optical storage disadvantages

  • Low storage capacities

  • Easily damaged

  • Slow write speeds

36
New cards

Solid state storage uses

Used in high-end computers, laptops, smartphones and tablets

37
New cards

Solid state storage advantages

  • Highly durable

  • Reliable

  • No moving parts, no noisy fans

  • Fast write / read speeds

38
New cards

Solid state storage disadvantages

  • More expensive than magnetic and optic storage

  • Similar storage capacities to magnetic storage