What will the output be of this code?
print"Hello World"
Python - Printing, Variables and Syntax
Quiz
•
Computers
•
8th Grade
•
Medium
J Sharp
Used 203+ times
FREE Resource
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
12 questions
Computer Systems - How the web works - Lesson 7
Quiz
•
8th Grade
10 questions
Homework 5- Variables and selection
Quiz
•
8th Grade
12 questions
Python Homework
Quiz
•
8th Grade
15 questions
Python Programming
Quiz
•
5th Grade - University
15 questions
Python basics
Quiz
•
6th - 8th Grade
12 questions
Python Print Statement
Quiz
•
6th - 10th Grade
15 questions
Python debug & calculations
Quiz
•
8th - 9th Grade
12 questions
Python
Quiz
•
7th - 9th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
16 questions
Function or Non-Function?
Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons
Quiz
•
8th Grade