1.2.1 Flashcards

1
Q

What is an operating system?

A

A collection of programs which work together to provide an interface between the user and computer

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

What are the functions of an OS?

A
  • memory management
  • resource management
  • provide security
  • file management
  • input/output device management
  • utility software
  • user interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is memory manageme?

A

The act of fairly sharing computer memory between multiple programs and applications

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

What are the 2 types of memory management?

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

What is paging?

A

Where memory is split into divisions of equal size

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

What is segmentation?

A

Where memory is split into logical divisions of variable size

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

What is virtual memory?

A

Where a section of the hard drive acts as RAM and pages are swapped between RAM and the hard disk

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

What is disk thrashing?

A

When the computer freezes as a result of pages being swapped too frequently

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

What is an interrupt?

A

A signal from a software/hardware to indicate to the processor that a process needs attention

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

What is the interrupt service routine?

A
  • the interrupt register is checked
  • if a high priority interrupt is present, contents of registers are pushed onto a stack
  • the interrupt is serviced
  • the stack is popped back into the registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is round-robin?

A

All processes queue up for a time slice. If the process doesn’t complete in this time, it’s sent to the back of the queue

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

What are the drawbacks of round robin scheduling?

A
  • doesn’t consider priority
  • longer jobs take much longer to complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is first come first serve?

A

Processes are processed in the order in which they arrive until completion?

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

What are the drawbacks of first come first serve scheduling?

A

Doesn’t consider priority

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

What is a multi level feedback queue?

A

Multiple queues are used in order or their priority

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

What is shortest job first?

A

The shortest job in the queue is run until completion

17
Q

What is shortest remaining time?

A

The job with the shortest time remaining until completion is run next

18
Q

What is an embedded OS?

A

Can perform a small range of specific tasks

19
Q

What is a distributed OS?

A

Runs across multiple devices allowing the load to be spread over multiple processors

20
Q

What is a multi-tasking OS?

A

Allows multiple programs and instructions to be run simultaneously

21
Q

What is a multi user OS?

A

Allows multiple users to use the same computer

22
Q

What is a real time OS?

A

The processes run within a guaranteed time frame

23
Q

What is the BIOS?

A
  • the first program run when a computer is switched on
24
Q

What does the BIOS do?

A
  • check all components working correctly
  • checks clock/ memory/ processor working
  • loads OS into memory
25
Q

What is a device driver?

A

A piece of software that allows the OS to interact with hardware devices

26
Q

What is a virtual machine?

A

A software implementation of a computer system which allows intermediate code to run

27
Q

What is intermediate code?

A

Halfway between machine and object code and is not processor specific