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 2 out of 13 pages
Exam (elaborations)

ENSF 461 Midterm Exam Questions and Verified Answers |Already Graded A+| 2026 Brand New Version!!!

Document preview thumbnail
Preview 2 out of 13 pages

Computer Science Study notes for the ensf 461 midterm exam, covering key concepts related to shell programming, operating systems (os), and c programming. It includes explanations of shell commands, environment variables, os functionalities like virtualization and memory management, and c programming fundamentals such as data types, preprocessor directives, and memory allocation. The notes also cover regular expressions, permissions, and concurrency, offering a comprehensive review for students preparing for the exam. It also includes questions and answers. Typology: Exams 2026/2027

Content preview

ENSF 461 Midterm Exam Questions and
Verified Answers |Already Graded A+|
2026 Brand New Version!!!

preemptive scheduling - Correct Answer -stops one process to run a different
process




STCF - Correct Answer -- the job that has the least amount of time remaining
should be scheduled, preempting any running jobs
- Pros: convoy-effect is no longer an issue
- Cons: we don't always know how long a job will take; not great for response time




T(response) - Correct Answer -T(first run) - T(arrival)




RR (Round Robin) - Correct Answer -each job be run for a fixed duration of time
(time slice) before switching
- Pros: good response time, fair since each job receives share of execution time
- Cons: more time is spent on context switching and less is spent on job execution

, MLFQ - Correct Answer -- places jobs into queues and each job is assigned a
priority level
- the job with the highest priority level queues first
- all jobs start at the highest priority, but can still move down
- scheduling jobs with the RR scheduler for example, we'll observe how much of a
time slice a job uses to estimate the job type (if it uses the whole time slice,
assume long running job)
- boosting priority ensures that a job is not starved for execution time
- Pros: good for mixed workloads without knowledge
- Cons: we don't know how to parameterize the system, how many queues, how
big time slices should be, how frequently to boost etc.




Proportional share scheduler - Correct Answer -gives every job a fair share of
resources




Lottery scheduling (probabilistic method of proportional share scheduling) -
Correct Answer -- scheduler assigns lottery tickets to jobs and the job is scheduled
when it wins the lottery
- the more tickets a job has, the more chances it has to win
- assigns CPU resources to the process that wins the lottery

Document information

Uploaded on
April 6, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.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.
Examchemist
4.3
(3)
Sold
20
Followers
0
Items
3233
Last sold
4 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