Operating Systems Flashcards

1
Q

What is an operating system (OS)?

A

Software tasked with managing hardware and software resources, serving as an interface between users and the computer’s hardware.

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

Name four types of operating systems based on task management.

A

Batch OS, Multiuser OS, Multitasking OS, Multiprocessing OS.

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

What is a Batch OS?

A

An OS that allows a single user to perform one task at a time.

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

What is a Multiuser OS?

A

An OS that allows multiple users to utilize the computer’s resources simultaneously.

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

What is a Multitasking OS?

A

An OS that allows multiple tasks to execute simultaneously.

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

What is a Multiprocessing OS?

A

An OS where two or more CPUs work together to manage the computer’s functions.

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

Name three types of operating systems based on user interaction.

A

Distributed OS, Real-Time OS, Mobile OS

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

Name the main functions of an operating system.

A

Process management, memory management, I/O management, file management, networking, job accounting, and communication management.

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

What is process management?

A

The creation, scheduling, and termination of processes

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

What is memory management?

A

Managing memory space for programs.

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

What is I/O management?

A

processes and techniques used by an operating system to manage input and output operations. This involves coordinating the communication between the system’s hardware (like disks, keyboards, and network interfaces) and software to ensure efficient and reliable data transfer.Monitoring and controlling connected devices.

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

What is file management?

A

Managing naming, sharing, storage, and retrieval of files.

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

What is job accounting in an OS?

A

Tracking time and resources used by processes.

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

What is a daemon?

A

A program that runs as a background process.

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

What is a process in the context of an OS?

A

A program under execution.

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

Name the seven states a process can be in.

A

New, Ready, Waiting, Executing, Blocked, Suspended, Terminated.

17
Q

What is a Process Control Block (PCB)?

A

A data structure containing information about a process, such as process state, program counter, CPU registers, and I/O status.

18
Q

What does the program counter in a PCB do?

A

Saves the address of the next instruction to be executed.

19
Q

What is the role of CPU scheduling information in a PCB?

A

It contains details like process priority.

20
Q

Name the types of storage managed by memory management.

A

Primary storage (on-CPU: registers, cache; off-CPU: RAM, ROM) and secondary storage (long-term storage).

21
Q

What is virtual memory?

A

A strategy using hard drives to expand RAM capacity.

22
Q

What is paging?

A

Dividing memory into pages and loading them into free frames in physical memory.

23
Q

What is segmentation in memory management?

A

Dividing memory into segments based on program structure.

24
Q

What is swapping in memory management?

A

Moving processes between primary and secondary storage.

25
Q

What is the role of the Memory Management Unit (MMU)?

A

Translates virtual addresses to physical addresses.

26
Q

What is the purpose of the Translation Lookaside Buffer (TLB)?

A

Speeds up the translation of virtual addresses to physical addresses.

27
Q

What does I/O management oversee?

A

Coordination and management of I/O operations and devices.

28
Q

What is the role of device controllers?

A

They connect devices through buses and manage communication with the OS.

29
Q

What is an I/O traffic controller?

A

Keeps a record of the status of devices, units, and channels.

30
Q

What is an I/O scheduler?

A

component of an operating system that determines the order in which I/O operations (like reading from or writing to a disk) are processed

31
Q

What does an I/O device handler do?

A

Manages device interruptions and oversees data transfer.

32
Q

What is file management responsible for?

A

Efficient storage, retrieval, and protection of data on secondary storage.

33
Q

Name three file system operations.

A

Organizing files hierarchically, defining file naming syntax, and controlling access to files.

34
Q

Name file systems used by Windows, MacOS, Linux, and Unix.

A

Windows: FAT32, exFAT, NTFS
MacOS: FAT32, exFAT, HFS+, APFS
Linux: ext2, ext3, ext4, FAT32, exFAT
Unix: UFS, ext2, ext3, ext4, ZFS