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

CMSC 421 MIDTERM(100% Verified)

Document preview thumbnail
Preview 1 out of 4 pages

Girl TA correct answers Aishwarya sapkale - Teacher correct answers Gerald Tompkins - How might starvation and deadlock happen to processes running in a computer? correct answers Starvation and deadlock can occur in case where something is locked due to another process accessing it and never exiting it such as the Reader's and Writer's problem What is the difference between a named pipe and ordinary pipe? (Other than one has a name and the other does not.) How and why are they used? correct answers -An named pipe is bidirectional and doesn't need to be parent-child related communication -An ordinary pipe is bidirectional and must be parent-child related communication -Pipes are used to communicate by sending/receiving messages between two processes. Thread correct answers Thread is a path of execution within a process and a process is the instance of an execution of an application. Cryptography correct answers Symmetric has the same key on each side while asymmetric each side has a different key. They can both be used when doing something like buying things online. Method: Hashing- taking a string and making it shorter and unique Critical Section correct answers Section where variables are accessed but only one process can execute at a time Solution: Mutal exclusion Race condition correct answers two or more processes are attempting to be run in the critical section Interrupt vs Signal correct answers Interrupt triggered by external components from the CPU while a signal is triggered by something within the CPU Block vs non Block correct answers Block/synchronous: send/recieve is blocked until other is done while Non block/Asynchronous is continuous Process ID correct answers Used by most OS kernels to uniquely identify active process


Document information

Uploaded on
May 23, 2024
Number of pages
4
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.39

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.
Sold
23
Followers
6
Items
4026
Last sold
1 month 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

Whoops! We can’t load your doc right now. Try again or contact support.