Mock 1 Flashcards

(41 cards)

1
Q

Front

A

Back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Program counter

A

Holds the address of the next instruction to be fetched.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Current Instruction Register

A

Stores the instruction currently being executed and decoded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Memory Address Register (MAR)

A

Holds the relevant memory address to read from or write to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Memory Data Register (MDR)

A

Stores data being transferred to and from memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Arithmetic and Logic Unit (ALU)

A

Performs mathematical calculations and logical decisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Accumulator

A

Temporary storage register in the ALU that holds data while being processed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

RISC

A

Reduced Instruction Set Computer: simple instructions, one clock cycle each. Advantages: Allows pipelining, faster execution. Disadvantages: Compiler does more work

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CISC

A

Complex Instruction Set Computer: large instruction set to reduce lines of code. Advantages: Compiler does little work

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

GPU

A

Graphics Processing Unit: dedicated graphics processor used to render images stored in graphics card RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Multi-core CPU

A

CPU containing more than one core to allow parallel processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Factors affecting processor performance

A

Number of cores

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

RAM

A

Random Access Memory: stores programs/data currently in use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ROM

A

Read Only Memory: permanently stores essential instructions like BIOS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Functions of an operating system

A

User interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Memory management types

A

Paging: fixed-size pages, may be non-contiguous. Segmentation: logical segments of varying sizes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Virtual memory

A

Uses part of the hard disk as RAM

18
Q

Distributed operating system

A

Splits tasks over multiple computers

19
Q

Multitasking operating system

A

Allows a user to run multiple jobs at the same time.

20
Q

Multi-user operating system

A

Allows multiple users by allocating CPU slices using scheduling.

21
Q

Mobile operating system

A

Consists of a main interface OS + a real-time hardware-specific OS.

22
Q

Embedded operating system

A

OS on a chip, for specific functions on dedicated hardware.

23
Q

Real-time operating system

A

Processes data immediately as it arrives.

24
Q

Open-source software

A

Publicly available code that can be copied, changed, redistributed.

25
Closed-source software
Proprietary software with access restricted by copyright licensing.
26
Utility program
Performs housekeeping tasks like defrag, backup, virus checking, compression.
27
Scheduling algorithms
Round robin
28
Shortest remaining time
Chooses process with least time left.
29
Shortest job first
Prioritises smallest tasks.
30
Multi-level feedback queues
Prioritises short and I/O bound processes with multiple queues.
31
Round Robin
FIFO with fixed time slices.
32
First come first served
Jobs executed in the order they arrive.
33
BIOS
Basic Input/Output System
34
Device drivers
Allow OS to communicate with hardware peripherals.
35
Virtual machines
Software imitation of computer systems
36
Low-level language
Machine code or assembly
37
High-level language
Easier for humans to read/write (e.g., Python).
38
Interpreter
Executes high-level code line-by-line.
39
Compiler
Translates whole high-level program into machine code.
40
Assembler
Converts assembly into machine code.
41
Stages of compilation
Lexical analysis → Syntax analysis → Code generation → Optimisation.