
Variables
Authored by Whizara Teacher
Computers
4th - 12th Grade
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
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
10 questions
Working with Text : Summary
Quiz
•
6th Grade
10 questions
Chrome
Quiz
•
2nd - 4th Grade
10 questions
Google Apps
Quiz
•
4th - 12th Grade
10 questions
Office 365
Quiz
•
12th Grade
10 questions
Back To Basics: Python Lesson 4 - 5 Review
Quiz
•
5th Grade
10 questions
TYPES OF COMPUTER
Quiz
•
3rd - 4th Grade
10 questions
Aeromodelling
Quiz
•
5th - 6th Grade
10 questions
Unit #8 | Worksheet #2
Quiz
•
6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade