Python (Selection)
Quiz
•
Computers
•
8th - 10th Grade
•
Practice Problem
•
Medium
Marc Hoy
Used 495+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the variable in this program?
colour
input
" "
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print?
access denied
access granted
error
password
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user enters 60, what is the output?
You are old!
You are middle-aged!
You are young!
Error message
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does “==” represent in Python programming?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct Python code.
if age is less than 20 then
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol must you place at the end of an if statement?
)
:
;
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an indentation in Python?
A line of code that returns a value
A subroutine
A block of code that creates a variable
A code block (body of a function, loop etc.) starts with indentation and ends with the first unintended line.
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
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
15 questions
Lesson 5 Looping Quiz
Quiz
•
10th - 12th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
13 questions
Spreadsheets
Quiz
•
6th - 8th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
PreTest
Quiz
•
10th Grade
15 questions
PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
