Python - Variables
Quiz
•
Computers, Fun
•
6th - 8th Grade
•
Medium
Hương Thanh
Used 11+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is the following?: X = "295.47"
String
Float
Boolean
integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is the following?: Y = False
Float
String
Integer
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of giving a value to a variable is ...
Allocation
Assignment
Comparison
Debugging
4.
MULTIPLE SELECT QUESTION
30 sec • 5 pts
Choose valid variable names from the list of options given below:
1st_name
Last_name
first Name
f1_name
firstName
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Num = 90
Num = 20
print(Num)
90
4.5
20
1800
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In the following code, what type of variable is being created?
foo = "bar"
Integer
Float
String
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which name would be meaningful in keeping a record of someone's high score?
s
hs
score
highScore
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
30 questions
REVISION
Quiz
•
7th Grade
29 questions
Intro to Coding
Quiz
•
7th Grade
28 questions
Year 7 & 8 - Emerging Technology
Quiz
•
7th - 8th Grade
35 questions
MYE Revision 7 & 8
Quiz
•
7th - 8th Grade
34 questions
OCR GCSE 1.5 Systems Software MCQs
Quiz
•
8th - 10th Grade
26 questions
QTKD-UNIT 6 & UNIT 7
Quiz
•
8th Grade
31 questions
Microsoft Word
Quiz
•
1st - 12th Grade
26 questions
Artificial Intelligence Quiz1
Quiz
•
4th - 8th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
