Computer Science: Chapter 2 Test Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Incredible
Used 95+ 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
20 questions
ict5_mt_w2_sw2

Quiz
•
12th Grade - University
19 questions
AP CSA 1.2 Variables and Data Types

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

Quiz
•
11th - 12th Grade
18 questions
Pemrograman C++ (Dasar)

Quiz
•
11th Grade
20 questions
UTS DASPRO

Quiz
•
1st - 10th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
20 questions
Программирование кобинированный тест

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade