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
13 questions
Melody Tone
Quiz
•
9th Grade
10 questions
Informatika
Quiz
•
6th - 8th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
15 questions
Review Komputer Mid SMP (1)
Quiz
•
8th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
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
