Variables and Data Types

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Jennifer Hoagland
Used 209+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type?
int
double
boolean
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should we use to hold a student's average in a class?
int
double
boolean
String
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should we use to hold how many student's are in a class?
int
double
boolean
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should we use to hold the name of your favorite color?
int
double
boolean
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should we use to hold if you have a pet?
int
double
boolean
String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or false:
This is a correct initialization of a variable.
int numBooks = 6;
true
false
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or false:
This is a correct initialization of a variable.
int myTemperature = 98.2;
true
false
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Conditionals - codeHS mod4

Quiz
•
9th - 12th Grade
11 questions
Java Boolean Statements

Quiz
•
11th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
15 questions
Pentaksiran T4(1.3)

Quiz
•
11th Grade
10 questions
C#

Quiz
•
11th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
10 questions
Java Data Types

Quiz
•
11th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade