Search Header Logo

25 IT102 Quiz 1

Authored by Infamous Unintelligent

Computers

University

Used 9+ times

25 IT102 Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Java?

Jason Gosling

James Gosling

James Googling

Jason Googling

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "WORA" stand for in Java?

Write Once, Run Anywhere

Write One, Read All

Work Once, Run Always

Write Only, Run Anywhere

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a Java feature?

Platform-Independent

Object-Oriented

Interpreted Only (No Compilation needed)

Write, Once Run Anywhere

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare an integer variable in Java?

int x = 10;

integer x = 10;

var x = 10;

x = 10;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type stores a single character?

String

char

boolean

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of System.out.println(5 + "5");?

10

55

"55"

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for single-line comments in Java?

/* */

//

#

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?