
Variables
Authored by Whizara Teacher
Computers
4th - 12th Grade
5 Questions
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which one of the following is the correct way of declaring and initializing a variable, x with the value 7?
int x
x=7
int x=7
x=7
declare x=7
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type:
true
false
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The following line of code is an example of:
print ("Distance hiked by Shannon is "+ str(S) + " miles" )
stringify
string conversion
concatenation
none of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In the following code, str(M) is an example of:
M = 30
print("Age of Leah's mom is " + str(M))
stringify
number conversion
type casting
none of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the correct data type for the following
print(“My age is”)
integer
string
character
boolean
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?
Similar Resources on Wayground
0 questions
Understanding Python Variables and Data Types
Quiz
•
0 questions
Python Variables and Data Types Quiz
Quiz
•
0 questions
Introduction to Variables and Data Types in Python
Quiz
•
0 questions
Beginning Python Quiz
Quiz
•
0 questions
Python Variable
Quiz
•
0 questions
Python Coding Specialist: Quiz Variables and Data Sets
Quiz
•
0 questions
Variable Data Types Quiz
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade