C191 (Operating Systems for Programmers) Unit 1

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

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

Operating System (OS)

a program that acts as an intermediary between a user of a computer and the computer hardware

2
New cards

Operating System Goals

-Execute user programs and makes solving user problems easier
-Makes the computer system convenient to use
-Use the computer hardware in an efficient manner

3
New cards

Computer System

Hardware <--> OS <--> Applications <--> Users

4
New cards

What exactly is an Operating System (OS)

-Resource Allocator: decides between conflicting requests for efficient and fair resource use
-Control Program: Controls execution of programs to prevent errors and improper use of a computer

5
New cards

Resource Allocator

decides between conflicting requests for efficient and fair resource use

6
New cards

Control Program

Controls execution of programs to prevent errors and improper use of a computer

7
New cards

Kernel

The one program running at all times on the computer

8
New cards

Bootstrap Program

loaded at power-up or reboot

9
New cards

What is true about I/O and CPU?

They can execute concurrently.

10
New cards

How can an Interrupt occur?

By the device controller informing the CPU that it's finished with an operation

11
New cards

An interrupt transfers control to?

It transfers control to the interrupt service generally though the interrupt vector, which contains the addresses of all service routines

12
New cards

How interrupts are handled?

Incoming interrupts are disabled while another interrupt is being processed.

13
New cards

Trap

software-generated interrupt caused either by an error or a user request

14
New cards

System Call

Request to the operating system to allow user to wait for I/O completion

15
New cards

Device status table

contains entry for each I/O device indicating its type, address, and state

16
New cards

How device status table and OS work together?

OS indexes the I/O device table to determine device status and to modify the table entry to include interrupt

17
New cards

Storage Structure

-main memory
-secondary storage
- disk

18
New cards

Main Memory

RAM (Random Access Memory), volatile

19
New cards

Secondary Memory

SRAM (Secondary Random Access Memory), extension of main memory. provides large non volatile storage

20
New cards

Disk

Divided into tracks which are subdivided into sectors. Disk controller determines logical interaction between the device and computer

21
New cards

Caching

Copying information into faster storage systems

22
New cards

Multiprocessor Systems

-Increased throughput, economy of scale, increased reliability
-Can be asymmetric or symmetric
-Clustered Systems

23
New cards

Clustered Systems

Linked multiprocessor systems

24
New cards

Multiprogramming

Provides efficiency via job scheduling

25
New cards

Timesharing

CPU switches jobs so frequently that each user can interact with each job while it is running (interactive computing)

26
New cards

Dual Mode

Operation allows OS to protect itself and other system components
-user mode
-kernel mode

27
New cards

Privileged

Some instructions only being executable in kernel mode

28
New cards

Single threaded vs multi threaded processes

-Single Threaded : has one program counter
-Multi Threaded : has one Program counter per thread

29
New cards

Protection

Mechanism for controlling access of processes or users to resources defined by the OS

30
New cards

Security

Defense of a system against attacks

31
New cards

User IDs

One per user, and Group IDs, determine which users and groups of users have which privileges