Java T1

Java T1

Professional Development

51 Qs

quiz-placeholder

Similar activities

MOOC

MOOC

Professional Development

50 Qs

Java Threads

Java Threads

Professional Development

52 Qs

IP UNIT 1

IP UNIT 1

Professional Development

56 Qs

C Programming  Quiz SET-1

C Programming Quiz SET-1

Professional Development

50 Qs

BMC Basic Machine Element

BMC Basic Machine Element

Professional Development

50 Qs

C++ Test Upto String and FUnction

C++ Test Upto String and FUnction

Professional Development

50 Qs

Post Test Transmisi PBMC

Post Test Transmisi PBMC

Professional Development

55 Qs

Product Knowledge Scania R580 & R620

Product Knowledge Scania R580 & R620

Professional Development

50 Qs

Java T1

Java T1

Assessment

Quiz

Professional Development

Professional Development

Hard

Data Types

Standards-aligned

Created by

Programming House

Used 3+ times

FREE Resource

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?