Operating Systems Flashcards

1
Q

What is an operating system ?

A

An operating system (OS) is the whole package that manages out computer’s resources and lets us interact with it

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

What are the two main parts of an Operating system

A

There are two main parts in an OS :

  • the User space
  • the Kernel space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between the user space and the kernel space

A

The Kernel is the main core of an OS, it talks directly to our hardware and manages our system resources

The User space is made with everything outside the kernel like system programs and user interfaces.

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

Can you explain what is a process ?

A

A process is a running program

Example : your internet browser is a running program at this moment while you are studying

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

What component determines which process runs at a given moment in time

A

The CPU scheduler

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

What are the 3 different states of a process ?

A
  • Running
  • Ready
  • Blocked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is virtual memory ?

A

The combination of hard drive space and RAM that acts like memory that our processes can use.

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

What is a BIOS (or UEFI) ?

A

BIOS (Basic Input Output System) / UEFI (replaces BIOS since 2006) : a low-level software that initializes our computer’s hardware to make sure everything is good to go.

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

What is a time slice ?

A

Time slice : a very short interval of time that gets allocated to a process for CPU execution.

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

Explain the I/O management by the kernel

A

I/O devices: Devices that perform input and output
The kernel has to be able to load up drivers that are used so we can recognize and speak to these different types of hardware. When the kernel is able to start the drivers to communicate with hardware, it also manages the transfer of data in and out of the devices and between them.

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