0% found this document useful (0 votes)
94 views3 pages

Midterm 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)
94 views3 pages

Midterm 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 / MIDTERM EXAM / Midterm Lab Exam

Started on Friday, 17 November 2023, 9:46 AM


State Finished
Completed on Friday, 17 November 2023, 9:52 AM
Time taken 5 mins 10 secs
Marks 10.00/10.00
Grade 100.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

An abstract class can be instantiated.

Select one:
a. True
b. False

Question 2

Correct

Mark 1.00 out of 1.00

A class which is not abstract is referred as.

Select one:
a. Parent class
b. Child class
c. Concrete class
d. Abstract class

Question 3
Correct

Mark 1.00 out of 1.00

A class can be made static only if it is _______________?

Select one:
a. Static class
b. Nested class
c. Nested methods
d. Static methods


Question 4

Correct

Mark 1.00 out of 1.00

An abstract class has no use until unless it is extended by some other class.

Select one:
a. True
b. False

Question 5
Correct

Mark 1.00 out of 1.00

A class that is declared using abstract keyword.

Select one:
a. Child class
b. Parent class
c. Concrete class
d. Abstract class

Question 6
Correct

Mark 1.00 out of 1.00

Class that implements any interface must implement all the methods of that interface, else the class should be declared abstract.

Select one:
a. True
b. False

Question 7
Correct

Mark 1.00 out of 1.00

Abstract method has no body.

Select one:
a. False
b. True


Question 8

Correct

Mark 1.00 out of 1.00

An interface can implement another interface

Select one:
a. True
b. False

Question 9
Correct

Mark 1.00 out of 1.00

A class derived from the abstract class must implement all those methods that are declared as abstract in the parent class.

Select one:
a. False
b. True

Question 10
Correct

Mark 1.00 out of 1.00

An abstract class must be extended and in a same way abstract method must be overridden.

Select one:
a. False
b. True

◄ MIDTERM EXAM

Jump to...

You might also like