
Multithreading
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Ms STAFF
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to start a thread in Java?
run()
begin()
start()
execute()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is called when a thread is started?
start()
run()
execute()
init()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to pause the execution of a thread for a specified time?
sleep()
wait()
yield()
join()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will cause a thread to release the lock it holds?
sleep()
yield()
wait()
run()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you call start() on a thread object that has already been started?
It runs normally
It does nothing
It throws IllegalThreadStateException
It calls run() again
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which state is a thread in when it is waiting to acquire a lock held by another thread?
RUNNABLE
WAITING
BLOCKED
NEW
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a valid thread state?
NEW
RUNNABLE
DEAD
EXECUTING
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Physical Security Controls
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
15 questions
Computer basics for beginners
Quiz
•
Professional Development
10 questions
GUESS THAT WORD IN CYBER!
Quiz
•
Professional Development
10 questions
Let's Play Together
Quiz
•
University - Professi...
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
