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

Cptr 352-Test 2 Review Questions

Document preview thumbnail
Preview 2 out of 9 pages

CPTR 352-TEST 2 REVIEW QUESTIONS

Content preview

CPTR 352-TEST 2 REVIEW QUESTIONS

PCB is an acronym for what? - Answer -Process Control Block

(T/F)The PCB is created by the process when execution starts. - Answer -False

(T/F)The PCB becomes part of the program being executed by a process. - Answer -
False

(T/F)Two processes can be executing the same program. - Answer -True

A context ______ is the transfer of control from one process to another. - Answer -
switch

The CPU _____ is the information that needs to be saved when transferring from one
process to another. - Answer -state

Which of the following can cause a transfer from a currently running process (p) to
another process? - Answer -the os
the process (p) itself

Which of the following series of state transitions is valid? - Answer -new->ready-
>suspended->blocked->suspended

Indicate which PCB fields may change while a process is in the running state. - Answer
-open_files
children

(T/F)The initial CPU state of a newly created process is NULL or undefined. - Answer -
False

(T/F)When a new process p is created, the scheduler could select p to run next. -
Answer -True

(T/F)The responsibility to close all files should rest with the programmer, not the destroy
function. - Answer -False

RCB is an acronym for what? - Answer -Resource Control Block

(T/F)A RCB waiting list can be implemented as a linked list where each element points
to a PCB. - Answer -True

(T/F)A process can be blocked on more than one resource. - Answer -False

, (T/F) A request can be initiated by any process, regardless of the process's current
state. - Answer -False

Which function is called at the end of each of the process and resource management
functions: create, destroy, request, release. - Answer -scheduler, scheduler function,
the scheduler function

A ______ is an instance of executing a portion of a program within a process without
incurring the overhead of creating and managing separate PCB's. - Answer -thread

TCB is an acronym for what? - Answer -Thread Control Block

(T/F)A virtual CPU can allow a program to run a program not supported by the
hardware. - Answer -True

Match the type of scheduling with the description.
1. Long-term scheduling
2. Short-term scheduling - Answer -1. A process entering the RL from the suspended
list is subject to what?

1. Decides when a process should enter the ready state and start competing for the
CPU.

1. A process entering the RL from a list of new processes is subject to what?

2. Decides which of the ready processes should run next on the CPU.

2. A process entering the RL from the waiting list is subject to what?

2. A process entering the RL from the CPU is subject to what?

Match the scheduling algorithm type with the action.

1. Preemptive

2. Non-preemptive

3. Both - Answer -3. Makes a scheduling decision whenever a process terminates.

1. Makes a scheduling decision whenever a process changes from the blocked state to
the ready state.

3. Makes a scheduling decision whenever a process requests an unavailable resource.

1. Makes a scheduling decision whenever a new process arrives in the RL.

Document information

Uploaded on
October 31, 2025
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.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.
GEEKA
3.8
(379)
Sold
2238
Followers
1451
Items
63428
Last sold
23 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