chp 1: intro to operating systems

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:27 AM on 2/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

53 Terms

1
New cards

what is an operating system?

a software that manages a computer’s hardware

2
New cards

what are the goals of an operating system?

  • to execute user programs and make solving user problems easier

  • make the computer system convenient to use

  • use the computer hardware in an efficient manner

3
New cards

what is a kernel

a program running at all times

4
New cards

what are system programs

OS-related but not part of the kernel

5
New cards

what are application programs

everything that are not system programs

6
New cards

what were the 1st generation of computers

dedicated computer; only one program ran at a time and there were no programming languages, so no OS

7
New cards

what were the 2nd generation of computers

shared computers and batch systems — programs were encoded on punch cards (OS/360) is an example

8
New cards

what were the 3rd generation of computers

tape drives and sequentially and multiprogramming was introduced

9
New cards

what were the 4th generation of computers

OSes and embedded systems

10
New cards

what are the 4 components of a computer system

hardware, OS, application programs, and users

11
New cards

what is the user view of an OS

cares about ease of use and good performance + security

12
New cards

what is the system view of an OS

sees the OS as a resource allocator and a control program

13
New cards

what is an interrupt

when device controllers signal the CPU when finished a task by causing an interrupt. CPU stops what it was doing and saves its state (program counter and registers) → jumps to a fixed location and runs service routine) → resumes its task

14
New cards

what is an interrupt vector

table of addresses for the service routines

15
New cards

what is a trap/exception

a software generated interrupt caused by a user error or request

16
New cards

what are the two methods of I/O handling

  1. Returning to the user program after the I/O completes

  2. Don’t wait for the I/O to complete

  • System call: request OS service to wait for I/O

  • Device-status table: contains entry for each I/O device: type, address, state

17
New cards

what are the 3 different storages

  1. Bootstrap program which is in ROM

  2. Volatile storage → so RAM, Cache, etc

  3. Nonvolatile storage —> HDD, SDD

18
New cards

what is caching

copying data into faster storage

19
New cards

what is cache coherency

ensuring that the most recent value is in the cache

20
New cards

what is a device driver

provides a uniform interface between the controller and the kernel

21
New cards

what is Direct Memory Access (DMA)

  • used for high-speed I/O to transmit into near memory speeds

  • device controller transfers data blocks directly into memory — no CPU intervention

  • one interrupt per block (not per byte)

22
New cards

what is a core

a component that executes instructions and registers for storing data locally

23
New cards

what is a single processor

one general-purpose CPU; can also have special-purpose CPU’s like the GPU

24
New cards

what are the advantages of a multiprocessor (AKA parallel/tightly coupled)

  1. Increased throughput

  2. economy of scale

  3. increased reliability — graceful degradation or fault tolerance

25
New cards

what are the types of multiprocessing

asymmetric and symmetric multiprocessing

26
New cards

what is asymmetric processing

a master CPU assigns tasks and the slave CPUs can only perform those specific tasks

27
New cards

what is symmetric processing

each CPU can do all tasks and have a shared OS view

28
New cards

what is Non-Uniform Memory Access (numa)

scales by reducing memory contention; common in servers/high-performance systems

29
New cards

what are clustered systems

multiple systems working together, sharing storage via a storage area network (SAN) and provides high availability. some use a distributed lock manager (DLM) to avoid conflicting operations

30
New cards

what is asymmetric clustering

one machine is in hot standby mode

31
New cards

what is symmetric clustering

multiple nodes run applications and monitor each other

32
New cards

what are system daemons

background servies

33
New cards

what is multiprogramming (batch)

keeps subset of jobs in memory, when one waits, the OS switches to another. so it is always running a job

34
New cards

what is multitasking (time-sharing)

a logical extension of multiprogramming where the CPU switches frequently so users can interact. response time should ideally be < 1 sec. swapping and virtual memory help when processes don’t fit fully in memory

35
New cards

what is the reason for a dual mode operation

to protect the OS and other system components

36
New cards

what are the two dual operation modes

user mode and kernel mode. controlled by a hardware mode bit . a system call switches to kernel mode; return switches back to user mode

37
New cards

what are privileged instructions

instructions that only run in kernel mode

38
New cards

what is the point of a timer

prevents infinite loops and hogging resources. the OS sets a timer (which is a privileged instruction) → when it hits 0 → generates interrupt → the OS regains control

39
New cards

what are the 4 pillars of resource management

  1. process management

  2. memory management

  3. file-system management

  4. storage management

40
New cards

what is process management

crete/delete process, suspend/resume processes, synchronization, communication, and deadlock handling

41
New cards

what is memory management

decides what is in memory and when; tracks usage, moves data and processes, and allocates/deallocates memory

42
New cards

what is file-system management

provides a logical view of storage, directories, access control, creates and deletes files and maps to disk and backs up

43
New cards

what is storage management

disks store long-term data; OS handles free space, allocation scheduling, positioning, mounting/unmounting

44
New cards

what is protection

controlling access of processes and users to resources

45
New cards

what is security

defending against attacks

46
New cards

what is virtualization

allows OSes to run applications with other OSes; uses VMM

47
New cards

what is emulation

is used when CPU types are different; much slower

48
New cards

what are the two types of client-server environments

  1. computer-server system: provides the interface to client and request services

  2. file-server system: provides interface for clients to store + retrieve files

49
New cards

what is peer-to-peer environments

does not distinguish clients and servers; all nodes are considered peers

50
New cards

what are cloud computing environments

delivers computing, storage, and apps as a service across a network;

a logical extension of virtualization because it uses virtualization as the base for its functionality

51
New cards

what are the types of cloud computing

public cloud: available via internet to anyone willing to pay

private cloud: run by a company for the company’s own use

hybrid cloud: includes both public and privates cloud componensts

52
New cards

what are real-time embedded systems

the most prevalent form of computers

53
New cards

what connects all the devices

a system bus

Explore top notes

note
Unit 7: Short Fiction III
Updated 851d ago
0.0(0)
note
economics
Updated 397d ago
0.0(0)
note
3. Cohen et al. 2021
Updated 1110d ago
0.0(0)
note
APUSH Unit 6
Updated 394d ago
0.0(0)
note
The Italian Renaissance.
Updated 221d ago
0.0(0)
note
AP Human Geography - Unit 2
Updated 493d ago
0.0(0)
note
Unit 7: Short Fiction III
Updated 851d ago
0.0(0)
note
economics
Updated 397d ago
0.0(0)
note
3. Cohen et al. 2021
Updated 1110d ago
0.0(0)
note
APUSH Unit 6
Updated 394d ago
0.0(0)
note
The Italian Renaissance.
Updated 221d ago
0.0(0)
note
AP Human Geography - Unit 2
Updated 493d ago
0.0(0)

Explore top flashcards

flashcards
AMG Final Exam Study Guide
150
Updated 1015d ago
0.0(0)
flashcards
Capitulum 24 (Non verb)
23
Updated 381d ago
0.0(0)
flashcards
Module 1
58
Updated 973d ago
0.0(0)
flashcards
Aeronautical Laboratory Prelim
113
Updated 1039d ago
0.0(0)
flashcards
Don Quijote Vocabulario
64
Updated 1172d ago
0.0(0)
flashcards
AMG Final Exam Study Guide
150
Updated 1015d ago
0.0(0)
flashcards
Capitulum 24 (Non verb)
23
Updated 381d ago
0.0(0)
flashcards
Module 1
58
Updated 973d ago
0.0(0)
flashcards
Aeronautical Laboratory Prelim
113
Updated 1039d ago
0.0(0)
flashcards
Don Quijote Vocabulario
64
Updated 1172d ago
0.0(0)