CS 370 Final Questions and Answers
(100% Pass)
Unlike processor exceptions, interrupts are triggered by process executions.
✓ False
Consider the memory hierarchy depicted in the figure.
-Registers
-cache
-main mem
-Electronic disk
(Above Volatile)
- magnetic disk
-optical disk
- mag tapes
The access times decrease as you traverse up the memory (tapes-to-
registers) hierarchy.
✓ True
Master01 | October, 2024/2025 | Latest update
, 1|Page | © copyright 2024/2025 | Grade A+
To ensure efficiency and uninterrupted execution, processes executing in the
user mode are allowed to disable timer interrupts.
✓ False
The interrupt vector table allows the processor to quickly identify the precise
kernel routine to handle interrupts, processor exceptions, and system call
traps.
✓ True
The ISA (Instruction Set Architecture) for most processors include instructions
that operate on disk addresses in addition to those that operate on registers
and memory locations.
✓ False
The only way a process can execute a privileged instruction is when it is
running in kernel mode.
✓ True
Processes must be able to have read access permissions to regions in
memory that belong to other processes to maximize performance and ensure
high throughput.
Master01 | October, 2024/2025 | Latest update
, 1|Page | © copyright 2024/2025 | Grade A+
✓ False
Processes running in user mode do not have full access to the system's
hardware. To access sensitive resources from the systems, all processes must
be mediated by the Operating System, which runs in kernel mode.
✓ True
The code for the kernel is a small fraction of the codebase for the Operating
System and provides core functionality for the OS processes to use.
✓ True
Consider the memory hierarchy depicted in the figure.
The cost-per-bit increases as you traverse down (registers-to-tape) the
memory hierarchy.
-Registers
-cache
-main mem
-Electronic disk
(Above Volatile)
Master01 | October, 2024/2025 | Latest update
, 1|Page | © copyright 2024/2025 | Grade A+
- magnetic disk
-optical disk
- mag tapes
The access times decrease as you traverse up the memory (tapes-to-
registers) hierarchy.
✓ False
Q2
✓ Q2
The process control block (PCB) contains information about a process and is
used during context-switching between processes. The PCB for every process
is maintained in the cache.
✓ False
The reason that the child executes the instruction after fork() is that the child's
address-space is a bitwise identical copy of the parent, including the values
of the program counter.
✓ True
Master01 | October, 2024/2025 | Latest update