3 Flashcards

1
Q

Computer

A
  • Takes some kind of input and processes it to produce and output
  • Made up of hardware and software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Von Neumann concept

A
  • Stored program concept - allowed both program instructions and data to be stored together in a computer’s main memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

RAM

A
  • Random-access memory
  • Consists of a collection of storage locations, each with its own unique memory address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Control unit

A
  • Decodes instructions received from main memory
  • Coordinates the actions of the other parts of the CPU in order to execute them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Arithmetic logic unit

A
  • Performs arithmetic and logic operations on data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Registers

A
  • Proved fast temporary storage for instructions, intermediate results, and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Instruction register

A
  • Holds the instructions currently being executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Accumulator

A
  • Holds the results of calculations from ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fetch-decode-execute-cycle

A
  • CPU fetches an instruction from memory
  • Decodes the instruction
  • Executes the instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Address bus

A
  • Carries the address of the memory location that the CPU will read and write to
  • Unidirectional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Data bus

A
  • Holds the value being read from or written to memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Control bus

A
  • Carries command signals from the control unit to other components so that they know whether to read or write data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Cache

A
  • Very fast storage which contains frequently used intructions and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Clock

A
  • Sends out electronic signals at regular intervals to all the other hardware components in order to synchronise their actions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fetch

A
  • The control unit places the memory address of the next instruction on the address bus
  • It sends a read signal to RAM along the control bus
  • The RAM receives the signal and copies the content of the memory location indicated by the address bus onto the data bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Decode

A
  • The control unit decodes the instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Execute

A
  • The control unit sends signals to the other components of the CPU instructing them what to do
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Pipelining

A
  • The CPU executes programs more quickly by overlappping the stages of the fetch-decode-execute cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Why is secondary storage needed?

A
  • Storage of programs and data when the power is turned off
  • Semi-permanent storage that can change
  • Backup of data files
  • Archive of data files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Magnetic storage + 3

A
  • Data is stored on the surface of a platter as a series of bits
  • An area that is magnetised represents a 1 and an area that is demagnetised represents a 0
  • To write the magnetic states is altered, to read te magnetic states are detected
    1. Has high storage capacity
    2. Quick to access data
    3. Has moving parts which eventually fail
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Optical storage + 3

A
  • Data is stored as pits and lands on the surface of the disk
  • A land represents a 1 and a pit represents a 2
    1. Low capacitiy compared to other types of storage
    2. Slow to access data
    3. Thin, lightweight and portable
22
Q

Solid-state storage + 5

A
  • Uses chips, made of transistors that trap electrons in a pool
  • Full pools represent 0s and empty pools represent 1s
    1. Medium storage capacity
    2. Very quick to access data
    3. No moving parts, very reliable
    4. No noise, low power
    5. Expensive compared to other types of storage
23
Q

Embedded system

A
  • A computer system with a dedicated function within a larger machanical system
  • Designed to perform one particular function
  • Small and inexpensive
  • Low power consumption
24
Q

Examples of embedded systems

A
  • Traffic lights
  • Domestic appliances
  • Factory equipment
  • Engine management systems
  • Hospital equipment
25
Q

Internet of things

A
  • A system of interrelated computing devices, mechanical and digital, with the ability to transfer data over a network without requiring human-to-human or human-to-comuter interaction
26
Q

Operating system

A
  • A program that controls and manages the hardware and all other software on a computer and provides an interface for users
27
Q

Application software

A
  • Programs or apps designed for end users, such as web browsers, a spreadsheet, a console game, an email client, or a payroll application
28
Q

Utility software

A
  • Programs that add functionality to a computer system or improve its performance in some way
  • Examples: disk repair, compression, anti-malware, encryption
29
Q

Operating system: File management

A
  • The OS organises and keeps track of files stored on a computer’s secondary storage
  • File permissions are used to control who can access a file and what they are allowed to do with it
    1. Read
    2. Write
    3. Execute
    4. Delete
30
Q

Operating system: Process management + types

A
  • When programs are loaded into the computer’s main memory, the OS allocates each of them a share of the CPU
    1. First in first out
    2. Shortest job first
    3. Round robin
31
Q

First in first out

A
  • Processes queue in the order in which they arrive
32
Q

Shortest job first

A
  • The proces which is closes to finishing goes next
33
Q

Round robin

A
  • Each process is assigned a time slice
  • Processes wait in the queue
  • The process at the head of the queue goes next
  • At the end of its time slice, if it is not completed, it goes to the back of the queue
34
Q

Operating system: Device driver

A
  • A piece of software that relays instructions and data between the OS and the peripheral device e.g printers
35
Q

Operating system: User management

A
  • OS provides a user interface - graphical user interface (GUI) with windows, icons, menus and pointers
36
Q

Operating system: Access control

A
  • Determining who is allowed to use the computer system
  • Uses passwords or some form of biometric scan such as face recognition
37
Q

Utility software: file repair

A
  • A file has become corrupt, unrecognisable, or damaged as a result of a cyberattack or a device malfunction
  • Scans the damaged file and extracts as much data as possible and stores it in a new file
38
Q

Utility software: backup

A
  • Backup tool makes a backup of important data and stores it on a different storage device
  • Should the file get lost or damaged, it can be restored
39
Q

Utility software: data compression

A
  • A tool used to compress files to reduce their file size freeing up space
    1. Takes up less space
    2. Uses less mobile data when sent across network
    3. Takes less time to view file
40
Q

Utility software: disk defragmentation

A
  • Rearranges the files stored on a machanical hard drive to speed up access and consolidate free space
41
Q

Utility software: anti-malware

A
  • Anti-malware tools are designed to eliminate malicious software from a computer
42
Q

Utility software: robust software

A
  • A code vulnerability is a flaw in a program that compromises security
    1. Not a properly thought-through design
    2. Not sticking to agreed coding practices and standards
    3. Making do with a temporary fix to a problem
    4. Writing unstructured code instead of subprograms
    5. Skipping testing
43
Q

Code reviews

A
  • Review by another programmer - someone with more experience to check for any bad programming practices
  • An automated review - a specialist piece of software is used to examine the code. Highlights potential issues such as vulnerabilities
44
Q

Instruction set

A
  • The instructions that a CPU can execute
45
Q

High-level language

A
  • Such as Python or Java, has to be translated into machine code in order for the computer to execute
46
Q

Low-level language

A
  • Assembly language
47
Q

Mnemonic

A
  • A short memorable keyword which is translated into appropriate binary code
  • For example: ADD
48
Q

Translators

A
  • Input text of program written in a high-level language and output machine code
  • Compiler and interpreter
49
Q

Compiler

A
  • Translates all the code in one go
50
Q

Interpreter

A
  • Translated and runs one line at a time