Operating System Structures Flashcards

1
Q

What are the 5 different structures of OSes?

A
  • Monolithic
  • Layered
  • Microkernel
  • Modular
  • Hybrid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A ________ structure stores the entire kernel in a single binary file

A

monolithic

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

A monolithic structure affords high _________, but is difficult to ________ and _______

A

performance, implement, maintain

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

A ______ structure divides the OS into multiple layers

A

Layered

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

The layers in a layered structure uses services of only from the ____________ layers

A

lower-level

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

A layered structure is easier to develop, ______, and ______, but is less ________ and can be tricky to define the layers

A

debug, update, efficient

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

A ________ structure has the kernel provide minimal services, with the rest of the functionality in user space

A

microkernel

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

A microkernel structure is easier to ____ to new hardware and is more reliable and _______, but is less _______ due to the ___________ between user modules and kernel

A

port, secure, performant, communication

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

A _________ structure implements the OS as separate components

A

modular

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

In a modular structure, the core components are in the _____ module, and other modules are linked to the kernel as needed

A

kernel

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

Modern OSes like Linux implement _____ modules

A

kernel

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

The benefits of a modular structure is that it is easy to maintain, ______, and debug, more _____ than layers, and is like _______ but more efficient.

A

update, flexible, microkernel

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

The problems of a modular structure is that _____ modules can cause the OS to crash, and ______ modules can compromise the system as the modules are part of the kernel with full _________

A

buggy, malicious, permissions

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

The most current OSes use a _______ structure

A

hybrid

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

On computer power up, the _______ register is loaded with a predefined ______ location

A

instruction, memory

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

Describe the Bootstrap loader routine

A
  • Performs diagnostic tests (Power-on Self Testing)
  • Loads a small piece of code from a fixed location (boot block) on the disk into memory, which
  • loads the rest of the loader from disk, which
  • loads kernel itself
17
Q

To debug and tune performance, we can ___ files containing error info, core ____ files capturing memory of the process, and ______ resource utilization

A

log, dump, monitor

18
Q

A ______ means to collect data for a specific event, such as steps involved in a syscall invocation

A

trace