Professional Documents
Culture Documents
Term 3 OOP Prelim MP1 - Attempt Review
Term 3 OOP Prelim MP1 - Attempt Review
UGRD-CS6203-2113T /
Object-Oriented Programming /
Prelim MP1
Question 1
Correct
a. C++
b. SmallTalk
c. Kotlin
d. Java
Question 2
Correct
In Java, a
character constant’s value is its integer value in the _________character set.
a. EBCDIC
b. Binary
c. ASCII
d. Unicode
The
default value of a static integer variable of a class in Java is -
a. 0
b. Garbage Value
c. -1
d. 1
Question 4
Correct
a. finalized()
b. finally()
c. finalize()
d. finalizer()
Which
is not feature of OOP in general definitions -
a. Code reusability
b. Modularity
c. Duplicate/Redundant
data
d. Efficient
Code
Question 6
Correct
a. Compile-time
b. Run-time
c. Exception
d. Logical
When
an overridden method is called from within a subclass, it will always
refer to the version of that method
defined by the -
a. Subclass
b. Super class
c. Interpreter
will choose
d. Compiler
will choose randomly
Question 8
Correct
Which
of the following is not a component of Java Integrated Development Environment
(IDE)?
a. Net
Beans
b. Symantec’s
Visual Café
d. Borland’s
Jbuilder
Question 9
Incorrect
In
java, objects are passed as -
a. Memory
address
b. Copy
of that object
c. Constructor
d. Method
called call by value
a. Reader
b. Stream
c. Ouptput
d. Input
Jump to...
Prelim MP2 ►