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.7/5
(26)
Correct Answer:
Verified

A

What are the general components of a thread in Windows?

Free
(Essay)
4.8/5
(34)
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
(37)
Correct Answer:
Verified

False

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

(True/False)
4.8/5
(36)

Which are included in the context of a thread?

(Multiple Choice)
4.8/5
(39)

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
(38)

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

(Multiple Choice)
4.7/5
(33)

What is a thread pool and why is it used?

(Essay)
5.0/5
(28)

Concurrency is inherently equivalent to parallelism.

(True/False)
4.9/5
(41)

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

(Multiple Choice)
4.7/5
(24)

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

(Multiple Choice)
5.0/5
(33)

___________ 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.8/5
(32)

Which of the following is a method for implicit threading?

(Multiple Choice)
4.7/5
(34)

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

(Multiple Choice)
4.8/5
(35)

Thread-local storage is inherently equivalent to local variables.

(True/False)
4.8/5
(37)

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

(Essay)
4.9/5
(39)

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.8/5
(34)

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

(Multiple Choice)
4.9/5
(40)

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

(True/False)
4.9/5
(28)

Signals can be emulated in windows through ____.

(Multiple Choice)
4.7/5
(30)
Showing 1 - 20 of 59
close modal

Filters

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