1.2.1 Systems Software Flashcards

(28 cards)

1
Q

What is an operating system?

A

A collection of programs that provide an interface between the user and the computer, managing memory, resources, files, input/output, interrupts, security, and the user interface.

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

Why are operating systems essential?

A

They allow users to communicate with the computer and manage hardware resources efficiently in devices like laptops, phones, and consoles.

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

Name some popular desktop and mobile operating systems.

A

Desktop: Windows, macOS. Mobile: iOS, Android.

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

What are the main functions/features of an operating system?

A

Memory management, resource management (scheduling), file management, input/output management (device drivers), interrupt management, utility software, security, and user interface.

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

What is memory management in operating systems?

A

It ensures main memory is shared efficiently between multiple programs using paging, segmentation, and virtual memory.

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

What is paging?

A

Memory is split into equal-sized pages, and programs are made up of pages which can be swapped between main memory and hard disk.

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

What is segmentation?

A

Memory is divided into logical segments of varying sizes representing blocks of code or program structure.

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

What is virtual memory?

A

Using a section of the hard drive as additional RAM when main memory is insufficient, swapping inactive parts of programs temporarily to disk.

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

What is disk thrashing?

A

When excessive paging causes the computer to spend more time swapping pages between memory and disk than running programs, causing the system to freeze or slow down.

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

What are interrupts?

A

Signals from software or hardware that alert the CPU to attend to a process immediately.

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

How does an interrupt get handled?

A

The processor checks an interrupt register, saves the current CPU state to a stack, runs the Interrupt Service Routine (ISR), then restores the CPU state.

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

What is an Interrupt Service Routine (ISR)?

A

A special routine run by the CPU to handle interrupts based on priority, ensuring higher priority tasks are serviced first.

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

What is the purpose of scheduling in operating systems?

A

To allocate processor time fairly between jobs and ensure efficient use of the CPU.

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

What are the two main types of scheduling algorithms?

A

Pre-emptive (the OS can interrupt jobs) and Non-pre-emptive (jobs run until completion).

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

Describe the Round Robin scheduling algorithm.

A

Each job gets a fixed time slice; jobs cycle through until completed. Fair but inefficient for long jobs.

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

Describe First Come First Served (FCFS) scheduling.

A

Jobs run in the order they arrive, simple but long jobs can delay others.

17
Q

Describe Shortest Job First scheduling.

A

Jobs with the shortest processing time are prioritized to minimize average wait time but can cause starvation for long jobs.

18
Q

Describe Shortest Remaining Time scheduling.

A

Jobs with the least remaining time are prioritized; similar benefits and risks to Shortest Job First.

19
Q

Describe Multilevel Feedback Queues scheduling.

A

Multiple queues with different priorities are used, allowing complex prioritization but difficult to implement.

20
Q

What are distributed operating systems?

A

OS that run across multiple devices to share processing load.

21
Q

What are embedded operating systems?

A

Specialized OS designed for specific hardware and tasks, often with limited functionality and power consumption.

22
Q

What is multi-tasking in operating systems?

A

Allowing multiple programs to run seemingly simultaneously via quick switching.

23
Q

What is a multi-user operating system?

A

An OS that allows multiple users to access a single powerful computer simultaneously.

24
Q

What is a real-time operating system?

A

An OS designed to guarantee task completion within a strict time frame for safety-critical applications.

25
What is BIOS?
Basic Input/Output System that runs at startup, performs hardware checks (POST), and loads the OS.
26
What are device drivers?
Programs that allow the OS to communicate and control hardware devices.
27
What is a virtual machine?
A software simulation of a computer that runs programs using intermediate code, allowing multiple OS environments on one physical machine.
28
What is intermediate code?
Code between high-level language and machine code, portable across architectures but slower to run.