
Unit-III-Java - Deadlock

Quiz
•
Computers
•
University
•
Hard
Ajitha Padmanabhan
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A ________ in Java occurs when two or more threads are blocked forever, each waiting for the other to release a resource.
tasking
threading
resource
deadlock
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Both threads are now waiting for each other to release their locks, and neither can proceed, which is not resulting in a deadlock.
true
false
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A special type of error that to avoid that relates specifically to multitasking is _________which occurs when two threads have a circular dependency on a pair of synchronized objects.
synchronised
deadlock
threading
all of the mentioned
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Thread class also defines a method called ______ that stops a thread,
stop( )
run()
wait()
notify()
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Choose : signature of stop
final void ( )
final stop( )
final void stop
final void stop( )
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Once a thread has been stopped, it cannot be restarted using _________.
restart().
join().
resume( ).
start().
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
suspend( ) method of the Thread class was deprecated by Java 2 several years ago. was done because suspend( ) can sometimes cause serious system failures.
true
false
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Quizz SSOO 22/02/23

Quiz
•
University
14 questions
Concurrency and Operating Systems Quiz

Quiz
•
University
10 questions
2B Deadlock

Quiz
•
University
10 questions
Memory and process management

Quiz
•
University
11 questions
OPESSYS: Module 3 Quiz Game

Quiz
•
University
15 questions
Day 1 - Deployment ...

Quiz
•
University
10 questions
proses dan singkronisasi kelompok 5

Quiz
•
University
10 questions
Quiz tentang Thread dan Manajemen Thread

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University