java tokens

java tokens

9th Grade

15 Qs

quiz-placeholder

Similar activities

2.4 Computational Logic

2.4 Computational Logic

9th - 11th Grade

20 Qs

Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

Java Quiz 1

Java Quiz 1

9th Grade

12 Qs

Creative Coding Test Review

Creative Coding Test Review

9th - 11th Grade

20 Qs

Python basics recap

Python basics recap

9th - 12th Grade

20 Qs

Project STEM AP CS A Unit 1 Quiz Review

Project STEM AP CS A Unit 1 Quiz Review

9th - 12th Grade

11 Qs

Python Data Types & Input/Output

Python Data Types & Input/Output

9th Grade

11 Qs

SK T4 1.3 Pemboleh Ubah, Pemalar dan Jenis Data

SK T4 1.3 Pemboleh Ubah, Pemalar dan Jenis Data

9th - 12th Grade

20 Qs

java tokens

java tokens

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Indrani Prasad

Used 86+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main difference between float and double data types?

4.1 is an example of float.

4.11 is an example of double.

Float consists of 8 bytes, and double consists of 4 bytes.

Float consists of 4 bytes, and double consists of 8 bytes.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What kind of data type is used for numbers?

Integer

String

Boolean

Floating Point

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Java Tokens help the compiler. Which of the following is a type of Java Token?

Identifiers

Keywords

Operators

All of the answers.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a blueprint and determines how an object will behave?

Object

Method

Attribute

Class

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a typical Java program, which of the following are crucial?

Methods, Attributes, Classes

Classes, Methods, Data Types

Classes, Methods, Objects

None of the answers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java was originally named:

Coffee

Oak

New C++

Duke

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a reference variable declaration?

int count;

String name;

float gpa;

char firstInitial;

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?