CSL203 OOP Lab (Cycle-1) Viva

CSL203 OOP Lab (Cycle-1) Viva

University

10 Qs

quiz-placeholder

Similar activities

Java Programming Pt. 1

Java Programming Pt. 1

University

10 Qs

MP Pertemuan 01

MP Pertemuan 01

University

10 Qs

TEST-1-PREP

TEST-1-PREP

University

15 Qs

KT2_JAVA_CNCNTT22

KT2_JAVA_CNCNTT22

University

14 Qs

Android Introduction

Android Introduction

University

10 Qs

Programación y Desarrollo de Software 2

Programación y Desarrollo de Software 2

University

10 Qs

jQuery and MORE!

jQuery and MORE!

University

14 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

CSL203 OOP Lab (Cycle-1) Viva

CSL203 OOP Lab (Cycle-1) Viva

Assessment

Quiz

Computers

University

Medium

Created by

Sajith B

Used 6+ times

FREE Resource

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

.pdf

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?