In programming, what is a variable?
Year 9 Homework Quiz 1 - Python

Quiz
•
Computers
•
8th Grade
•
Medium
Joshua Reid
Used 8+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many variables exist in the following code?
Two - Num1 and Num2
Three - if, elif and else
Two - AND, OR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be output if the following code was executed?
Num1 is larger
Num1 is smaller
Both the same
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python programming, what does the following code demonstrate?
Selection
Iteration
Variable Assignment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1variable
variable_name
variable-name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would produce an error?
print(7 * 7)
print(7 * "7")
print("7" * "7")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct definition for "syntax"
The rules of language
The errors that a program produces
The programming concepts such as variables and selection
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
Python

Quiz
•
6th - 10th Grade
10 questions
Year 7 Python Lesson 1 Recap

Quiz
•
8th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
20 questions
Python turtle year 8 assessment

Quiz
•
7th - 9th Grade
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
11 questions
Python Week 3 Homework - Conditional Statements

Quiz
•
8th Grade
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
Popular Resources on Quizizz
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
Discover more resources for Computers
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