Topic 3 : Computers

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

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

51 Terms

1
New cards

What is the von Neumann stored program concept?

A computer architecture design where both data and instructions are stored together in the same main memory (RAM) and fetched by the CPU

2
New cards

Name the 6 common CPU components

  1. Control Unit (CU)

  2. Arithmetic logic unit (ALU)

  3. Registers

  4. Cache

  5. Buses

  6. Clock


3
New cards
term image
knowt flashcard image
4
New cards

What is the role of the Arithmetic Logic Unit (ALU)?

It performs all the arithmetic calculations (addition, subtraction etc) and logical decisions (AND, OR, NOT)

5
New cards

What is the function of the control unit (CU)?

It coordinates and manages the CPU’s activities, directing the flow of data, and deciding instructions

6
New cards

What is the purpose of the CPU’s clock?

It sends out a continuous pulse (signal) to synchronise the timing of all internal components and operations

7
New cards

Define a CPU register

A location of extremely fast, temporary storage directly inside the CPU used to hold single instructions or data items currently being processed

8
New cards

What are the 5 registers in a CPU

  1. Program counter

  2. Memory address register (MAR)

  3. Memory data register (MDR)

  4. Current instruction register (CIR)

  5. Accumulator (ACC)


9
New cards

What is the function of the program counter?

Holds the memory addresses of the next instruction to be fetched from main memory

10
New cards

What is the function of the MAR?

Holds the address of the current instruction that is to be fetched from memory to which data is to be transferred

11
New cards

What is the function of the MDR?

Holds the contents found at the address held in the MAR, or data which is to be transferred to main memory

12
New cards

What is the function of the CIR?

Holds the instruction that is currently being decoded and executed

13
New cards

What is the function of the accumulator?

Hold the results of processing

14
New cards

What is a cache?

A small amount of high speed memory built directly within the processor. Used to temporarily hold data and instructions the processor is likely to reuse

15
New cards

Name the three buses in the CPU and state their roles

  1. Address bus - carries memory addresses from the CPU to RAM (unidirectional)

  2. Data bus - Transfers data/ instructions between the CPU and memory/ devices (bidirectional)

  3. Control bus - carries control and command signals to coordinate computer activities (bidirectional)


16
New cards

Describe the steps of the Fetch - Decode - Execute (FDE) cycle

  1. Fetch - the next instruction is retrieved from main memory (RAM) via the buses into the CPU

  2. Decode - the Control unit (CU) interprets the instruction to find out what action needs to be taken

  3. Execute - the instruction is carried out (calculation by the ALU or data loading)


17
New cards

What is memory?

The component of a computer that holds data and programs

18
New cards

What are the 3 types of main memory?

  1. RAM - random access memory

  2. ROM - read only memory

  3. Cache memory


19
New cards

Which of these are volatile?

RAM and cache memory

20
New cards

Which of these are non- volatile?

ROM

21
New cards

What is an example of a program stored in ROM?

BIOS - basic input output system : checks if hardware is functioning correctly once computer is turned on, then computers OS. Because it is always needed, it is stored in ROM.

22
New cards

What is the main structural difference between RAM and ROM?

RAM is volatile (loses data when powered off) and read/ write; ROM is non-volatile(retains data when powered off) and read-only.

23
New cards

What are the purposes of RAM and ROM in a system?

RAM stores the operating system, currently running applications, and active data. ROM stores the bootstrap loader (the initial bootup/ startup instructions for the computer)

24
New cards

Why is secondary storage needed?

For permanent, non-volatile storage of files, programs and data when the computer is turned off.1

25
New cards

What are the three types of secondary storage technologies?

  1. Magnetic - hard disk drive

  2. Optical - DVD/ Blue-ray

  3. Solid-state - SSV, USB flash drive


26
New cards

How is data stored in magnetic storage devices?

Data is represented on the surface of metal platters with tiny magnetised dots. Binary data is represented by the two states of ‘magnetised’ and ‘not magnetised’

27
New cards

How is data written?

The head magnetises or demagnetises a section of the disk that is spinning under it

28
New cards

How is data read?

The head makes a note of whether a section is magnetised or not

29
New cards

What are the advantages of magnetic devices?

  1. Fairly cheap

  2. High in capacity


30
New cards

What are the disadvantages of magnetic devices?

  1. Susceptible to damage if dropped (lots of moving parts) so not portable

  2. Vulnerable to magnetic fields


31
New cards

What are the 3 different types of optical devices?

  1. ROM (read only)

  2. R (recordable)

  3. RW (rewritable)


32
New cards

How is data stored in optical devices?

Data is stored in the reflective surface of an optical device. A laser is used to burn small marks into the surface and binary data is represented in the two states of troughs (burn) and peaks (no burn)

33
New cards

How is data written?

When writing to R or RW discs, the laser burns new troughs into the reflective surface of the disc (RW discs use a chemical dye that allows the burning process to be reversed)

34
New cards

How is data read?

The laser is shone into the surface of the disc. The peaks and troughs reflect different amounts of light. The electronics in the optical device (installed in your computer) can interpret the changes in reflected light as 1s and 0s

35
New cards

What are the advantages of optical storage?

  1. Extremely light and portable (which is why they are used for distribution)

  2. Relatively cheap

  3. If the reflective surface is protected, they can last for long time


36
New cards

What are the disadvantages of optical storage?

  1. Optical discs have a much lower capacity than hard drives or SSDs

  2. Slow seek time (disc must spin to the right location before data can be accessed)

  3. Some CDs, DVDs, and Blu-ray Discs are not rewritable


37
New cards

How is data stored in solid state storage?

Binary data is stored in a similar way to RAM, however solid state devices are NON VOLATILE.

38
New cards

How is data read and written in SSDs?

Solid state devices are random access, meaning data can be accessed in any order and there is no seek time required.

Binary data stored in an SSD is organised into a grid

39
New cards

What are the advantages of SSDs?

  1. No seek time

  2. Portable

  3. Durable (absence of moving parts)

  4. Lack of moving parts also reduces energy consumption, which in turn reduces the amount of heat generated in the computer system



40
New cards

What are the disadvantages of SSDs?

  1. Limited lifespan - number of times SSDs can be written to is limited


41
New cards

How is data read?

42
New cards

Compare solid-state vs magnetic storage on speed and durability

Solid-state is much faster and more durable (no moving parts) but more expensive per gigabyte; Magnetic is slower and prone to physical shock but cheaper for higher capacities

43
New cards

What is a general purpose computer?

A computer designed to be able to carry out a wide range of instructions

44
New cards

What is an embedded system?

A dedicated, single-purpose computer system built inside a larger mechanical or electrical device (e.g., washing machine, microwave)

45
New cards

What are some benifits of using an embedded system rather than a general purpose computer in microwaves, fridges etc?

  1. Fewer components and integrated chips let them fit inside larger devices

  2. Running a single, fixed program with minimal user interface means fewer things can go wrong or crash compared to multitasking PCs.

  3. They need less processing power and memory, and often combine components onto a single chip or microcontroller, keeping per-unit costs low.

  4. Simpler hardware and dedicated functions use less electricity, making them more energy efficient


46
New cards

What is the primary role of the Operating system (OS)?

It manages the computer’s hardware components, resources, memory and security, while providing a user interface (UI) for the user to interact with.

47
New cards

Define Utility Software

Systems software designed to help maintain, configure, optimise or analyse a computer system (e.g., defragmentation tools, antivirus tools, file compression)

48
New cards

What is the difference between a high-level and low-level programming language?

  1. High-level languages are abstract, use English-like syntax, and are easy for humans to read/ write. (Python)

  2. Low-level languages are close to hardware instructions, execution-efficient, but complex to write. (Assembly, machine code)


49
New cards

What does an Assembler do?

It translates Assembly language code into machine code (binary instructions that the CPU can execute directly)

50
New cards

Explain how a compiler works, including its main advantages and disadvantages

It translates the entire high-level code into machine code all at once

Advantage : code runs very fast after compilation

Disadvantage : finding band fixing errors takes longer as the whole code must recompile

51
New cards

Explain how an interpreter works, and its main advantages and disadvantages

It translates and executes high-level source code line by line

Advantage : excellent for debugging; errors are spotted instantly on the exact line they happen

Disadvantage: programs run slower because the code must be translates every time it is run