
Variables and Data Types
Authored by Jennifer Hoagland
Computers
10th - 12th Grade
Used 220+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?