Search Header Logo

Session 4

Authored by Rafael Wampfler

Computers

University

Used 26+ times

Session 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Notify always notifies the thread that...

has been waiting the longest time

has been waiting the shortest time

This is arbitrary/we don't know precisely

has the ID closest to the notifying thread (ascending order)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a thread leaves a synchronized block, waiting threads will be notified.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

No bad interleavings happen if multiple threads use this increment method (x will have the correct value in the end)

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a given pipeline, latency

Can increase as instances go through

Can decrease as instances go through

Can increase or decrease as instances go through

Always stays constant

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers