What does STS stand for
Short term scheduler
What does STS users care about
What does STS systems care about
What are two ways that STS processes decisions
– pre-emptive: a running process may be interrupted and moved from running to ready (timeslice interrupt)
– non pre-emptive: once a process is running, it continues until done, or blocked (for I/O
or OS service)
What polices can STS operate under
What are the three types of message passing
What are two ways we identify sender and recevier in messaging?
Direct Addressing: Targeted, must know them.
Indirect addressing: Mailboxes, use common data structure
New class of scheduling for urgent processing
Real time scheduling. Usually these urgent processes are responding to events in the real world
Name the 7 layers in OSI
7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical
What communicates on each layer of the OSI model?
Application: web applications Presentation: http Session: 80 Transport: TCP Network: IP/packets Data Link: Ethernet/frames Physical: Cat5
Real Time Scheduling must indicate timeliness, must have at least one of these
Deadlines:
Start time
End time
(rare it’s both)
Two types of real time scheduling deadlines
Hard real-time (must)
Soft real-time (should)
Real time system scheduling must by
preemptive and priority based
Real time scheduling must work in the following model for scheduling
Real time operating systems
What is deadlock
2 processes each waiting for the other to release a resource
-May be hardware or software
Why does deadlock occur?
Problem occurs when processes follow a request → use → release model of resource utilization
What is deadlock versus starvation
-Deadlock refers to the situation when
processes are stuck in circular waiting for the
resources.
-Starvation occurs when a process waits for
a resource indefinitely.
-Deadlock implies starvation but starvation
does not imply deadlock.
What are the conditions for deadlock
How can we prevent deadlock?
Prevention
Detection
Avoidance
What do we currently do to prevent deadlock
Nada… Let the OS figure it out or just ignore it as it rarely happens
Sequence of early programming
Op Codes (numbers only) Assembly Language (names for program, like add, mov, cmp)
What were the early program for translation
Translator: called assembler
Language called: Assembly Language
High level languages
Java, C, C++, Python…
What is software engineering
discipline devoted to best practices in design and
building of programs