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
Using Data

Quiz
•
10th - 12th Grade
18 questions
AP CSA U1L01-03

Quiz
•
11th - 12th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
20 questions
terstruktur

Quiz
•
10th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
15 questions
Java Level 1 - C

Quiz
•
12th Grade
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
20 questions
ict5_mt_w2_sw2

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade