Search Header Logo

Object Oriented Programming Language Quiz

Authored by Gnana Pragadeesh

Computers

University

Used 3+ times

Object Oriented Programming Language Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not an integer data type?

int

long

short

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Range of byte is?

-128 to +127, including zero

-128 to +128, including zero

-127 to +128, including zero

-127 to +127, including zero

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identifiers cannot starts with?

Characters

Digits

underscore ( _ ) symbols

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of a boolean variable in Java?

1 byte

1 bit

Varies from JRE to JRE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of a char variable in Java?

1 byte

4 byte

2 byte

Varies from JRE to JRE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of a boolean variable in Java?

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of data type short in Java?

-128 to 127

-32768 to 32767

-2147483648 to 2147483647

None of the mentioned

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?

Discover more resources for Computers