4. Operating systems and computer architecture Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Functions of an operating system

A
Controls inputs and outputs
Controls interrupts
Security (log on)
Memory management
Error handling
Loading software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an interrupt?

A

A signal sent from a device or software to the processor to cause it to temporarily stop.

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

When is an interrupt used?

A

When a disk drive is ready to receive more data
An error has occurred
When the user presses ctrl alt del
A software error has occurred

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

What do interrupts allow computers to do?

A

Appear to do many things at the same time e.g. have several windows open at the same time

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

What is the purpose of an interrupt handler?

A

Stores the progress on each task when an interrupt is used and the computer does something else

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

What is a buffer?

A

A temporary memory area used to store data when hardware or the internet is running slower than the processing speed of the computer.

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

What is the purpose of an address bus?

A

Carries signals relating to the location of data between the processor and the memory

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

What is the purpose of a data bus?

A

Sends data between the processor and memory and the input/output devices.

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

Control bus

A

Carries signals relating to the control and coordination of all activities with the computer.

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

What is an MAR?

A

Memory address register - stores the address of the next register to be read.

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

What is an MDR?

A

Memory data register - stores the contents of the address in the MAR.

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

What is the ALU?

A

Arithmetic and logic unit -where instructions are carried out.

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

What is the PC?

A

Programme counter - keeps track of which register is being looked at next.

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

What is the CIR?

A

Current instruction register - stores the current instruction.

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

How does the fetch decode execute cycle work?

A
  1. The PC contains the address of the next instruction which has to be fetched.
  2. The address is copied into the MAR using the address bus.
  3. The instruction at the location in the MAR is stored in the MDR.
  4. The instruction in the MDR is copied into the CIR.
  5. The value in the PC is incremented by 1.
  6. The instruction is decoded and executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly