Quiz 3: Multithreading

Quiz 3: Multithreading

Professional Development

20 Qs

quiz-placeholder

Similar activities

Set Six

Set Six

Professional Development

20 Qs

Tool & Die Maker (Dies & Moulds) 19

Tool & Die Maker (Dies & Moulds) 19

Professional Development

15 Qs

PREE TEST 2

PREE TEST 2

Professional Development

15 Qs

Paxton Net2 Systems and Access Control Relays Quiz

Paxton Net2 Systems and Access Control Relays Quiz

Professional Development

21 Qs

AUT105 Week 2 Hydraulics & Power Brake Theory Chapter 44 Test

AUT105 Week 2 Hydraulics & Power Brake Theory Chapter 44 Test

Professional Development

20 Qs

Peete Elementary Employee Handbook

Peete Elementary Employee Handbook

Professional Development

17 Qs

SWD Course 2021

SWD Course 2021

Professional Development

16 Qs

Set Two

Set Two

Professional Development

20 Qs

Quiz 3: Multithreading

Quiz 3: Multithreading

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

MADHURI KETHARI

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is true about threads?

  1. Threads consumes CPU in best possible manner

  1. Threads enables multi processing.

  1. Multi threading reduces idle time of CPU

  1. All

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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


  1. volatile

  1. synchronized

  1. locked

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. How many threads can a process contain?


1

2

multiple

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is sometimes also called a lightweight process?


  1. Thread

  1. Process

JVM

Method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What are valid points about thread


  1. Thread are subdivision of Process.

  1. One or more Threads runs in the context of process.

  1. Threads can execute any part of process. And same part of process can be executed by multiple Threads.

  1. All

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What are valid point about processes


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

  1. Threads have direct access to the data segment of its process

  1. Processes have their own address

  1. All of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which is thread safe?

  1. StringBuffer

  1. StringBuilder

All

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?