8/16/23, 3:07 PM Final Lab Exam: Attempt review
Home / My courses / UGRD-CS6203C-2233T / FINAL EXAM / Final Lab Exam
Started on Wednesday, 16 August 2023, 3:05 PM
State Finished
Completed on Wednesday, 16 August 2023, 3:07 PM
Time taken 1 min 40 secs
Marks 10.00/10.00
Grade 100.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00
If you just want to achieve basic functionality of a thread you can simply implement Runnable interface and override run() method.
Select one:
a. False
b. True
Question 2
Correct
Mark 1.00 out of 1.00
We use thread to perform asynchronous or background processing
Select one:
a. True
b. False
Question 3
Correct
Mark 1.00 out of 1.00
Facility to allow multiple activities within a single process.
Select one:
a. GUI applications
b. Risk factor
c. Java threads
d. Multiprocessor systems
[Link] 1/3
8/16/23, 3:07 PM Final Lab Exam: Attempt review
Question 4
Correct
Mark 1.00 out of 1.00
Using threads increases the responsiveness of GUI applications.
Select one:
a. True
b. False
Question 5
Correct
Mark 1.00 out of 1.00
When a thread is invoked, there will be one path of execution.
Select one:
a. False
b. True
Question 6
Correct
Mark 1.00 out of 1.00
The thread ends when it comes when the run() method finishes its execution.
Select one:
a. True
b. False
Question 7
Correct
Mark 1.00 out of 1.00
Proper co-ordination is required between threads accessing common variables.
Select one:
a. Multiprocessor systems
b. GUI applications
c. Java threads
d. Risk factor
[Link] 2/3
8/16/23, 3:07 PM Final Lab Exam: Attempt review
Question 8
Correct
Mark 1.00 out of 1.00
A set of processes or threads is said to be deadlocked when each is waiting for an action that only one of the others can perform.
Select one:
a. False
b. True
Question 9
Correct
Mark 1.00 out of 1.00
Select one:
a. True
b. False
Question 10
Correct
Mark 1.00 out of 1.00
A finally block must be associated without a try block.
Select one:
a. False
b. True
◄ FINAL EXAM
Jump to...
[Link] 3/3