0% found this document useful (0 votes)
20 views

Final Lab Exam

Object-Oriented Programming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Final Lab Exam

Object-Oriented Programming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Home / My courses / UGRD-CS6203-2313T / FINAL EXAM / Final Lab Exam

Started on Sunday, 17 December 2023, 8:02 AM


State Finished
Completed on Sunday, 17 December 2023, 8:09 AM
Time taken 7 mins 11 secs
Marks 10.00/10.00
Grade 100.00 out of 100.00

Question 1
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 2

Correct

Mark 1.00 out of 1.00

We use thread to perform asynchronous or background processing

Select one:
a. False
b. True

Question 3
Correct

Mark 1.00 out of 1.00

Using threads increases the responsiveness of GUI applications.

Select one:
a. False
b. True


Question 4

Correct

Mark 1.00 out of 1.00

A finally block must be associated without a try block.

Select one:
a. False
b. True

Question 5
Correct

Mark 1.00 out of 1.00

Proper co-ordination is required between threads accessing common variables.

Select one:
a. Java threads
b. Risk factor
c. GUI applications
d. Multiprocessor systems

Question 6
Correct

Mark 1.00 out of 1.00

Facility to allow multiple activities within a single process.

Select one:
a. Multiprocessor systems
b. Risk factor
c. GUI applications
d. Java threads

Question 7
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 8

Correct

Mark 1.00 out of 1.00

Select one:
a. False
b. True

Question 9
Correct

Mark 1.00 out of 1.00

When a thread is invoked, there will be one path of execution.

Select one:
a. True
b. False

Question 10

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

◄ FINAL EXAM

Jump to...

You might also like