Java basic

Java basic

University

21 Qs

quiz-placeholder

Similar activities

Programming Lab Quiz

Programming Lab Quiz

University

25 Qs

Quiz Round For Group 1

Quiz Round For Group 1

University

20 Qs

C classroom activity 8.4.25

C classroom activity 8.4.25

University

20 Qs

Qualifier Set B

Qualifier Set B

University

25 Qs

Aptitude and OOP Concepts Assessment

Aptitude and OOP Concepts Assessment

University

20 Qs

Exploring Creative Coding Foundations

Exploring Creative Coding Foundations

University

21 Qs

AVINYA 2K25

AVINYA 2K25

University

19 Qs

NEXUS'25

NEXUS'25

University

20 Qs

Java basic

Java basic

Assessment

Quiz

Engineering

University

Hard

Created by

Venishaa Natarajan

Used 4+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what is the output of the code?

AB

195

131

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

ABA

AB65

Error

AB

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

HelloGuys!

Hello Guys!

Hello

Guys!

Compile with a Warning

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is byte code in Java?

  1. It is another name for java source file that contain the information about the hardware.

  1. It is a binary code generated by the Java Virtual Machine for operating system.

  1. It is an intermediate code generated by the java compiler for Java Virtual Machine.

  1. None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

10

a

Unprintable Character

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct declaration of a boolean variable?

  1. boolean isAdult='false';

  1. boolean isAdult=0;

  1. boolean isAdult="false";

  1. boolean isAdult=false;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the program?

12345678910

11

Error

1 2 3 4 5 6 7 8 9 10

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?