Computer Science: Chapter 2 Test Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Incredible
Used 98+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
T2 ASK (BAB1-3)

Quiz
•
9th Grade
20 questions
AP Computer Science A Final Review

Quiz
•
10th Grade
20 questions
Algoritmi Java

Quiz
•
11th Grade
15 questions
Class X - Java 1

Quiz
•
10th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
20 questions
PERSEKITARAN KOD ARAHAN FORM2

Quiz
•
9th Grade
20 questions
Ulangan C++ Class XI TKJ

Quiz
•
11th Grade
17 questions
Variables

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade