
Python 101 Final Test

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Erkingul Andakulova
Used 6+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following makes the character fire if there is an enemy ahead? Mark all that apply.
if enemy_in_sight() :
long_jump()
if not enemy_in_sight() :
fire()
if enemy_in_sight() :
fire()
if enemy_in_sight() :
forward()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of a conditional goes after the if keyword and before the colon?
The word “if”
The word “else”
The code to run
The condition
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When would you use an "if-else" statement over an "if" statement?
When you want to stop running code once the condition is false
When you want to run different code if a condition is false
When you want to run code and then check if the condition is true after
They have the exact same function
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following pieces of code are the exact same in functionality.
True
False
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If you wanted to run different code given different conditions, how would you do that?
Combine all the conditions in one condition using “or”
Use “elif” statements
Put everything in the “else” statement
Create two functions
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When running this code, what will the character do if there is an enemy?
if not enemy_in_sight() :
fire()
fire
nothing
walk forward
jump
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
hello
world
hello
world
goodbye
Create a free account and access millions of resources
Similar Resources on Wayground
39 questions
Python ((SHIFT))

Quiz
•
10th Grade
45 questions
រំឮកមេរៀនPython

Quiz
•
11th Grade
40 questions
MID Sem 5 PWPB XIIRPL

Quiz
•
2nd Grade - University
37 questions
Code HS Unit 4 Review

Quiz
•
11th - 12th Grade
35 questions
HTML/CSS Review

Quiz
•
9th - 12th Grade
40 questions
Linux2 - Lesson 6 (exam training)

Quiz
•
1st - 10th Grade
40 questions
For Loop and Dry Run Revision Quiz

Quiz
•
7th Grade - Professio...
44 questions
Unit 4 Review Code.org

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade