0% found this document useful (0 votes)
361 views7 pages

Prelim Lab Quiz 1

The document summarizes the results of a student's prelim lab quiz on Java language and object-oriented programming fundamentals. The student answered 10 questions and received a score of 18 out of 20 or 90%. They answered 8 questions correctly and received full marks for those. They answered 1 question incorrectly and received 0 marks for that question.

Uploaded by

RianneNael
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)
361 views7 pages

Prelim Lab Quiz 1

The document summarizes the results of a student's prelim lab quiz on Java language and object-oriented programming fundamentals. The student answered 10 questions and received a score of 18 out of 20 or 90%. They answered 8 questions correctly and received full marks for those. They answered 1 question incorrectly and received 0 marks for that question.

Uploaded by

RianneNael
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/ 7

UGRD-CS6203C Object-Oriented

Programming
1. Home
2. My courses
3. UGRD-CS6203C-2123T
4. Week 1 - 2: Java Language
5. Prelim Lab Quiz 1

Started on Monday, 21 February 2022, 2:34 AM


State Finished
Completed on Monday, 21 February 2022, 2:50 AM
Time taken 16 mins 3 secs
Marks 18.00/20.00
Grade 90.00 out of 100.00
Question 1
Correct
Mark 2.00 out of 2.00

Flag question

Question text
When an overridden method is called from within a subclass, it will always refer to the
version of that method defined by the -

a.
Super class

b.
Interpreter will choose

c.
Compiler will choose randomly

d.
Subclass
Feedback
Your answer is correct.
Question 2
Correct
Mark 2.00 out of 2.00

Flag question

Question text
The default value of a static integer variable of a class in Java is -

a.
0

b.
Garbage Value

c.
1

d.
-1
Feedback
Your answer is correct.

Question 3
Correct
Mark 2.00 out of 2.00

Flag question

Question text
Which is not feature of OOP in general definitions -

a.
Modularity

b.
Duplicate/Redundant data

c.
Efficient Code

d.
Code reusability
Feedback
Your answer is correct.

Question 4
Correct
Mark 2.00 out of 2.00

Flag question

Question text
Which was the first purely object oriented programming language developed?

a.
Kotlin

b.
SmallTalk

c.
C++

d.
Java
Feedback
Your answer is correct.

Question 5
Correct
Mark 2.00 out of 2.00

Flag question
Question text
In Java, a character constant’s value is its integer value in the _________character set.

a.
EBCDIC

b.
Unicode

c.
ASCII

d.
Binary
Feedback
Your answer is correct.

Question 6
Correct
Mark 2.00 out of 2.00

Flag question

Question text
Which one presents a uniform, easy-to-use, object-oriented interface between the program
and the input/output devices :

a.
Input

b.
Ouptput

c.
Reader

d.
Stream
Feedback
Your answer is correct.

Question 7
Correct
Mark 2.00 out of 2.00

Flag question

Question text
Which of the following is not a component of Java Integrated Development Environment
(IDE)?

a.
Net Beans

b.
Microsoft Visual Fox Pro

c.
Symantec’s Visual Café

d.
Borland’s Jbuilder
Feedback
Your answer is correct.

Question 8
Incorrect
Mark 0.00 out of 2.00

Flag question

Question text
In java, objects are passed as -

a.
Method called call by value

b.
Copy of that object

c.
Memory address

d.
Constructor
Feedback
Your answer is incorrect.

Question 9
Correct
Mark 2.00 out of 2.00

Flag question

Question text
All syntax errors are known as following errors :

a.
Exception

b.
Logical

c.
Compile-time

d.
Run-time
Feedback
Your answer is correct.

Question 10
Correct
Mark 2.00 out of 2.00
Flag question

Question text
The java run time system automatically calls this method while garbage collection-

a.
finally()

b.
finalized()

c.
finalize()

d.
finalizer()
Feedback
Your answer is correct.

You might also like