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
Exam (elaborations)

CS 370 Final Questions and Answers (100% Pass)

Rating
-
Sold
-
Pages
39
Grade
A+
Uploaded on
22-10-2024
Written in
2024/2025

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-toregisters) hierarchy. True Master01 | October, 2024/2025 | Latest update 1 | P a g e | © 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 | P a g e | © 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 | P a g e | © copyright 2024/2025 | Grade A+ - magnetic disk -optical disk - mag tapes The access times decrease as you traverse up the memory (tapes-toregisters) 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 1 | P a g e | © copyright 2024/2025 | Grade A+ Consider the code snippet: childPID = fork(

Show more Read less
Institution
CS 370
Course
CS 370

Content preview

1|Page | © copyright 2024/2025 | Grade A+




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

Written for

Institution
CS 370
Course
CS 370

Document information

Uploaded on
October 22, 2024
Number of pages
39
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.99
Get access to the full document:

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

Get to know the seller

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.
Axpert Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
546
Member since
2 year
Number of followers
167
Documents
28179
Last sold
2 days ago
Study Smart

Your one-stop resource for high-quality, exam-focused study materials. Here, you'll find expertly crafted summaries, past exam papers, notes, and assignments tailored to help you succeed in your courses. Every document is written with clarity, accuracy, and exam performance in mind—saving you hours of studying and helping you boost your grades. ✅ Clear and well-structured content ✅ Covers key exam topics and common questions ✅ Trusted by students for academic success ✅ Instant downloads and affordable prices Whether you're cramming for finals or just staying ahead in class, my materials are designed to make your studying smarter, not harder. Take a look around and get the edge you need!

Read more Read less
3.8

125 reviews

5
56
4
26
3
22
2
4
1
17

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