Operating Systems and File Management Flashcards

1
Q

Define operating system

A

A program that controls the execution of application programs and acts as an interface between applications and the computer hardware

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

What is the difference between user mode and kernel mode?

A

Kernel mode has elevated instructions over user mode

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

What is context switching?

A

The computer switching between user mode and kernel mode

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

What is a monolithic operating system?

A

An operating system with a monolithic structure has all services implemented by a large kernel

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

Pros of a monolithic structure

A

Communication with the kernel is fast

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

Cons of a monolithic structure

A

The large and disorganised code base may be difficult to understand

To add any new service the entire operating system may need to be modified

If any one service fails it may lead to entire system failure

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

What is a layered operating system?

A

An operating system with a layered structure has services implemented by a large kernel with a layered organisation

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

Pros of a layered operating system

A

Easy to construct and debug

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

Cons of a layered operating system

A

Challenging to define the functionality of each layer

Poor performance due to requiring traversal through multiple layers to obtain and operating system service

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

What is a microkernel operating system?

A

An operating system with a microkernel structure has services implemented by servers, and a small kernel delivering messages between them

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

Pros of a microkernel operating system

A

Extensions are easy

Secure and reliable

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

Cons of a microkernel operating system

A

Poor performance due to increased system function overhead

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

What is a modular operating system?

A

Services implemented by modules, and a small kernel that loads them on demand

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

What is bootstrapping?

A
  1. The stage on boot loader is run from BIOS ROM
  2. The stage two boot loader is loaded from disk and run
  3. The operating system is loaded from disk and run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly