
Python - Printing, Variables and Syntax
Authored by J Sharp
Computers
8th Grade
Used 244+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the output be of this code?
print"Hello World"
Hello World
"Hello World"
Syntax error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the output be of this code?
print("Hello World")
Hello World
"Hello World"
Syntax error
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is syntax?
The words in a language
The rules that must be followed in a language
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Name the variable in this code:
name = "Daffy"
print("Hi", name)
Daffy
Hi
Name
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a variable?
Someone's name
A stored value
Syntax
Iteration
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How many individual variables are in this code?
name = "Goofy"
age = "21"
holiday = "Disney"
print("Hi", name, "I see you are", age, "would you like to go to" holiday, "?")
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is wrong with this code?
name = Daisy
print("Hello", name)
Missing " " on name
Missing ( ) on Daisy
Extra , after Hello
Missing " " on Daisy
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
Youtubers Charlie.C-J
Quiz
•
3rd - 9th Grade
11 questions
Python Variables
Quiz
•
6th - 8th Grade
14 questions
Microsoft Excel Advanced Features
Quiz
•
1st Grade - University
10 questions
Google Drive
Quiz
•
KG - University
14 questions
Windows
Quiz
•
1st - 12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
6 questions
The dream team
Quiz
•
5th Grade - Professio...
10 questions
Списки Python + Pygame
Quiz
•
KG - University
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