Exam 4: Threads Concurrency

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

List the four major categories of the benefits of multithreaded programming. Briefly explain each.

(Essay)
5.0/5
(38)

Virtually all contemporary operating systems support kernel threads.

(True/False)
4.9/5
(41)

The default signal handler can be overridden by a user-defined signal handler.

(True/False)
4.8/5
(34)

To associate each thread created using an implicit technique such as a thread pool, with its unique transaction identifier, we could use ____?

(Multiple Choice)
4.8/5
(38)

Which of the following is an asynchronous signal?

(Multiple Choice)
5.0/5
(36)

Which of the following is a synchronous signal?

(Multiple Choice)
5.0/5
(30)

LWP is ____.

(Multiple Choice)
4.9/5
(41)

Multicore systems present certain challenges for multithreaded programming. Briefly describe these challenges.

(Essay)
4.8/5
(37)

Parallelism can be achieved on single-processor systems.

(True/False)
4.8/5
(30)

In Pthreads, a parent uses the pthread_join() function to wait for its child thread to complete. What is the equivalent function in Win32?

(Multiple Choice)
4.7/5
(36)

Deferred cancellation is preferred over asynchronous cancellation.

(True/False)
4.9/5
(34)

Which of the following cancellation modes are supported by Pthreads?

(Multiple Choice)
4.8/5
(29)

Which of the following options exist to deliver signals in multithreaded program?

(Multiple Choice)
4.9/5
(37)

How can deferred cancellation ensure that thread termination occurs in an orderly manner as compared to asynchronous cancellation?

(Essay)
4.8/5
(32)

OpenMP only works for C, C++, and Fortran programs.

(True/False)
4.8/5
(33)

In multithreaded programs, the kernel informs an application about certain events using a procedure known as a(n) ____.

(Multiple Choice)
4.8/5
(34)

In Java, data shared between threads is simply declared globally.

(True/False)
4.8/5
(30)

Grand Central Dispatch requires multiple threads.

(True/False)
4.9/5
(38)

The _____ model maps each user-level thread to one kernel thread.

(Multiple Choice)
4.8/5
(40)

Describe two techniques for creating Thread objects in Java.

(Essay)
4.8/5
(32)
Showing 21 - 40 of 59
close modal

Filters

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