Java Data Types

Java Data Types

11th Grade

10 Qs

quiz-placeholder

Similar activities

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Bảo mật mạng

Bảo mật mạng

11th Grade

10 Qs

Kidbright

Kidbright

1st - 12th Grade

10 Qs

BTEC DIT C3 B1 - Threats to Data

BTEC DIT C3 B1 - Threats to Data

11th Grade

11 Qs

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

6th Grade - Professional Development

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Java Data Types

Java Data Types

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Data Types

Standards-aligned

Created by

RODOLFO CANARIA

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

5 sec • 1 pt

It is used to store two types of values, i.e., true or false. This data type is commonly used as a flag in code logic.

boolean

byte

char

String

Tags

Data Types

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

It can store 8-bit signed two’s complement integer. The range lies between -128 to 127

byte

boolean

char

string

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

This data type is used to store a single 16-bit Unicode character. It stores just one character in simple words, and the word Unicode is used because java uses the Unicode system, not the ASCII system. The size of this data type is 16bits (2 bytes).

byte

boolean

char

int

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

It is a data type that stores 32 bit(4 bytes) two’s complement integer, i.e., its range lies within (-2^31 to 2^32 – 1).

int

float

double

String

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Similar to ‘int,’ it is also used to store integer values but within 16-bit (2 bytes) signed two’s complement. Its range lies within (-2^15 to 2^16-1).

int

long

short

byte

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is 64 bit two’s complement integer and its range lies within (-2^63 to2^64 – 1) i.e. ( -9,223,372,036,854,775,808 to 9,223,372,036,854,775,808).

int

short

long

byte

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

It is a data type that holds data with more precision, i.e., floating-point numbers. It is a single-precision 32-bit (4 bytes) IEEE754 floating-point.

int

float

double

char

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?