Operating System Basics Flashcards

1
Q

What are the two main parts of an operating system?

A

The Kernel and the User Space

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

What does the operating system’s kernel do?

A

It communicates directly to hardware and manages the system’s resources

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

What operating systems are the most widely distributed?

A

Windows, Mac OS and Linux

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

What are the three most common Linux distributions?

A

Ubuntu, Debian and Red Hat

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

What does the kernel manage?

A

Processes, Memory, Files and I/O

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

What does the kernel’s process management do?

A

It prioritizes all current processes and assigns resources to be used

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

What is the Process Scheduler in the kernel?

A

Responsible for switching the execution of different processes on the CPU

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

What does the kernel’s memory management do?

A

Optimizes memory usage and makes sure applications have enough memory to run

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

What does the kernel’s Input/Output management do?

A

Responsible for the kernel’s communication with external devices like hard drives, peripherals and more

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

What are the three main components to file handling on an OS?

A

File Data, Metadata, and File System

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

What is the major File System that’s used for Windows?

A

NTFS

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

What is the major File System that’s used for Mac OS?

A

APFS

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

What is the standard file system for Linux distributions?

A

ext4

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

How is data stored in a hard drive? What is this storage called?

A

In data blocks via Block Storage

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

What is the difference between a Process and a Program?

A

A Process is a program that’s executing, like an internet browser or text editor. A Program is just an application that can be run, like Chrome. You can have multiple processes of the same program running

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

Describe the process management pipeline

A

The kernel has to schedule time for the CPU to execute the instructions in a process. Processes are executed one by one through time slices, which are very short intervals of time allocated to a process for CPU execution

17
Q

What is Virtual Memory?

A

Virtual memory is a combination of hard drive space and RAM that acts like memory that our processes can use

18
Q

Describe the memory management pipeline when executing a process

A

When we execute a process, we take the data of the program in chunks we call pages. We store these pages in virtual memory. If we want to read and execute these pages, they have to be sent to physical memory or RAM

19
Q

What is Swap Space?

A

When we store our virtual memory on our hard drive, we call the allocated space, swap space

20
Q

What does the kernel load in order to manage I/O devices?

A

Drivers

21
Q

What are the two ways the end user can interact with the OS in the user space?

A

The Shell and a Graphical User Interface

22
Q

What is the most common Shell used on Linux Distros?

A

Bourne Again Shell (BASH)

23
Q

Describe the Boot process

A

First the computer is powered on, the BIOS runs a POST, next the BIOS searches for a bootloader in a list of boot devices and executes it. Once the OS is loaded, the kernel is loaded, which then loads drivers that allow you to use your peripherals. Then user space items are loaded and the boot process is finished.

24
Q

What is a Virtual Machine (VM)?

A

A copy of a physical machine