What does the CPU do? - ANSWER performs actual computation, carries out
instructions
What is memory? - ANSWER RAM location that stores data and programs used by the
CPU
What is the system bus? - ANSWER communication medium between CPU, memory and
peripherals
What does an OS store to save the current state of the CPU? - ANSWER data within the
registers and the program counter itself is also a register
What is an API? - ANSWER An application programming interface allows interactaction
directly with the underlying service through function calls.
What are the names of dual-modes? - ANSWER User mode
Kernel mode
What is a mode bit? - ANSWER a bit that determines if the user is running in user mode
or kernel mode
If an instruction is flagged as "privledged", what does that mean? - ANSWER instruction
only can be run if in kernel mode
, What is a process? - ANSWER A program in execution
What type of coding data is located on the stack? - ANSWER Function parameters,
return addresses and local variables
What is program code otherwise referred to as? - ANSWER text section
What type of coding data is stored in the data section? - ANSWER global variables
What kind of coding data is contained within a heap? - ANSWER dynamically allocated
memory
How many program counters does a single threaded processor have? - ANSWER one
How many program counters does a multi-threaded processor have? - ANSWER one per
thread
NEW state in a process state - ANSWER process is being created
RUNNING state in a process state - ANSWER instructions being executed
What is the WAITING state in a process state? - ANSWER process is waiting for some
event to occur
What is the READY state in a process state? - ANSWER process is waiting processor
assignment
What is the TERMINATED state in a process state? - ANSWER process has finished
execution
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 Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.