OS ext Flashcards

1
Q

Monolithic system

A

The operating system is written as a collection of procedures, linked together into a single large executable binary program.

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

How does the monolithic system invoke the OS structure

A

A main program that invokes the requested service procedure.
A set of service procedures that carry out the system calls.
A set of utility procedures that help the service procedures.

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

Layered systems layers

A

0 – dealt with allocation of the processor

1 – memory management

2- process communication

3- I/O management

4- User programs

5- System Operator

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

Microkernels

A
  • implementation of layered system approach with certain kernel user boundaries
  • minimum amount of software required to provide mechanisms to implement an OS.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Hybrid Kernel

A

runs some services in the kernel space
to reduce the performance overhead of a traditional microkernel,
while still running kernel code as servers in the user space.

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

Why is it important for an operating system to have kernel mode and user mode?

A
  1. Kernel mode allows access to all machine instructions and I/O devices.
  2. In user mode many sensitive instructions are prohibited.
  3. The two modes allow the OS to encapsulate user programs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Threads

A
  • A thread is essentially a piece of instruction which is managed by the operating system.
  • They perform activities around the process rather than running the process itself
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Starting up chrome

A
  1. Ram holds program code and data
  2. Instruction bytes are copied from storage to RAM
  3. CPU is directed to start running at the first instruction
  4. Chrome is launched
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Virtual Machine Uses

A
Game emulators
Dual Booting
Disaster Recovery
cloud tech
Containers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

BIOS proper def

A
  • The BIOS contains low-level I/O instructions,
  • Loads os onto main memory then stores config info for peripherals (keyboard etc.)
  • performs system integrity checks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Race conditions

A

When it comes to processes and threads a race condition can cause bugs.
This occurs when a process or a thread depend on some shared state and they are not mutually exclusive.

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

Mutual Exclusion

A

Mutual exclusion is the requirement that one thread of execution never enters a critical section while another thread happening at the same time of execution is already using the critical section.

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

Stack

A
  • Stack is a stack of information/nodes stacked one over another with the highest address node placed at top
  • When an information is added, memory is incremented by 1 and when an information is removed, memory is reduced by 1.
  • Follows last in first out(like a stack of plates)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

2 major functions of stack

A

a) Push - Adding information to the stack

b) Pop - Removing information from the stack

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

GRUB proper def

A
  • GRUB needs to understand the file systems,
  • the kernels executing commands
  • works like a transfer step on passing control to the operating systems kernel software from the MBR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly