Chapter 2 - OS Services

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

30 Terms

1
New cards

What are the three types of user interfaces?

GUI, Touchscreen, CLI

2
New cards

What devices are used in a GUI?

Mouse, keyboard, desktop interface

3
New cards

What inputs are used in touchscreen interfaces?

Gestures and voice commands

4
New cards

What are the two types of CLI commands?

Internal and External commands

5
New cards

What is a system call?

A request from a program to the OS for service

6
New cards

What is an API?

A set of functions programs use to access OS services

7
New cards

Give examples of APIs.

Win32, POSIX, JVM

8
New cards

Why do we use APIs?

They hide low-level details and standardize behavior

9
New cards

What does the mode bit indicate?

Whether CPU is in user or kernel mode

10
New cards

What are the CPU cycle steps?

Fetch, Decode, Execute, Check Interrupts

11
New cards

What is an interrupt controller?

Manages multiple interrupt sources

12
New cards

What is an interrupt vector?

A number identifying an interrupt source

13
New cards

What is a vector table?

Maps vectors to ISR addresses

14
New cards

What are the steps of handling a hardware interrupt?

Save state, get vector, handle ISR, schedule, restore state

15
New cards

What are faults?

Recoverable software interrupts

16
New cards

What are traps?

Intentional interrupts to enter kernel mode

17
New cards

What are aborts?

Illegal instruction interrupts

18
New cards

How can parameters be passed to system calls?

Registers, Memory, Stack

19
New cards

What are the three types of system calls?

Process control, File management, Communication

20
New cards

What are system programs?

Programs shipped with OS but not in kernel

21
New cards

What is the software stack order?

Applications → System Programs → Libraries → Kernel → Hardware

22
New cards

What is a PCB?

Data structure holding process information

23
New cards

Why are applications OS-specific?

They follow OS ABI rules

24
New cards

What is policy in OS design?

What needs to be done

25
New cards

What is mechanism in OS design?

How it is done

26
New cards

What is a monolithic OS?

Entire OS runs in kernel mode

27
New cards

What is a layered OS?

OS divided into layers

28
New cards

What is a microkernel?

Only essential services in kernel mode

29
New cards

What are OS modules?

Dynamically loaded components

30
New cards

What is a hybrid OS?

Combination of OS designs