SCC.131 Digital Systems - Operating Systems

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Flashcards for reviewing Operating Systems concepts, including OS definition, kernel functions, processes, threads, and scheduling algorithms.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

What is an Operating System (OS)?

A software program that manages all the hardware and software on a computer, acting as the bridge between the user and the computer's physical components.

2
New cards

What are the main tasks of an Operating System?

File management, Memory management, Process management, Input/Output handling, Security & Access Control, Multitasking & Scheduling.

3
New cards

What is the purpose of the Operating System?

Manages and allocates resources, controls the execution of user programs and operations of I/O devices.

4
New cards

What is the Kernel?

The core of a computer's operating system (OS) that acts as an interface between the hardware and the rest of the OS, running at all times.

5
New cards

What are the two common designs of kernels?

Monolithic kernels and Micro-kernels

6
New cards

What is the difference between user-mode and kernel-mode?

Kernel-mode has unrestricted access to the machine, while user-mode has limited access.

7
New cards

What are Protection Rings?

Domains that are an architecture used to regulate access to system resources and prevent unauthorized actions by providing different privilege levels.

8
New cards

What is the purpose of Protection Rings?

Security, Stability, Efficiency, and Improving fault tolerance.

9
New cards

What happens when User-mode code attempts direct hardware access?

The processor will detect the unauthorized operation and generate a trap or fault, allowing the operating system’s kernel to interfere.

10
New cards

In the context of operating systems, what is a process?

A program running on the machine, managed by the OS, with tracked code, memory, system resources, security permissions, and hardware context.

11
New cards

What is a thread and how does it relate to a process?

A thread shares the same resources as its parent process but executes independently, allowing for lightweight and fast context switching, memory sharing, and parallel execution.

12
New cards

What is Scheduling in the context of operating systems?

The method by which the OS decides which processes or threads will be assigned to the CPU for execution, ensuring efficient CPU utilization and fair process execution.

13
New cards

What are the two types of multitasking?

Pre-emptive Multitasking and Cooperative Multitasking

14
New cards

Name four scheduling algorithms.

First-Come, First-Served (FCFS), Shortest Job Next (SJN or SJF), Round Robin (RR), and Priority Scheduling.

15
New cards

What are the three types of scheduling?

Long-Term Scheduling (Job Scheduling), Short-Term Scheduling (CPU Scheduling), and Medium-Term Scheduling

16
New cards

Why is Scheduling Important?

Ensures fairness, Maximises CPU utilisation, Minimises response time, and Balances system load.