Search Header Logo

MultiThreading Quiz

Authored by Praveen Kumar Nalli

Computers

University

Used 150+ times

MultiThreading Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Execution of a java thread begins on which method call?

Run ()

Start ()

Execute ()

Launch ()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many ways a thread can be created in Java multithreading?

1

2

5

10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to make main thread to wait for all child threads

Join ()

Sleep ()

Wait ()

Stop ()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Default value of a java thread is

0

1

5

10

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If a priority of a java thread is 3 then the default priority of its child thread will be

0

1

5

3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Daemon thread runs in

BackGround

Foreground

Both

none

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to wait for child threads to finish in Java?

Wait ()

Sleep ()

Join ()

isAlive()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?