
Chapter 4 Exam Review
Authored by Ashley Brown
Information Technology (IT)
8th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Python data type?
String
Integer
Floating Point
All of these are valid
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would best hold the value "Greetings"?
String
Integer
Floating Point
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we call an area in computer memory that holds a named value?
Variable
Vault
Locker
Dictionary
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the data type of a variable?
Just assign a new value to the variable, and the type is automatically changed
Call the type() function
Print the variable contents to the screen
You can't change a variable's data type after the initial assignment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements will successfully assign the value 17 to the variable "age"?
age = 17
age + 17
17 = age
age(17)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names are invalid?
123LookAtMe
Look_at_me
LookAtMe123
All of these are valid
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on best practice rules for naming variables, which of the following variable names would be best to hold a value containing a player's score?
playerScore
ps
ThePlayersCurrentScoreInOurGame
x
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?