Finals Short Quiz Flashcards

1
Q

True or False

Executor Service is the basis for Java Executor framework subclasses.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False

ForkJoinPool implements the ExecutorService interface, allowing it to be used within the Java Executor framework.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False

ForkJoinPool can execute runnable and callable tasks.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False

AbstractExecutorService serves as a base for other concrete ExecutorService implementations.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False

The working stealing goal is to minimize the processor core utilization.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False

The WorkQueue deque that implements work-stealing maximizes locking contention

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False

Recursive Action – used for computations in which completed actions trigger other actions.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False

In the internal fork-join framework the poll() is called from another worker thread to “steal” a (sub-)task.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False

Fork() does not run the task immediately but instead places it on the work queue.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False

In forkjointask, Fork() arranges to asynchronously execute this task in the appropriate pool.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly