Operating System Flashcards

1
Q

Program

A

-> what is wrote in the source code, is static, stored on disk and is code that performs some task (Java, complied executable etc).

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

Process

A

-> the activity that the CPU performs when it executes a program, dynamic, instruction pointer starts at first instruction in memory, loaded from disk into memory.
Dynamic because inputs may vary results, but the program doesn’t change since it is the code itself.

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

Central Kernel

A

-> resides in memory permanently. Performs low-level, frequently needed activities and operates in “kernel mode”.

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

Shell

A

-> provides the user interface for OS, allows user to run and interact with program and operates in “user mode”.

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

Set of processes

A

-> might be created by the kernel ,or executed when the user runs software. Can be privileged or non-privileged.

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

SetUp with ROM and IP

A

When device is turned on, an interrupt is sent to the CPU. The instruction pointer is set to the first address in ROM and the FDE cycle begins.

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

ROM Bootstrap Program

A

ROM contains a small bootstrap program, performing basic system checks, setting up the system bus and I/O channels, and loads OS kernel from disk and passes control to it.

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

Connection Between Kernel and Shell in startup

A

The kernel performs further setup and system checks, starting processes allowing background tasks and starts the main shell process.
The main shell process then allows interaction with the OS, processing the run in user mode.

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