Chapter 4 : Operating systems and computer architecture Flashcards

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

What are the 14 things that the operating system does?

A
  1. Human computer interface (HCI)
  2. Multitasking
  3. Multiprogramming
  4. Batch Processing
  5. Error handling
  6. Loading and running of applications/software
  7. Management of user accounts
  8. File utilities (e.g. copy, save, sort, delete)
  9. Processore mangement
  10. Memory management
  11. Real-time processing
  12. Interrupt handling routines
  13. Security (manages log on, passwords)
  14. Input and Output control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

a) What is an interrupt?

b) And what does it do?

A

a. An interrupt is a signal sent from a device or from software to the processor to request the processors attention if it is an error or a high priority task.
b. It will cause the processor to temporarily stop what it is doing and service the interrupt.

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

When can interrupts occur?

A
  1. When a disk drive is ready to receive more data.
  2. When an error has occurred, such as a paper jam in a printer.
  3. When the user has pressed a key to interrupt the current process - an example could be keys being pressed simultaneously,
  4. When a software error has occurred - an example of this would be if an .exe file couldn’t be found to initiate the execution of a program.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State the order of the Fetch Execute Cycle

A
  1. Copy contents of PC to the MAR and initiate memory read
  2. Instruction read from memory location is copied to MBR (MDR)
  3. Increment the PC (go to the next instruction)
  4. Copy the instruction from the MBR to the IR (CIR)
  5. Decode instruction
  6. Execute instruction
  7. Repeat from step 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does MAR stand for? - And what is its purpose?

A

Memory Address Register - hold a data or instruction address

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

What does MDR stand for? - And what is its purpose?

A

Memory Data Register - temporarily holds the contents in the MAR so it can be copied to the CIR

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

What does ALU stand for? - And what is its purpose?

A

Arithmetic and Logic Unit - it does bit wise and mathematical and logic operation

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

What does PC stand for? - And what is its purpose?

A

Program Counter - Contains the address of the next instruction

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

What does CIR stand for? - And what is its purpose?

A

Current Instruction Register - holds the current instruction

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

What are the 3 types of buses?

A
  1. Address Bus
  2. Data Bus
  3. Control Bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the Address Bus do?

A

Carries signals relating to addresses between the processor and the memory

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

What does the Data Bus do?

A

Sends data between the processor, the memory unit and the input/output devices

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

What does the Control Bus do?

A

Carries signals relating to the control and coordination of all activities within the computer (examples include: the read and write functions)

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

What signal direction does the Address Bus have?

A

Unidirectional (signals travel in one direction only)

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

What signal direction does the Data Bus have?

A

Bi-directional (data can travel in both directions)

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

What signal direction does the Control Bus have?

A

This is regarded as being both unidirectional and bi-directional due to the internal connections within the computer architecture

17
Q

What is a buffer?

A

It is used in computers as a temporary memory area

18
Q

Where are buffers used?

A

They can be used to temporarily store a video while the video is being watched

19
Q

What does the control unit do?

A

It controls the operation of the memory, processor and input/output devices