Data Types

Data Types

12th Grade

10 Qs

quiz-placeholder

Similar activities

DAY 42 WORKSHEET LSGD (IRRIGATION)

DAY 42 WORKSHEET LSGD (IRRIGATION)

1st Grade - University

15 Qs

Essential Engineering Workshop Tools Quiz

Essential Engineering Workshop Tools Quiz

12th Grade

14 Qs

Understanding Manual Gearbox Components

Understanding Manual Gearbox Components

11th Grade - University

10 Qs

Ch1 the automobile engine

Ch1 the automobile engine

9th - 12th Grade

10 Qs

Drone Part 107 - Bell Work

Drone Part 107 - Bell Work

9th - 12th Grade

15 Qs

System and System Thinking Exit Ticket NEGH

System and System Thinking Exit Ticket NEGH

12th Grade

12 Qs

Artificial Intelligence

Artificial Intelligence

10th Grade - University

10 Qs

3rd BLOCK Dimensioning Rules and Guidelines 10.13.25

3rd BLOCK Dimensioning Rules and Guidelines 10.13.25

9th - 12th Grade

14 Qs

Data Types

Data Types

Assessment

Quiz

Engineering

12th Grade

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?