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

Final Lab Exam - UGRD-CS6203C Object Oriented Programming

The document summarizes a student's attempt at a final exam on threads and concurrency in Java. The student answered all 10 multiple choice questions correctly, receiving full marks and a grade of 100% for the exam. It provides the questions asked, possible answer choices, and indicates the choice selected by the student.

Uploaded by

yhu FUL
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)
114 views

Final Lab Exam - UGRD-CS6203C Object Oriented Programming

The document summarizes a student's attempt at a final exam on threads and concurrency in Java. The student answered all 10 multiple choice questions correctly, receiving full marks and a grade of 100% for the exam. It provides the questions asked, possible answer choices, and indicates the choice selected by the student.

Uploaded by

yhu FUL
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

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

https://trimestralexam.amaesonline.com/2233/mod/quiz/review.php?attempt=149692&cmid=12783 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

https://trimestralexam.amaesonline.com/2233/mod/quiz/review.php?attempt=149692&cmid=12783 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...

https://trimestralexam.amaesonline.com/2233/mod/quiz/review.php?attempt=149692&cmid=12783 3/3

You might also like