Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 17 pages
Exam (elaborations)

UF COP4600 - Exam 1 UPDATED QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 3 out of 17 pages

UF COP4600 - Exam 1 UPDATED QUESTIONS AND CORRECT ANSWERS 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 = program + state Program - CORRECT ANSWER a program in execution sequence of instructions that embody an algorithm Job - CORRECT ANSWER a task to be completed Why need an O.S.? - CORRECT ANSWER - access and supervise I/O devices - manage resources - protect private info - facilitate program interactions 2 main OS Roles? - CORRECT ANSWER 2. extended machine - load program onto computer 1. resource manager 3 types of resource management - CORRECT ANSWER 2. memory manager 3. I/O management Purpose of extended machine - CORRECT ANSWER things. (file storage for example) What OS is not? - CORRECT ANSWER - not UI 1. process manager (who executes) allows user to not think about low-level

Content preview

UF COP4600 - Exam 1 UPDATED
QUESTIONS AND CORRECT ANSWERS
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



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)



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

2. system 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

- returns to library, returns to user program

- parameters stored at specific mem. locations



Hardware Interrupts - CORRECT ANSWER - hardware device sends interrupt request signal
to the CPU through interrupt controller

- CPU acks interrupt (implicitly checks for interrupts before each new instruction is loaded)

- interrupt controller sends specific IRQ #

- current CPU instruction interrupted and dispatcher finds correct handler, executes

- CPU resumes in user mode

- type of ASYNCHRONOUS TRAP



Handle an interrupted interrupt process? - CORRECT ANSWER - solved with interrupt masks

- a CPU feature that allows computer to ignore an interrupt request until mask bit is disabled

- stores interrupt data in a (sometimes dedicated) register until ready

- implement protection states that allow for hierarchical interrupting



Precise Interrupt Qualities (4) - CORRECT ANSWER 1. PC saved in known state

2. All preceding instructions fully executed

3. No instructions after PC have been executed

4. Execution state of PC instruction is known



Imprecise Interrupts - CORRECT ANSWER - instructions are left incomplete or partially
executed

- could simulate precision by rolling back incomplete instructions

Document information

Uploaded on
July 2, 2026
Number of pages
17
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
63
Followers
2
Items
9003
Last sold
6 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions