
JAVA Threads Quiz

Quiz
•
Computers
•
University
•
Hard
Raju Amireddy
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is mean by Thread?
It is heavy weight process
It is light weight process
It is heavy weight and light weight process
None
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these method of Thread class is used to find out the priority given to a thread?
get()
ThreadPriority()
getPriority()
getThreadPriority()
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these is not a Thread state?
New
Runnable
sleep
terminated
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of the wait() method in Java threads?
To pause the execution of a thread.
To terminate a thread.
To notify other threads to resume execution.
To release the lock held by the thread.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the maximum number of threads that can be created in a Java program?
There is no fixed limit.
It depends on the amount of available memory.
It depends on the number of CPU cores.
It is limited to 100 threads.
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Thread Lifecycle contain How many states?
1
2
5
6
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A thread executing in the Java virtual machine is in _ state.
Blocked
Terminated
Waiting
Runnable
8.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A thread that has exited is in _state.
Waiting
Blocked
Terminated
Runnable
Similar Resources on Wayground
8 questions
Threads

Quiz
•
University
12 questions
Understanding Threads in Operating Systems

Quiz
•
University
7 questions
Multi-Threading

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
7 questions
Session 10

Quiz
•
University
12 questions
Threads in C# Quiz

Quiz
•
University
11 questions
OPESSYS: Module 3 Quiz Game

Quiz
•
University
10 questions
Tutorium1

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade