Mock Revision Flashcards

1
Q

Function of Control Unit?

A

. Coordinates all activities in cpu
. Directs flow of data between CPU and other devices
. Accepts next instruction, decodes it, handles its exectutions and stores data in registers
. Sends memory read and write requests to main memory on the control bus

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

Function of the Program Counter?

A

. Holds address of the next instruction to be executed
. At the start of the FDE the address in the PC is copied to the MAR

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

Function of the MAR?

A

. Holds address of memory location in which data or instruction is about to be fetched from or written to
. Sends address to memory down the address bus

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

Function of MDR?

A

. Used to temporarily stort data which is read from or written to memory
. all data to and from memory must travel through the data bus and through the MDR

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

Function of the CIR?

A

. Holds the current instruction being executed
. Contents of the MDR are copied to the Cir is its an instruction
. Contains the opcode and operand of the current instruction

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

Function of the ALU?

A

. Performs arethmatic and logical operations on data
. Boolean logic operations
. Often uses general purpose registers to temporarily hold result of a calculation (eg ACC)
. Conduit for input and output

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

Function of the ACC?

A

. one of the general purpose registers
. data or control info is stored in them
. more general purpose operators a processer has, the faster it’ll operate
. ALU Calculations are temporarily stored here

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

What is opcode and operand?

A

Opcode - What process to do.
Operand - What/where to do that process to.

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

What do each of the buses do?

A

Address Bus: Carries memory addresses
Data Bus: Carries the binary that make up the data carried.
Control Bus: Carries control signals (Read/Write) to other CPU components.

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

What is waterfall?

A

Waterfall lifecycle works in linear stages that must be completed before moving the next one.

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

Pros of Waterfall?
Drawbacks of Waterfall?

A

PROS

. It is easy to follow and understand - linear process
. Easy to manage a a team because it goes one stage at a time
. good for clearly planned projects - clear deliverables

DRAWBACKS

. Bad for overly complex projects - lots of documentation
. Inflexible - not possible to go back and make changes
. can casue delays and significant cost increases as additional work is required

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

What is FCFS?

A

First Come First Serve - uses FIFO.

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

What is RR?

A

Where each process is allocated a time slice or quantum if process is not done by the end of allocated time it returns to the back of the ready Q.

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

What is SRT?

p

A

Shortest Remaining time first.

Pre Emptive Algorithm - It will be suspended if a higher priority process joins the queue.

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

What is MLFQ

A

Seperates processes based on priority - prioritises those with short CPU bursts and higher I/O bursts.

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

What is Dictionary Encoding

A

Creates a token for each piece of data, reassembles the oroginal data when decompressed.

17
Q

What is Run Length Encoding

A

Frequency Data Pairs - contiguous data pieces

18
Q

What is Hashing

A

Turning a string of characters into a fixed length value (key) that represents the original output key.

19
Q

1NF

A

Field names unique
Records in a field must be from same domain
Data atomic
No two identical records

20
Q
A
21
Q
A
22
Q
A
23
Q
A
24
Q
A