Java Data Types

Quiz
•
Computers
•
11th Grade
•
Hard
Standards-aligned
RODOLFO CANARIA
Used 35+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
10 questions
Performing Mensuration and Calculation part 1

Quiz
•
9th - 12th Grade
10 questions
Binary, Bits and Bytes

Quiz
•
9th - 12th Grade
10 questions
J277 - 1.2 - Units

Quiz
•
10th Grade - University
11 questions
77. Data_Rep - Binary Measurements Quiz

Quiz
•
9th - 12th Grade
15 questions
AQA Data Representation

Quiz
•
10th - 11th Grade
15 questions
Tipe Data dalam Basisdata

Quiz
•
1st - 12th Grade
11 questions
C Language

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University