3.4- Computer Systems

studied byStudied by 3 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 79

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

80 Terms

1

Truth Table

knowt flashcard image
New cards
2

AND Gate

knowt flashcard image
New cards
3

OR Gate

knowt flashcard image
New cards
4

NOT Gate

knowt flashcard image
New cards
5

XOR Gate

A gate that if either input is true, then the output is true

<p>A gate that if either input is true, then the output is true</p>
New cards
6

Hardware

The physical components that make up a computer system

New cards
7

Software

The non-physical programs that are stored by and run on a computer system

New cards
8

System Software

  • System software controls / manages / runs the computer

  • System software enables the computer to function

  • System software manages the computer hardware application software

  • System software provides a platform for other software / provides a platform to run application software

New cards
9

Operating System (OS)

A group of programs which are essential for managing the computer’s resources

New cards
10

Functions of the operating system

Processor Management

Memory Management

Input/Output (Peripheral) Management

Application Management

Security Management

New cards
11

Processor Management

  • OS coordinates the CPU to schedule processes to be executed.

  • Responsible for deciding which software runs on the processor and the time it gets

  • The CPU switches between these tasks rapidly so they seem like they are happening at the same time

  • This is called multi tasking

  • It also manages interrupts

New cards
12

Memory Management

  • The OS moves files in and out of memory (from the hard drive or virtual memory) to process tasks as required by different processes

  • Keeps a record of where each program is and its data are located

  • Ensures no data or existing software is overwritten

New cards
13

Peripheral Management

  • Peripheral device drivers are controlled by the CPU

  • Interrupt message such as ‘out of paper’ must come from the CPU

  • A buffer is used to compensate for the difference in speed of sending and receiving data between the CPU and the device

New cards
14

Application Management

  • OS manages the process of installing new applications

  • Allocates memory space for the application

  • Controls what data the application has access to

  • Provides a graphical user interface (GUI)

  • Manages user access to programs

  • Installs and updates programs

New cards
15

Security Management

  • OS controls controls user access to prevent users from accessing files they are not supposed to

  • Downloads security updates from software manufacturers to help fix bugs and improve security against malware

  • Files on the hard disk can be encrypted

New cards
16

Utility Software

  • Small programs that used in conjunction with the main OS to manage extra features or functions.

  • They are not essential to the running of the computer but make specific tasks easier or add an additional layer of housekeeping

New cards
17

Encryption Software

  • Used to encrypt or decrypt files or folders on a computer, transmitted across a network or when they are transferred to external devices (eg a USB flash drive)

  • Uses an algorithm and a key to turn plaintext into cipher text

  • In order to decrypt the data, one would need both the algorithm and the key

New cards
18

Disk Defragmentation Software

Disk defragmentation is the process of reorganizing fragmented data on a hard drive to improve efficiency and speed. Over time, files are stored in non-contiguous sectors due to frequent modifications and deletions, causing the disk to take longer to access them.

Defragmentation works by:

  1. Rearranging file fragments so they are stored contiguously.

  2. Grouping free space together to reduce future fragmentation.

  3. Improving read/write speeds by minimizing the time the disk head moves to access data.

<p>Disk defragmentation is the process of reorganizing fragmented data on a hard drive to improve efficiency and speed. Over time, files are stored in <strong>non-contiguous sectors</strong> due to frequent modifications and deletions, causing the disk to take longer to access them.</p><p>Defragmentation works by:</p><ol><li><p><strong>Rearranging file fragments</strong> so they are stored <strong>contiguously</strong>.</p></li><li><p><strong>Grouping free space</strong> together to reduce future fragmentation.</p></li><li><p><strong>Improving read/write speeds</strong> by minimizing the time the disk head moves to access data.</p></li></ol><p></p>
New cards
19

Compression Software

Software that compresses files and folders in order to reduce the amount of storage space required. They can also decompress the files and folders.

New cards
20

Application Software

Application software is for end user tasks;

New cards
21

Multi-Tasking

Where more than one operation is happening at the same time

New cards
22

Interrupts

Signals sent to the CPU from external devices that indicate an event that needs immediate attention. Can be hardware interrupts (printer out of paper) or software interrupts (divide-by-zero error)

New cards
23

Access Rights

The permissions that users have to files and folders. Common permissions are: Read, Write, Execute, Comment

New cards
24

Embedded System

A single microprocessor that includes RAM, ROM and a CPU

New cards
25

Embedded Systems vs Non-Embedded Systems

knowt flashcard image
New cards
26

Low-Level Language

Languages that sit close to the computers instruction set (the instructions that the processor understands)

New cards
27

Machine Code

A programming language that uses binary digits as instructions. Machine code is processor specific EXAMPLE: 1011 1001 0110 1001

New cards
28

Assembly Language

A programming language that uses mnemonics as instructions that directly map to machine code. Assembly language is processor specific. EXAMPLE: LDA 51

New cards
29

Compare assembly language and machine code

  • Processors execute machine code and that each type of processor has its own specific machine code instruction set

  • Assembly language is often used to develop software for embedded systems and for controlling specific hardware components

  • Assembly language has a 1:1 correspondence with machine code.

New cards
30

High-Level Languages

A set of programming languages that use English/Maths like instructions that must be translated in order to be executed. High-Level Languages are not processor specific and have data structures. EXAMPLE: print(“Hello World!”)

New cards
31

Advantages of low-level language

  • A program written in a low-level language can run very quickly

  • The code will usually require less RAM

  • Statements in a low-level language can be used to control and manipulate specific hardware components

New cards
32

Advantages of High-Level Languages

  • A high-level language is easier to learn

  • Programs can be written faster in a high-level language

  • It is easier to understand and debug and find mistakes a high-level language

  • Built in functions

  • Fewer lines of code

  • More support/help

New cards
33

Translators

A program that translates from one programming language to another programming language. There is 3 types of translator: Compiler, Interpreter and Assembler

New cards
34

Interpreter

  • Code needs to be translated each time the file is executed.

  • Code is translated a line at a time, and executes immediately

  • Interpreters do not generate machine code directly (they call appropriate machine code subroutines within their own code to carry out statements).

  • If an error occurs the interpreter stops

  • Produces no object code

  • Translates high-level language

New cards
35

Compiler

  • Translates high-level language into machine code

  • Produces an object code that can be saved and ran when required

  • Translates all code at the same time

  • Processor specific

New cards
36

Assembler

  • Translates assembly language into machine code

  • Runs quickly as low level language is closer to machine code

  • Each line of assembly language is assembled into a single machine code instruction

New cards
37

Advantages of using assembly language

• Programs written in assembly language run faster // use less processor time;

• Programs written in assembly language can interact directly with hardware (when executing);

• Assembly language programs require less memory (when executing);

• Programs written in assembly language have no unnecessary code added by a compiler;

New cards
38

Compare translaters

knowt flashcard image
New cards
39

Main Components of a Computer

knowt flashcard image
New cards
40

CPU

A component in the computer that processes instructions. Is often thought to be the ‘Brains’ of the computer. There is many components inside the CPU: The Control Unit, The Arithmetic Logic Unit as well as Registers and Cache

New cards
41

Stored Program Concept

The concept of storing program instructions and data in memory

New cards
42

Von Neuman Architecture

An Architecture where instructions and data are both stored in the same memory

New cards
43

What do registers do

Holds data used when executing an instruction // holds the result of executing an instruction // holds an instruction (CIR) // holds a memory address (MAR);

New cards
44

Arithmetic Logic Unit (ALU)

Performs Arithmetic (+, -, / ,*) and Logical(>,<, =) Operations

New cards
45

Control Unit

Coordinates the actions of the CPU // decodes instructions // sends control signals; A. controls the flow of data through the CPU

New cards
46

Clock

Regulates the timing and speed of (computer) operations // sends out a regular electronic pulse / timing signal;

New cards
47

Bus

A bus is a collection of wires through which data/signals are transmitted from one component to another.

New cards
48

What are the three types of buses

  • Data

  • Address

  • Control

New cards
49

What is the data bus

Data Bus

  • Carries actual data between the processor, memory, and other components.

  • It is bi-directional, meaning data can travel in both directions.

  • The width of the data bus (e.g., 32-bit or 64-bit) determines how much data can be transferred at once.

New cards
50

What is the address bus

Address Bus

  • Carries memory addresses from the processor to other components, such as RAM or storage.

  • It is uni-directional, meaning it only sends addresses from the CPU to memory or I/O devices.

  • The width of the address bus determines how much memory the CPU can access.

New cards
51

What is the control bus

Control Bus

  • Carries control signals that manage how data moves around the system.

  • It sends signals for operations like read, write, and clock synchronization.

  • It can be bi-directional since control signals may come from various components.

New cards
52

Factors Affecting the CPU Performance

1. Clock Speed

2. Number of Cores

3. Cache Size

New cards
53

What is the clock

  • Sends out regular electronic pulses

  • Synchronises the operations of the CPU

New cards
54

How does Clock Speed affect CPU performance

  • the more pulses a second the more fetch-execute cycles / processes per second;

  • each instruction starts on a clock pulse;

  • the more pulses per second the more instructions are likely to be carried out // a higher clock speed means more instructions can start per second;

New cards
55

How does number of cores affect CPU performance

  • affects the number of instructions that may be executed simultaneously // the greater the number of (processor) cores the greater the number of instructions that may be executed simultaneously;

  • different (processor) cores dealing with different types of instruction (eg graphics, maths) (improve the execution of software);

  • each (processor) core can fetch / execute its own instructions (which increases the speed at which instructions can be executed);

New cards
56

Multi-Core Processors

Processors that have more than one core, so can process more than one instruction at a time

New cards
57

What is cache memory

Very small fast memory that is more expensive than RAM- can transfer data to CPU faster than RAM

New cards
58

How does Cache Memory affect CPU performance

  • instructions / data take less time to transfer to the processor from cache;

  • because cache is held closer to the processor;

  • the more cache the more data / instructions can be held (close to the CPU);

  • the more cache the faster the CPU can access frequently needed instructions / data;

New cards
59

Levels Of Cache Memory

  • Level 1 cache is extremely fast but small (between 2-256KB), located on the CPU. Each core will have its own level 1 cache

  • Level 2 cache is usually also given to each core. It is very fast, but a little slower than level 1 cache. The typical size is256KB-8MB

  • Level 3 cache is the slowest type of cache, but still faster than RAM. It is usually located on the CPU and stores 4MB-50MB. The cache is shared between all the cores on the processor

New cards
60

Memory Diagram

knowt flashcard image
New cards
61

Fetch-Decode-Execute Cycle

knowt flashcard image
New cards
62

Fetch Operation

Fetch: the next instruction is fetched to the CPU from main memory

New cards
63

Decode Operation

Involves the instruction being decoded by the Control Unit to work out what it is

New cards
64

Execute Operation

Involves the Control Unit telling the relevant components to execute the instruction (Load data from memory, store d

The instruction is executed (carried out). This may include reading/writing from/to main memory.

New cards
65

Main Memory

Storage used to store programs that are currently run and and need to be accessed by the CPU. There is 2 Types of Primary Storage: Random Access Memory and Read Only Memory
Main memory is any form of storage which can be directly accessed by the CPU, except from registers and cache

New cards
66

RAM

A type of primary storage which can be read from and written to. It normally stores the operating system, the software currently in use and the data which the software is using. RAM is volatile (Loses data if the power is turned off)

New cards
67

ROM

A type of primary storage which can only be read from. It normally stores the bootstrap (The initial program that tells the computer to find the OS on the hard drive) and the BIOS((Basic Input/Output System) The program that controls basic technical configuration of the computer)). ROM is non volatile (Does not lose data if the power is turned off)

New cards
68

Secondary Storage

A type of storage where the data remains when there is no power. It can’t directly be accessed by the CPU.

New cards
69

Why is secondary storage needed

Storing data / files when the computer is turned off // on a long-term basis // using non-volatile storage;

New cards
70

Types of secondary storage

Secondary storage:

  • Hard Disk Drive (HDD)

  • Solid State Drive (SSD)

Offline secondary storage:

  • Compact Disc (CD), Digital Versatile Disc (DVD) or BluRay

  • Flash memory, SD cards

  • Removable HDD or SSD

  • Magnetic tape

New cards
71

Storage Method

The method which data is stored on the secondary storage. There is 3 methods of storage: Magnetic, Optical and Solid State

New cards
72

Magnetic Storage- how it operates

  • On a hard disk binary data represented by tiny magnetised regions;

  • where the magnetic orientation in one direction represents 0, and the other direction represents 1;

  • When reading data the read/write head is moved (to be over correct track);

  • and the platter/disk spins round;

  • A whole sector/block read in one go (by the read/write head);

New cards
73

Magnetic storage- advantages, disadvantages

Advantages:
- Large storage capacity
- Widely used (highly compatible)
- Cheap per gigabyte
- Fast write speed

Disadvantages:
- Very easy to break if dropped due to lots of moving parts (not durable)
- Effected by electromagnetic fields
- If the HDD is built into the PC then it won’t be portable

New cards
74

Optical Storage- how it works

  • The laser is shone on to the disk

  • The CD is spun to ensure all data can be read

  • The laser is reflected. Depending on the angle it reflects back determines if that is a 1 or a 0

  • The tracking mechanism moves the laser into the correct position over the CD

  • Bumps/pits form a spiral from the centre to the outside of the disk

  • Bumps/pits and lands represent the two possible bit values

  • The CD spins slower when the laser/read- head is above the outer tracks

New cards
75

Optical Storage- advantages, disadvantages and uses

Advantages:
- Cheap
- Portable
- Small (takes up little physical space)

Disadvantages:
- Easily damaged (not robust) and scratched
- Lower storage capacity
- Slow write speeds
- Required a CD reader

New cards
76

Solid State Storage- how it works

  • A large electric current is used to force electrons through a barrier and trap them on the other side

  • They remain on the other side until flashed with another current

  • These charges remain even when the power is turned off, allowing data to be saved permanently

  • When data is read, the device checks for the stored charges and converts them back into digital data (1s and 0s).

  • Writing data involves changing the electrical charges in the memory cells.

New cards
77

Solid State Storage- advantages, disadvantages, and uses

Advantages:
- Durable- not affected by magnetic fields, no moving parts, more robust
- More energy efficient- quiet, doesn’t heat up a huge amount, uses less power
- Smaller- more portable

Disadvantages:
- More expensive
- Lower storage capacity than magnetic
- Limited number of write cycles before memory wears out

New cards
78

Storage Characteristics

  • Capacity: How much data can be stored – e.g. 700 MB, 50GB or 2 TB

  • Speed: The rate (usually in MB/s) at which data can be read or written

  • Portability: how easy it is to carry – is the device small?

  • Durability: will the device break if dropped? How well does it work with extreme temperatures or magnetic fields?

  • Reliability: how likely is the data (or some of it) to be lost?

  • Cost: what is the cost of a device? How much is it to store 1 MB of data

New cards
79

Cloud Storage- how it works

  • Data is saved to servers at a remote, offsite location by a third party

  • These servers can use magnetic and/or solid- state storage

  • The data is accessed via the Internet

  • Cloud storage may make use of multiple copies of the same data stored at different locations – Redundancy

New cards
80

Cloud Storage- advantages, disadvantages, and uses

knowt flashcard image
New cards

Explore top notes

note Note
studied byStudied by 33 people
1036 days ago
5.0(2)
note Note
studied byStudied by 23 people
9 days ago
5.0(2)
note Note
studied byStudied by 17 people
477 days ago
5.0(3)
note Note
studied byStudied by 18 people
867 days ago
5.0(1)
note Note
studied byStudied by 69 people
566 days ago
4.0(1)
note Note
studied byStudied by 1 person
168 days ago
5.0(1)
note Note
studied byStudied by 332 people
700 days ago
4.7(11)
note Note
studied byStudied by 153126 people
703 days ago
4.8(671)

Explore top flashcards

flashcards Flashcard (21)
studied byStudied by 8 people
340 days ago
5.0(1)
flashcards Flashcard (114)
studied byStudied by 5 people
694 days ago
5.0(1)
flashcards Flashcard (69)
studied byStudied by 21 people
504 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 30 people
761 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 6 people
56 days ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 8 people
834 days ago
5.0(2)
flashcards Flashcard (21)
studied byStudied by 2 people
728 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 15 people
515 days ago
5.0(3)
robot