
Quiz 1 - Python
Authored by Joshua Reid
Computers
8th Grade
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Online Databases vs. Search Engines
Quiz
•
6th - 10th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
15 questions
PowerPoint Window Label
Quiz
•
7th - 8th Grade
10 questions
สอบปลายภาคชั้นม.2
Quiz
•
8th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade