OS Services Flashcards

1
Q

IPC

A

Inter-Process-Communication: Communication between running processes. Anything from pipes, unix sockets and network sockets count as IPC.

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

Kill system call

A

Send a certain process a signal with a certain code. Can be overwritten when written in c/c++ to do whatever you want.

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

System call parameter passing (3 ways)

A
  1. Using registers.
  2. Save the parameter in memory and pass the location using a register.
  3. Push onto the stack and have the OS pop from it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

System programs

A

Programs provided by the OS to appeal more to human usage and not have the user use system calls for everything. Includes text editors, programming language support and more.

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

6 Layers of OS

A

1: Hardware.
2: CPU Scheduling
3: Memory Management.
4: Process Management.
5: I/O Buffer.
6. User Programs.

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

OS Modules

A

Each core component is separate and can be loaded when needed withing the kernel. The modules communicate through known interfaces.

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

Virtual machine

A

An OS that thinks it has its own hardware but actually is running through a hypervisor that is emulating the hardware.

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

Hypervisor (2 types)

A
  1. Runs directly on the hardware itself and just manages and forwards the requests of the VMs it is hosting.
  2. Runs ontop of another OS, doesn’t directly communicate with the hardware but does so through the OS it is sitting on.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly