Exam 4: Threads Concurrency

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following items are shared across multiple threads belonging to the same process?

Free
(Multiple Choice)
4.8/5
(71)
Correct Answer:
Verified

A

What are the general components of a thread in Windows?

Free
(Essay)
4.8/5
(81)
Correct Answer:
Verified

The thread consists of a unique ID, a register set that represents the status of the processor, a user stack for user mode, a kernel stack for kernel mode, and a private storage area used by run-time libraries and dynamic link libraries.

Task parallelism distributes threads and data across multiple computing cores.

Free
(True/False)
4.8/5
(76)
Correct Answer:
Verified

False

The trend in developing parallel applications is to use implicit threading.

(True/False)
4.8/5
(79)

Which are included in the context of a thread?

(Multiple Choice)
4.8/5
(77)

Some UNIX systems have two versions of fork(). Describe the function of each version, as well as how to decide which version to use.

(Essay)
4.9/5
(81)

Which of the following is a function that can be provided by Pthreads API for constructing a multithreaded program?

(Multiple Choice)
4.7/5
(84)

What is a thread pool and why is it used?

(Essay)
5.0/5
(64)

Concurrency is inherently equivalent to parallelism.

(True/False)
4.9/5
(89)

Which of the following refers to the capability to allow multiple tasks make progress on a single processor system?

(Multiple Choice)
4.7/5
(71)

_____ is not considered a challenge when designing applications for multicore systems.

(Multiple Choice)
4.9/5
(77)

___________ is a formula that identifies potential performance gains from adding additional computing cores to an application that has a parallel and serial component.

(Multiple Choice)
4.7/5
(62)

Which of the following is a method for implicit threading?

(Multiple Choice)
4.7/5
(76)

____ is a thread library for Solaris that maps many user-level threads to one kernel thread.

(Multiple Choice)
4.8/5
(74)

Thread-local storage is inherently equivalent to local variables.

(True/False)
4.9/5
(85)

Why should a web server not run as a single-threaded process?

(Essay)
5.0/5
(87)

One-to-one model provides more concurrency than the many-to-one model by allowing another thread to run when a thread makes a blocking system call.

(True/False)
4.7/5
(78)

Which of the following models are possible for the relationship between the user threads and kernel threads?

(Multiple Choice)
4.9/5
(88)

The single benefit of a thread pool is to control the number of threads.

(True/False)
4.9/5
(63)

Signals can be emulated in windows through ____.

(Multiple Choice)
4.8/5
(77)
Showing 1 - 20 of 59
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)