Computer Science: Chapter 2 Test Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Incredible
Used 98+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When data cannot be changed after a class is compiled, the data is __________.
Constant
Variable
Volatile
Mutable
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a primitive data type in Java?
Boolean
Byte
Int
Sector
3.
MULTIPLE CHOICE QUESTION
20 sec • 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
20 sec • 1 pt
The assignment operator in Java is __________.
=
==
:=
::
5.
MULTIPLE CHOICE QUESTION
20 sec • 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 = '9';
shoeSize = "nine";
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data types can store a value in the least amount of memory?
Short
Long
Int
Byte
7.
MULTIPLE CHOICE QUESTION
20 sec • 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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
CSS Quarter IV QUIZ 2
Quiz
•
10th Grade
20 questions
Quiz 4
Quiz
•
1st - 10th Grade
22 questions
HTML Quiz
Quiz
•
9th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
20 questions
Network topologies
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
