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
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

COS3721 Chapter 4 Exam Questions And Answers 100% Verified And Updated.

Document preview thumbnail
Preview 2 out of 6 pages

COS3721 Chapter 4 Exam Questions And Answers 100% Verified And Updated. 1. ____ is a thread library for Solaris that maps many user-level threads to one kernel thread. A) Pthreads B) Green threads C) Sthreads D) Java threads - AnswerB 2. Pthreads refers to ____. A) the POSIX standard. B) an implementation for thread behavior. C) a specification for thread behavior. D) an API for process creation and synchronization. - AnswerC 3. The ____ multithreading model multiplexes many user-level threads to a smaller or equal number of kernel threads. A) many-to-one model B) one-to-one model C) many-to-many model D) many-to-some model - AnswerC 4. Cancellation points are associated with ____ cancellation. A) asynchronous B) deferred C) synchronous D) non-deferred - AnswerB 5. Which of the following would b

Content preview

©FYNDLAY 2024/2025 ALL RIGHTS RESERVED.



COS3721 Chapter 4 Exam Questions And
Answers 100% Verified And Updated.



1. ____ is a thread library for Solaris that maps many user-level threads to one kernel thread.
A) Pthreads
B) Green threads
C) Sthreads
D) Java threads - Answer✔B
2. Pthreads refers to ____.
A) the POSIX standard.
B) an implementation for thread behavior.
C) a specification for thread behavior.
D) an API for process creation and synchronization. - Answer✔C
3. The ____ multithreading model multiplexes many user-level threads to a smaller or equal
number of kernel threads.
A) many-to-one model
B) one-to-one model
C) many-to-many model
D) many-to-some model - Answer✔C
4. Cancellation points are associated with ____ cancellation.
A) asynchronous
B) deferred
C) synchronous
D) non-deferred - Answer✔B
5. Which of the following would be an acceptable signal handling scheme for a multithreaded
program?

1|Page

, ©FYNDLAY 2024/2025 ALL RIGHTS RESERVED.

A) Deliver the signal to the thread to which the signal applies.
B) Deliver the signal to every thread in the process.
C) Deliver the signal to only certain threads in the process.
D) All of the above - Answer✔D
6. Signals can be emulated in windows through ____.
A) asynchronous procedure calls
B) local procedure calls
C) remote procedure calls
D) none of the above - Answer✔A
7. Thread-local storage is data that ____.
A) is not associated with any process
B) has been modified by the thread, but not yet updated to the parent process
C) is generated by the thread independent of the thread's process
D) is unique to each thread - Answer✔D
8. LWP is ____.
A) short for lightweight processor
B) placed between system and kernel threads
C) placed between user and kernel threads
D) common in systems implementing one-to-one multithreading models - Answer✔C
9. Windows uses the ____.
A) one-to-one model
B) many-to-one model
C) one-to many-model
D) many-to-many model - Answer✔A
10. In multithreaded programs, the kernel informs an application about certain events using a
procedure known as a(n) ____.
A) signal
B) upcall
C) event handler


2|Page

Document information

Uploaded on
January 23, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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.
Fyndlay
3.7
(77)
Sold
428
Followers
82
Items
21033
Last sold
3 days 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