UF COP4600 - Exam 1 Questions and
Answers (Latest 2024)
Algorithm - Correct Answer ✅set of instructions with finite
initial store and state, a starting point, and unambiguous
ordering until the endpoint
Process (general definition) - Correct Answer ✅a program
in execution
= program + state
Program - Correct Answer ✅sequence of instructions that
embody an algorithm
Job - Correct Answer ✅a task to be completed
Why need an O.S.? - Correct Answer ✅- load program onto
computer
- access and supervise I/O devices
- manage resources
- protect private info
- facilitate program interactions
,UF COP4600 - Exam 1 Questions and
Answers (Latest 2024)
2 main OS Roles? - Correct Answer ✅1. resource manager
2. extended machine
3 types of resource management - Correct Answer ✅1.
process manager (who executes)
2. memory manager
3. I/O management
Purpose of extended machine - Correct Answer ✅allows
user to not think about low-level things. (file storage for
example)
What OS is not? - Correct Answer ✅- not UI
- not development tools
- not libraries (even if it may use them)
3 general OS types - Correct Answer ✅- interactive
(laptop/pc)
- batch (priority is pre-defined queued tasks)
- real time (well-defined task priorities like in avionics or cars)
,UF COP4600 - Exam 1 Questions and
Answers (Latest 2024)
5 generations of OS - Correct Answer ✅'45-'55 : vacuum
tubes / plugboards
'55-'65 : transistors/batch
'65-'80 : ICs and timesharing
'80-now : PCs
'90-now : mobile computers and multicore systems
Multiprogramming v. Uniprogramming - Correct Answer
✅multiple = 2+ programs' data concurrently in main
memory (RAM)
(uni is just 1 at a time)
T/F: modern systems do not allow direct reads from the disk,
rather a syscall is passed to the kernel which then returns the
info (if allowed) - Correct Answer ✅True
2 types of named calls - Correct Answer ✅1. procedure
calls
Procedure Calls - Correct Answer ✅- essentially a function
call
- no context switch to kernel space (faster bc no OS help
necessary)
- local vars and parameters
- frame pointer (where stack was before call)
- stack pointer (where new bottom of stack is)
Segments of Process in Memory - Correct Answer ✅-
TEXT(lowest): code being executed
- DATA(middle growing up): static + dynamic
- STACK(highest growing down): activation frames of calls
System Calls - Correct Answer ✅- provide interface to OS
services
- context switch to kernel mode
- has sys lib entry point
- invocation causes kernel trap
- sys call number identifies a sysfunc from table
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 Allivia. 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.