Operating System Flashcards

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
Q

main process management tasks

A

creates process, efficiently schedules them, and manages how they’re terminated so resources can be reallocated.

26
Q

memory management

A

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
Q

virtual memory

A

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
Q

pages

A

chunks of data taken from a program and executed in RAM.

29
Q

swap space

A

the allocated space on the hard drive where virtual memories are stored

30
Q

I/O devices

A

devices that perform input and output. monitors, keyboards, mice, hard disk drives, speakers, Bluetooth headsets, webcams, network adapters

31
Q

components of kernel I/O management

A

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
Q

user space

A

how humans interact with the OS by for examples creating files and folders, opening apps, and deleting items.

33
Q

what are the 2 ways to interact with an OS?

A

graphical interface (GUI) and shell

34
Q

CLIA

A

command line interface- text commands used in shells

35
Q

shell

A

a program that interprets text commands and sends them to the OS to execute

36
Q

BASH/Bourne Again Shell

A

most common shell in Linux

37
Q

PowerShell

A

most common shell in Windows

38
Q

logs

A

files that record system events (like when turned on, when driver loaded, an error message when something doesn’t work) on computer

39
Q

BIOS/UEFI

A

a low-level software that initializes computer’s software to make sure everything’s good to go

40
Q

bootloader

A

a small program that loads the OS

41
Q

the boot process

A
  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
Q

file data

A

the storage of the actual data in a file