Search Header Logo

Multi Threading 4

Authored by KarunaiMuthu SriRam

Computers

University

Used 28+ times

Multi Threading 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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