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
In programming, what is a variable?
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 Wayground
17 questions
Python

Quiz
•
6th - 10th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
20 questions
Basics Python

Quiz
•
8th - 10th Grade
14 questions
Data types and Input

Quiz
•
7th - 9th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
17 questions
Python Review

Quiz
•
7th - 8th 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