Using Data

Using Data

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Science

Computer Science

9th - 12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

UTS DASPRO

UTS DASPRO

1st - 10th Grade

20 Qs

"switch" Java Statement - 1

"switch" Java Statement - 1

9th - 10th Grade

17 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Using Data

Using Data

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Annie Bradley

Used 14+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When data cannot be changed after a class is compiled, the data is ____________.
variable
constant
volatile
mutable

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a primitive data type in Java?
boolean
byte
sector
int

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following elements is not required in a variable declaration?
a type
an identifier
an assigned value
a semicolon

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The assignment operator in Java is ____________.
=
==
:=
::

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assuming you have declared shoeSize to be a variable of type int, which of the following is a valid assignment statement in Java?
shoeSize = 9;
shoeSize = 9.5;
shoeSize = ”nine”;
Two of the above are valid.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following data types can store the value 0 using the least amount of memory?
short
long
int
byte

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A boolean variable can hold ____________.
any character
any whole number
any decimal number
the value true or false

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?