,Address space - correct answer ✔✔Contains all necessary states to run a program
Process - correct answer ✔✔An address space and at least one thread of execution
Difference between process and program - correct answer ✔✔A program is just a collection of
statements, a process is a running instance of a program.
Uniprogramming - correct answer ✔✔Running one process at a time
Multithreading - correct answer ✔✔having multiple threads per address space
Dispatching loop - correct answer ✔✔Run thread
Save States
Choose new thread
Load states from new thread
Context switch - correct answer ✔✔Switching the CPU from one thread/process to another
Thread state diagram - correct answer ✔✔Ready -> Running -> Blocked ->Ready etc.
Ready-> Running: Scheduled
Running-> Ready: yield, timer
Running -> Blocked: I/O request
Blocked -> Ready: IO complete
Amdahl's Law - correct answer ✔✔S = %of sequential computations
N = cores
x = 1/(S + (1-S/N))
, Booting sequence - correct answer ✔✔Jump
Load from BIOS
POST
Load MBR
Load OS loader
Load kernel image
sets kernel mode
Jump
System call - correct answer ✔✔Allows processes running in user mode to access kernel functions that
run under kernel mode
Kernel Mode - correct answer ✔✔Used for lowest level functions of operating system. Executing code
has unrestricted access to hardware
User mode - correct answer ✔✔Executing code has no way to directly access or modify hardware or
reference memory
Master Boot Record - correct answer ✔✔Information in the first sector of memory that identifies how
and where to boot the OS
System call sequence - correct answer ✔✔User level: Trap
Kernel Level: Set kernel mode
Branch table
Run trusted code
Process creation - correct answer ✔✔fork(): Clones the process
exec: overwrites current process
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller kirus27. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $19.99. You're not tied to anything after your purchase.