Data Types

Data Types

12th Grade

10 Qs

quiz-placeholder

Similar activities

Recap of Sessions 18 & 19

Recap of Sessions 18 & 19

11th Grade - University

10 Qs

Pengayaan : Soal Matpel PBTGM Kelas 12 RPL 2

Pengayaan : Soal Matpel PBTGM Kelas 12 RPL 2

12th Grade

15 Qs

DAY 30 CIVILWAR surveyor  - Surveying introduction part 2

DAY 30 CIVILWAR surveyor - Surveying introduction part 2

1st Grade - University

10 Qs

Inducción de Seguridad - Ecoclean - Ecogas

Inducción de Seguridad - Ecoclean - Ecogas

12th Grade - University

14 Qs

Recap of Sessions 20 & 21

Recap of Sessions 20 & 21

11th Grade - University

10 Qs

Ground Water Hydrology

Ground Water Hydrology

12th Grade

12 Qs

Engineering Vocabulary 1

Engineering Vocabulary 1

7th - 12th Grade

15 Qs

Idioms Unveiled: Understanding Everyday Expressions

Idioms Unveiled: Understanding Everyday Expressions

4th Grade - University

15 Qs

Data Types

Data Types

Assessment

Quiz

Engineering

12th Grade

Practice Problem

Hard

Created by

Khairina Azra

Used 7+ 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

20 sec • 1 pt

int x = 10;

System.out.println(x / 3);

3

3.33

3.0

Compilation error

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

double y = 10 / 3;

System.out.println(y);

3.33

3

3.0

Compilation error

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

char letter = 'A' + 1;

System.out.println(letter);

A

B

66

Compilation error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

boolean result = (5 > 3) && (2 < 1);

System.out.println(result);

true

false

Runtime error

Compilation error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

float f = 5.5;

System.out.println(f);

5.5

5

Runtime error

Compilation error

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

System.out.println("10" + 5);

105

15

10 + 5

Compilation error

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

long l = 1000 * 1000 * 1000 * 1000;

System.out.println(l);

1 000 000 000 000

Overflow, incorrect result

Runtime error

Compilation error

Create a free account and access millions of resources

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?