Multi Threading 4

Multi Threading 4

University

20 Qs

quiz-placeholder

Similar activities

Threads and Process

Threads and Process

University

20 Qs

Threads and Process

Threads and Process

University

18 Qs

Parallel and concurrent programming

Parallel and concurrent programming

University

23 Qs

Java

Java

University

15 Qs

oops U-4

oops U-4

University

15 Qs

OS THREADS ;)

OS THREADS ;)

University

20 Qs

IF Pagi - Quiz 2

IF Pagi - Quiz 2

University

20 Qs

Java Programming

Java Programming

University

20 Qs

Multi Threading 4

Multi Threading 4

Assessment

Quiz

Computers

University

Hard

Created by

KarunaiMuthu SriRam

Used 27+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is true about threads?

Threads consumes CPU in best possible manner

Threads enables multi processing.

Multi threading reduces idle time of CPU

All of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A thread can acquire a lock by using which reserved keyword?

volatile

synchronized

locked

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many threads can a process contain?

1

2

multiple

none of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is sometimes also called a lightweight process?

Thread

Process

JVM

Task

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are valid points about thread

Thread are subdivision of Process.

One or more Threads runs in the context of process.

Threads can execute any part of process. And same part of

process can be executed by multiple Threads.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are valid point about processes

Processes have their own copy of the data segment of the parent process

Threads have direct access to the data segment of its process

Processes have their own address

All of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is thread safe?

StringBuffer

StringBuilder

Both StringBuffer & StringBuilder

None

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?