Operating Systems

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

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:22 PM on 9/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Operating systems provides what?

abstractions and control

2
New cards

Lecture 1: Linux Security Basics
What do these explain?
Files instead of raw disk sectors, Processes instead of direct CPU control, Virtual memory instead of physical addresses, Sockets instead of network-controller command

abstractions make hardware usable

3
New cards

Lecture 1: Linux Security Basics
What do these explain?
Allocates competing resources, Prevents unauthorized access, Coordinates concurrent activity, Detects and handles error

Control keeps the system safe

4
New cards

Lecture 1: Linux Security Basics
What two complementary views explain what an OS does?

Extended / virtual machine and Resource manager

5
New cards

Lecture 1: Linux Security Basics
What does the described do?
Hides inconvenient hardware details, Offers stable, higher-level operations, Creates useful illusions such as many processes and large memory

Extended / virtual machine

6
New cards

Lecture 1: Linux Security Basics
What does the described do?
Tracks ownership and availability, Schedules and allocates resources, Resolves conflicts using policies

Resource manager

7
New cards

Lecture 1: Linux Security Basics
What does the five responsibilities define?
process (create), memory (allocate), storage (organize), devices (control), security (authorize)

OS control surface

8
New cards
<p>Lecture 1: Linux Security Basics<br>What is the picture an example of?</p>

Lecture 1: Linux Security Basics
What is the picture an example of?

Sequential execution

9
New cards
<p>Lecture 1: Linux Security Basics<br>What is the picture an example of?</p>

Lecture 1: Linux Security Basics
What is the picture an example of?

Multiprogramming

10
New cards
<p>Lecture 1: Linux Security Basics<br>What is the picture an example of?</p>

Lecture 1: Linux Security Basics
What is the picture an example of?

Time sharing

11
New cards

Lecture 1: Linux Security Basics
Processes p1 and p2 execute on a system with a single CPU and a single I/O device. Each Process executes a compute bound phase followed by an I/O bound phase. The system uses multiprogramming without time-sharing. The following table shows lengths of each phase.

p1 computes: 10, I/O: 50

p2 computes 30, I/O: 60

Determine without multiprogramming the computation terminates at time and with multiprogramming the computation terminates at time.

Expected: 150, 120

Without multiprogramming, the total time is the same regardless of the number of I/O devices, since the I/O phases do not overlap, 60 + 90 = 150 time units.

With multiprogramming, p1 runs from 0 to 10, followed by the I/O phase from 10 to 60. p2 starts as soon as p1's compute phase terminates and runs from 10 to 40.

At time 40 the I/O device is still busy and thus p2's I/O phase is delayed until time 60. Thus p2 terminates at time 120

12
New cards

Lecture 1: Linux Security Basics
Processes p1 and p2 execute on a system with a single CPU and two identical I/O device. Each Process executes a compute bound phase followed by an I/O bound phase. The system uses multiprogramming without time-sharing. The following table shows lengths of each phase.

p1 computes: 20, I/O: 40

p2 computes 10, I/O: 80

Determine without multiprogramming the computation terminates at time and with multiprogramming the computation terminates at time.

Expected: 150, 110