Exam 4: Threads Concurrency

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

In a multithreaded server architecture, which of the following is used to service a new user request?

(Multiple Choice)
4.8/5
(39)

Describe how OpenMP is a form of implicit threading.

(Essay)
4.8/5
(34)

The most common technique for writing multithreaded Java programs is _____.

(Multiple Choice)
4.9/5
(40)

When fork() is invoked, it is passed a set of flags that determine how much sharing is to take place between the parent and child tasks.

(True/False)
4.9/5
(31)

The _____ model multiplexes many user-level threads to a smaller or equal number of kernel threads.

(Multiple Choice)
4.7/5
(28)

Which of the following options to deliver signals in multithreaded program should be applied to a synchronous signal?

(Multiple Choice)
4.8/5
(30)

Amdahl's Law describes performance gains for applications with both a serial and parallel component.

(True/False)
4.9/5
(22)

Which of the following information is shared when the flag CLONE_VM is set up?

(Multiple Choice)
4.8/5
(33)

Which of the following statements regarding threads is false?

(Multiple Choice)
4.8/5
(42)

Which of the following options to deliver signals in multithreaded program should be applied to an asynchronous signal that terminates a process (<control><C>, for example)?

(Multiple Choice)
4.9/5
(23)

Which of the following cancellation modes is the default cancellation type?

(Multiple Choice)
4.8/5
(44)

Which of the following Pthread function is used to respond to a cancellation request using deferred cancellation?

(Multiple Choice)
4.9/5
(35)

Which of the following implicit threading methodology involves dispatch queues?

(Multiple Choice)
5.0/5
(41)

Describe how Grand Central Dispatch is a form of implicit threading.

(Essay)
4.8/5
(39)

Describe the difference between the fork() and clone() Linux system calls.

(Essay)
4.9/5
(40)

In Java, what two things does calling the start() method for a new Thread object accomplish?

(Essay)
4.8/5
(24)

What are the two different ways in which a thread library could be implemented?

(Essay)
4.9/5
(40)

Which of the following benefits go to multithreaded programming?

(Multiple Choice)
4.7/5
(43)

Distinguish between parallelism and concurrency.

(Essay)
4.9/5
(33)
Showing 41 - 59 of 59
close modal

Filters

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