Core Java Java Intro and data types

Core Java Java Intro and data types

University

11 Qs

quiz-placeholder

Similar activities

JAVA I/O

JAVA I/O

University

10 Qs

Round 4 - Harvest

Round 4 - Harvest

University

15 Qs

SAINS KOMPUTER 1.3

SAINS KOMPUTER 1.3

University

11 Qs

11-27 Data Types in Java

11-27 Data Types in Java

8th Grade - University

8 Qs

Java Method Overloading

Java Method Overloading

University

6 Qs

Simple Quiz on Java Programming

Simple Quiz on Java Programming

University

10 Qs

Java - Nivelamento

Java - Nivelamento

University

15 Qs

Java

Java

University

11 Qs

Core Java Java Intro and data types

Core Java Java Intro and data types

Assessment

Quiz

Computers

University

Medium

Created by

Kundan Kumar

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a feature of Java?

Platform Independent

Object-Oriented

Memory Unsafe

Robust

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java code is compiled into an intermediate form called:

Object Code

Bytecode

Binary Code

Source Code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java primitive data type?

String
Float
Boolean
Integer

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size (in bits) of a Java ‘char’ data type?

8 bits
16 bits
32 bits
64 bits

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these data types is used to store decimal numbers in Java?

int and char
boolean and string
float and double
byte and short

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the range of the Java byte data type?

-128 to 128
-256 to 255
-128 to 127
0 to 255

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the range of the Java short data type?

0 to 65535
-32767 to 32768
-32768 to 32767
-128 to 127

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?