Python - Variables and Input

Quiz
•
Computers
•
1st - 10th Grade
•
Medium
Tezel Asena
Used 76+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is an invalid variable
Score
MyScore
First Score
FScore
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
print("confusion")
Confusion
confusion
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
a = 5
b = 6
c = 1
b = 4
print(3 - c)
2
1
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code utput:
Mark1 = 50
Mark2 = 50
Total = Mark1 + Mark2
print(total)
Undefined name error
100
0
5050
Answer explanation
Variable names are case-sensitive.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the chocies, what is the best variable name to use for storing the following information:
China, Russia, USA, France, Canada, Japan, Mongolia, Turkey, Nigeria
Nations
C
NRUFCJMTN
World_Country_Names
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct assignment symbol.
=
==
*
:
Answer explanation
Assignment is when you assign or store data in your variables.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of data is
12.7
integer
float
boolean
string
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python year 9

Quiz
•
8th - 11th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
17 questions
Python KS3

Quiz
•
6th - 9th Grade
20 questions
GCSE J277 - 2.3.2 - Syntax and Logic Errors

Quiz
•
7th Grade
20 questions
Python Assessment

Quiz
•
7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade