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)

PURDUE CS 354 - MIDTERM STUDY GUIDE | QUESTIONS AND ANSWERS | 2026 UPDATE | WITH COMPLETE SOLUTION

Document preview thumbnail
Preview 2 out of 13 pages

PURDUE CS 354 - MIDTERM STUDY GUIDE | QUESTIONS AND ANSWERS | 2026 UPDATE | WITH COMPLETE SOLUTION

Content preview

PURDUE CS 354 - MIDTERM STUDY GUIDE | QUESTIONS AND
ANSWERS | 2026 UPDATE | WITH COMPLETE SOLUTION




Why do we use XINU? Answer - It is small, complete, elegant, powerful, and
practical. We can also run it on real hardware, which gets rid of any work done
by VM.


What is an operating system? Answer - It provides an abstract computing
environment, supplies services, manages resources, hides low-level hardware.


What are some services an OS provides? Answer - Support for concurrent
execution, process synchronization, inter-process communication, file system,
etc.


How are OS services accessible to users? Answer - Each OS service is accessed
through a system call interface. Inside these system calls is where the internals
of the call are done. Normally a library wraps these system calls.


What is the open-close-read-write paradigm? Answer - Application uses open
to connect with file, then calls functions to read or write data, then calls close
to terminate use.


What are the two ways to achieve concurrent processing? Answer - Real
concurrency achieved by hardware (physical components operate concurrently,
CPU/IO work together).

, Apparent Concurrency achieved by multitasking (multiple programs appear to
operate simultaneously, but the OS provides this illusion).


What is a process? Answer - It is an active computation (i.e. the execution or
running of a program). It is an OS abstraction created by a system call,
managed entirely by the OS.


Note: "Processes" in XINU are more like threads, they share the same address
space but have their own stack.


What is the consequence for programmers? (Process storage) Answer - A copy
of function arguments and local variables are associated with each process
executing a particular function, not with the code in which they are declared.


What are the major OS components? Answer - Process manager, memory
manager, device manager, clock manager, file manager, interprocess
communication, intermachine communication, assessment


What is a multilayer structure? Does XINU use it? Answer - It is visible to user
and designer, each layer is used by layer directly above, provides protection as
well as data abstraction, but it can be inefficient (Ex: Internet Protocol). No,
XINU does not use it.


What is a multilevel structure? Does XINU use it? Answer - It is a form of data
abstraction, which is used during system construction. It allows designers to
focus on one thing at a time, and allows given level to use *all* lower levels.
This is quite efficient, and used by XINU.


How to build an OS? Answer - Begin with philosophy, establish policies, design
mechanisms, and construct an implementation.

Document information

Uploaded on
March 10, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$17.49

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.
EvaTee
3.8
(975)
Sold
5347
Followers
3573
Items
58076
Last sold
19 hours 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