Operating System Flashcards

(42 cards)

1
Q

operating system

A

the whole package that manages computer’s resources and allows user to interact with it

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

what are the 2 main parts of an OS?

A

the kernel and the user space

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

kernel

A

the main core of an OS. talks directly to hardware and manages system resources. users don’t interact with it directly.

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

user space

A

everything outside of the kernel

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

what are the 4 main things the kernel does?

A

process management, memory management, file management, and I/O management.

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

computer file

A

data stored and can be anything (word doc, picture, song, bit)

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

file system

A

how files are managed. files organized in folders/directories so easier to find. there are lots of different types.

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

process management

A

how computer handles processes (order they run in, how many resources they take up, how long they run, etc..)

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

process scheduler

A

part of kernel that makes multitasking possible. switches execution of different processes on CPU so fast it gives the illusion that they’re happening simultaneously.

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

memory usage

A

optimizes memory and ensures applications have enough memory to run

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

I/O (input/output) management

A

how kernel talks to external devices like disks, keyboards, networks, connections, audio devices, hard disk drives. anything that can give input or can use for output of data. (saving file to disk, clicking mouse, using mic to videochat)

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

examples of user space

A

programs like text editors, music players, system settings, user interfaces

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

what are the 3 main components of handling files on an OS?

A

the file data, the metadata, and the file system

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

NTFS

A

Windows filing system that includes encryption, faster access speeds.

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

ReFS+

A

file system that Windows is currently developing for future consumer use

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

HFS+

A

MacOS’s file system. It’s journaled which means it does a better job at saving your disk state for file failure.

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

ext4

A

one of the different types of Linux filing systems that different distributions use.

18
Q

data blocks

A

how data is written onto hard drive so that it’s accessed quicker and better utilizes storage space (b/c it’s not store on one long piece).

19
Q

metadata

A

everything you need to know about the file and what type of file it is. includes: file owner, permissions, file size, date modified, date created, and file type.

20
Q

file extension

A

the appended part of a file name that tells what type of file it is on certain OSs. (i.e. jpeg- picture file)

21
Q

process

A

the part of a program that’s executing, like an internet browser or text editor. can have many processes running for same program.

22
Q

program

A

an application that can be run.

23
Q

time slice

A

an extremely short interval of time (milliseconds) that gets allocated to a process for CPU execution.

24
Q

examples of factors that could contribute to computer running slowly and CPU resources being maxed out r/t process management:

A

1 process taking up more time slices than should so next process isn’t being executed.
too many processes want CPU time and CPU can’t keep up.

25
main process management tasks
creates process, efficiently schedules them, and manages how they're terminated so resources can be reallocated.
26
memory management
addresses the limitations of having smaller quantities of memory than space on a hard drive by taking pages of data and swapping them between RAM and virtual memory.
27
virtual memory
a combination of hard drive space and RAM that acts like memory that processes can use. stores pages that aren't being used by the system.
28
pages
chunks of data taken from a program and executed in RAM.
29
swap space
the allocated space on the hard drive where virtual memories are stored
30
I/O devices
devices that perform input and output. monitors, keyboards, mice, hard disk drives, speakers, Bluetooth headsets, webcams, network adapters
31
components of kernel I/O management
loads and starts drivers to enable communication with hardware manages transfer of data in and out of devices (between user and device and between devices) tries to ensure that data doesn't have errors during process
32
user space
how humans interact with the OS by for examples creating files and folders, opening apps, and deleting items.
33
what are the 2 ways to interact with an OS?
graphical interface (GUI) and shell
34
CLIA
command line interface- text commands used in shells
35
shell
a program that interprets text commands and sends them to the OS to execute
36
BASH/Bourne Again Shell
most common shell in Linux
37
PowerShell
most common shell in Windows
38
logs
files that record system events (like when turned on, when driver loaded, an error message when something doesn't work) on computer
39
BIOS/UEFI
a low-level software that initializes computer's software to make sure everything's good to go
40
bootloader
a small program that loads the OS
41
the boot process
1. computer powered on 2. BIOS/UEFI a. runs POST to figure what hardware is on computer and ensure it's all running correctly, b. loads essential drivers, c. looks in a certain configured order for boot device that contains bootloader, d. executes bootloader 4. kernel loaded 5. essential system processes and user space items launched.
42
file data
the storage of the actual data in a file