JAVA Basics

JAVA Basics

University

10 Qs

quiz-placeholder

Similar activities

GAME 1

GAME 1

University

10 Qs

funny quiz

funny quiz

KG - University

10 Qs

Who Knows Me Best

Who Knows Me Best

KG - University

11 Qs

Queen and ClareBear

Queen and ClareBear

2nd Grade - Professional Development

11 Qs

Pan Tadeusz

Pan Tadeusz

1st Grade - Professional Development

10 Qs

GE101 QUIZ 1

GE101 QUIZ 1

University

15 Qs

Guess the Gaming Pet 1

Guess the Gaming Pet 1

KG - Professional Development

12 Qs

EL PRIMER PASO PARA INGRESAR ES DECIRLE NO A LAS REDES SOCIALES

EL PRIMER PASO PARA INGRESAR ES DECIRLE NO A LAS REDES SOCIALES

University

13 Qs

JAVA Basics

JAVA Basics

Assessment

Quiz

Arts

University

Practice Problem

Medium

Created by

Jamunadevi T

Used 239+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these cannot be used for a variable name in Java?

identifier & keyword

identifier

keyword

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is used to compile, debug and execute the java programs?

JRE

JIT

JDK

JVM

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an OOPS concept in Java?

Polymorphism

Compilation

Inheritance

Encapsulation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are selection statements in Java?

break

continue

for()

if()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in x in following lines of code?

int x, y, z;

 x = 0;

 y = 1;

 x = y = z = 8;

1

9

8

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following Java expression, if x=3, y=5, and z=10:

++z + y - y + z + x++

24

23

20

25

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following for loop declaration is not valid?

for ( int i = 99; i >= 0; i / 9 )

for ( int i = 7; i <= 77; i += 7 )

for ( int i = 20; i >= 2; - -i )

for ( int i = 2; i <= 20; i = 2* i )

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?