
CSL203 OOP Lab (Cycle-1) Viva
Authored by Sajith B
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one the following represents the file type in which bytecode is stored?
.java
.txt
.class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In java, the 'int' data type is ____ bits in size
8
16
32
64
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following packages is available by default in all java programs?
java.util
java.io
java.lang
java.awt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid java identifier?
myVariable
my_Variable
2ndVariable
_myVariable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the JVM, what is the purpose of Just-In-Time (JIT) compiler?
To compile java source code into bytecode
To convert bytecode into machine code at runtime for improved performance
To perform static analysis on bytecode
To mange memory allocation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of Java's automatic garbage collection?
It speeds up program execution
It automatically reclaims memory used by objects that are no longer referenced
It reduces the need for explicit exception handling
It compiles code faster
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is considered the primary creator of the java programming language?
James Gosling
Bjarne Stroustrup
Dennis Ritchie
Guido van rossum
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?