• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 44 pages
Exam (elaborations)

CS 6200 Graduate Introduction to Operating Systems Exam Practice Questions And Correct Answers (Verified Answers) Plus Rationale 2027 Q&A| Instant Download Pdf.

Document preview thumbnail
Preview 4 out of 44 pages

CS 6200 Graduate Introduction to Operating Systems Exam Practice Questions And Correct Answers (Verified Answers) Plus Rationale 2027 Q&A| Instant Download Pdf.

Content preview

CS 6200 Graduate Introduction to
Operating Systems Exam Practice
Questions And Correct Answers
(Verified Answers) Plus Rationale 2027
Q&A| Instant Download Pdf.



1. Which statement best characterizes the central purpose of an
operating system in the context of CS 6200?
A. To provide only a graphical interface between users and
applications
B. To replace compiler functionality by translating high-level programs
directly into hardware instructions
C. To provide abstractions and mechanisms that manage hardware
resources while providing controlled execution environments for
applications
D. To eliminate the need for application-level resource management
entirely

Correct Answer: C

The operating system provides abstractions such as processes, virtual
memory, files, and sockets while implementing mechanisms for managing
CPU, memory, I/O devices, and other resources. This corresponds directly
to the course's emphasis on OS abstractions, mechanisms, concurrency,
synchronization, resource management, and distributed services.

, 2. Which distinction between an operating-system abstraction and an
operating-system mechanism is most accurate?
A. An abstraction defines what service or interface is presented,
whereas a mechanism describes how that service is implemented
B. An abstraction is always implemented in hardware, whereas a
mechanism is always implemented in software
C. An abstraction is visible only to the kernel, whereas a mechanism is
visible only to applications
D. An abstraction determines performance, whereas a mechanism
determines correctness

Correct Answer: A

An abstraction hides implementation details and presents a useful
conceptual interface, while a mechanism supplies the underlying means by
which that abstraction is realized. For example, a process is an abstraction,
while context switching is a mechanism used to implement process
execution and multiplexing.

3. A user program executes a system call requesting that the operating
system read data from a file. Which sequence most accurately
describes the transition involved?
A. The application directly modifies kernel memory, after which the
CPU resumes user mode
B. The application enters kernel mode through a controlled trap or
system-call mechanism, the kernel performs the requested operation,
and execution eventually returns to user mode
C. The application terminates and the kernel creates a new process
containing the requested data
D. The hardware automatically converts the system call into a network
request regardless of the underlying device

Correct Answer: B

,A system call provides a controlled entry point from user mode into kernel
mode. The kernel validates the request, performs or initiates the
operation, and eventually returns control to the application in user mode.

4. Why does an operating system generally execute privileged operations
in kernel mode rather than allowing arbitrary user processes to
perform them directly?
A. Kernel mode makes all programs execute faster
B. Privileged execution prevents the compiler from optimizing
application code
C. Privilege separation protects system resources and other processes
from unauthorized or unsafe operations
D. User-mode programs cannot perform arithmetic operations

Correct Answer: C

Privilege separation is fundamental to OS protection. Operations such as
modifying page tables, controlling devices, or disabling interrupts can
affect the entire system and therefore must be restricted to trusted kernel
code.

5. Which hardware feature is most directly responsible for preventing a
user process from indefinitely monopolizing the CPU under a
preemptive multitasking operating system?
A. DMA controller
B. Timer interrupt
C. Disk controller
D. Memory cache

Correct Answer: B

A periodic timer interrupt transfers control to the kernel, allowing the
operating system to regain control of the CPU and potentially schedule
another runnable process or thread. Without such a mechanism, a
malicious or poorly behaved process could prevent ordinary scheduling
from occurring.

, 6. Consider two processes, P1 and P2, executing concurrently. P1 writes
to a shared variable while P2 reads the same variable without
synchronization. Which concept most directly describes the potential
problem?
A. Deadlock
B. Race condition
C. Page fault
D. Context-free execution

Correct Answer: B

A race condition occurs when the correctness of a program depends on the
timing or ordering of concurrent accesses to shared state. Without
synchronization, P2 may observe an inconsistent, stale, or otherwise
unintended value depending on the interleaving of operations.

7. Which property is most closely associated with a correct critical-
section implementation?
A. Every process must enter its critical section simultaneously
B. At most one participating thread or process may execute the
protected critical section at a time
C. Critical sections must always execute in kernel mode
D. A critical section must never contain a memory access

Correct Answer: B

Mutual exclusion requires that no more than one thread or process at a
time execute a critical section protecting a shared resource. This prevents
conflicting concurrent operations from corrupting shared state.

8. Suppose a mutex is initially unlocked. Thread A acquires the mutex
and begins executing a critical section. Thread B then attempts to
acquire the same mutex. What should happen under normal mutex
semantics?
A. Thread B enters the critical section simultaneously with Thread A
B. Thread B permanently terminates

Document information

Uploaded on
August 24, 2026
Number of pages
44
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$24.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.
YouTubes
3.6
(37)
Sold
220
Followers
2
Items
5515
Last sold
14 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