CSCI 331 Ch. 2.1 Exam with all Correct & 100% Verified
Answers |Actual Complete Exam |Already Graded A+
an instance of a program being executed by an OS ✔Correct Answer-process
it is organized as a collection of processes ✔Correct Answer-operating system
A data structure that holds information for a process, including the current instruction address,
the execution stack, the set of resources used by the process, and the program being executed
✔Correct Answer-process control block (PCB)
The OS keeps track of each process using a ___________ ✔Correct Answer-process control
block (PCB)
An OS uses a PCB to represent a process. ✔Correct Answer-true
The OS implements every process as a data structure called PCB, the process control block.
The PCB is created by the process when execution starts. ✔Correct Answer-true
The PCB is a data structure created and maintained only by the OS, not by the process itself.
The PCB becomes part of the program being executed by a process. ✔Correct Answer-false
The PCB is an independent data structure managed by the OS that is destroyed when the
process terminates. The program remains unchanged.
Two processes can be executing the same program. ✔Correct Answer-true
A program can be executed multiple times simultaneously, each instance being a process. Each
PCB has a separate program counter to keep track of each process' execution location in the
program.
An agency employs a handyman to perform various jobs. By analogy, the OS uses the ______ to
execute different programs. ✔Correct Answer-CPU
The handyman performs jobs consisting of multiple steps, analogous to the CPU, which executes
________ consisting of multiple instructions. ✔Correct Answer-programs
The agency sends the handyman to a location where the job takes place. The work location
corresponds to the ________ where the program execution takes place. ✔Correct Answer-
memory
, The agency creates a job status record, which is the dynamic representation of the job's
progress, analogous to the __________, which is the representation of the process. ✔Correct
Answer-PCB
The job status record also keeps track of the resources assigned to the handyman in the same
way as the PCB keeps track of resources assigned to the _______. ✔Correct Answer-process
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The student corresponds to the _____. ✔Correct Answer-CPU
The student is the active entity performing the task of reading.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The book corresponds to the _____. ✔Correct Answer-program
The book contains the words to be read, just like the program contains the instructions to be
executed.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The library reading room corresponds to the _____. ✔Correct Answer-memory
The reading takes place in the reading room, just like the program execution takes place in the
memory.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The librarian corresponds to the _____. ✔Correct Answer-OS
The librarian is in charge of signing out the book and keeping track of the loan, just like the OS is
in charge of creating the PCB and keeping track of the process.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The check-out record corresponds to the _____. ✔Correct Answer-PCB
Answers |Actual Complete Exam |Already Graded A+
an instance of a program being executed by an OS ✔Correct Answer-process
it is organized as a collection of processes ✔Correct Answer-operating system
A data structure that holds information for a process, including the current instruction address,
the execution stack, the set of resources used by the process, and the program being executed
✔Correct Answer-process control block (PCB)
The OS keeps track of each process using a ___________ ✔Correct Answer-process control
block (PCB)
An OS uses a PCB to represent a process. ✔Correct Answer-true
The OS implements every process as a data structure called PCB, the process control block.
The PCB is created by the process when execution starts. ✔Correct Answer-true
The PCB is a data structure created and maintained only by the OS, not by the process itself.
The PCB becomes part of the program being executed by a process. ✔Correct Answer-false
The PCB is an independent data structure managed by the OS that is destroyed when the
process terminates. The program remains unchanged.
Two processes can be executing the same program. ✔Correct Answer-true
A program can be executed multiple times simultaneously, each instance being a process. Each
PCB has a separate program counter to keep track of each process' execution location in the
program.
An agency employs a handyman to perform various jobs. By analogy, the OS uses the ______ to
execute different programs. ✔Correct Answer-CPU
The handyman performs jobs consisting of multiple steps, analogous to the CPU, which executes
________ consisting of multiple instructions. ✔Correct Answer-programs
The agency sends the handyman to a location where the job takes place. The work location
corresponds to the ________ where the program execution takes place. ✔Correct Answer-
memory
, The agency creates a job status record, which is the dynamic representation of the job's
progress, analogous to the __________, which is the representation of the process. ✔Correct
Answer-PCB
The job status record also keeps track of the resources assigned to the handyman in the same
way as the PCB keeps track of resources assigned to the _______. ✔Correct Answer-process
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The student corresponds to the _____. ✔Correct Answer-CPU
The student is the active entity performing the task of reading.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The book corresponds to the _____. ✔Correct Answer-program
The book contains the words to be read, just like the program contains the instructions to be
executed.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The library reading room corresponds to the _____. ✔Correct Answer-memory
The reading takes place in the reading room, just like the program execution takes place in the
memory.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The librarian corresponds to the _____. ✔Correct Answer-OS
The librarian is in charge of signing out the book and keeping track of the loan, just like the OS is
in charge of creating the PCB and keeping track of the process.
A process can be compared to the act of reading a book checked out by a student from the
reserved books section of a library.
The check-out record corresponds to the _____. ✔Correct Answer-PCB