SCC.131 Digital Systems - Process Scheduling

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

1/34

flashcard set

Earn XP

Description and Tags

Flashcards for reviewing process scheduling concepts in digital systems.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

35 Terms

1
New cards

Memory Protection

A security mechanism that prevents processes from accessing unauthorized memory regions.

2
New cards

Memory Management Unit (MMU)

A hardware component responsible for memory protection and address translation.

3
New cards

Virtual Memory

A memory management technique implemented using both hardware (MMU) and software (OS).

4
New cards

Translation Lookaside Buffer (TLB)

A hardware, automatic page table within the MMU.

5
New cards

TLB-hit

Virtual address translation is already present in the TLB.

6
New cards

TLB-miss

Virtual address translation is not found in the TLB.

7
New cards

Page Swapping

A memory management technique where the OS moves entire blocks of memory (pages) between RAM and HD.

8
New cards

Process Scheduling

Deciding which process to run on the CPU and for how long, ensuring efficient and fair resource allocation.

9
New cards

Program

A set of instructions written to perform a task, stored in memory.

10
New cards

Process

The active execution of a program, using system resources like CPU and memory.

11
New cards

Created/New Process State

Process is being created.

12
New cards

Ready Process State

Process is waiting to be assigned to CPU.

13
New cards

Running Process State

Process is currently being executed by the CPU.

14
New cards

Blocked(Waiting) Process State

Process is waiting for an event (e.g., I/O completion).

15
New cards

Terminated Process State

Process has finished execution.

16
New cards

Swapped Out and Waiting Process State

Process is removed from RAM and placed on HD by the scheduler.

17
New cards

Swapped Out and Blocked Process State

Processes that are blocked may aalso be swapped out.

18
New cards

CPU Utilization

Keep CPU as busy as possible.

19
New cards

Throughput

Number of processes that complete their execution per time unit.

20
New cards

Turnaround Time

Amount of time to execute a particular process.

21
New cards

Waiting Time

Amount of time a process has been waiting in the ready queue.

22
New cards

Response Time

Time taken from request submission to first response.

23
New cards

Fairness

Ensure equal opportunity for all processes.

24
New cards

Context Switching

Saving the state of a running process and loading the state of the next process.

25
New cards

Deadlock

Occurs when a group of processes is permanently blocked, each waiting for a resource held by another process in the group.

26
New cards

Starvation

Low-priority processes never get CPU time.

27
New cards

Multi-tasking

Running multiple processes on the machine interleaved over time.

28
New cards

Pre-emptive Multi-tasking

The OS decides when to switch and it’s done without the process’s involvement.

29
New cards

Short-Term Scheduling (CPU Scheduling)

Decides which process gets the CPU next, runs frequently, uses scheduling algorithms.

30
New cards

First-Come, First-Served (FCFS)

Non-preemptive, runs in order of arrival.

31
New cards

Shortest Job Next (SJN or SJF)

Runs the shortest process first.

32
New cards

Round Robin (RR)

Each process gets a fixed time slice (time quantum).

33
New cards

Priority Scheduling

Higher priority processes execute first.

34
New cards

Multilevel Queue Scheduling

Divides processes into different priority queues.

35
New cards

Round Robin (RR) Scheduling

Each process gets a fixed time (time quantum) for execution. If a process doesn't complete within the time quantum, it is preempted and moved to the end of the queue.