
Python L1 Concepts
Authored by Jerry Xiao
Computers
1st - 12th Grade
Used 151+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct file extension for saving Python files?
.txt
.scr
.py
No Extention
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below statements is equal to:
sum = sum + number
sum = sum ++ number
sum += number
sum += sum + number
number += sum
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid ‘for’ loop?
for var in [1, 2, 3, 4]:
for var in range(1):
for var in range(1,2,3):
for var in range(1,2,3,4,5):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a ‘count-controlled’ loop?
for
while
if
else
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a ‘condition-controlled’ loop?
for
while
if
else
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid ‘if’ statement?
if x < 5:
if x < 5 and x > 5:
if x = 5:
if x in [2, 3, 4]:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does input() do?
It converts a value to a string
It allows a user to input data
It checks equality of what is input to the function
It executes python code that a user submits
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
45 questions
Quiz TIK
Quiz
•
12th Grade
40 questions
Ôn thi giữa kì 1 - Tin học - 11a3
Quiz
•
11th Grade
35 questions
Mid Tes HTML Quiz
Quiz
•
11th Grade
40 questions
แบบทดสอบ Coding : Micro Python 1
Quiz
•
9th - 12th Grade
45 questions
Tin6_Ôn tập cuối kì 2(23-24)
Quiz
•
6th - 8th Grade
39 questions
Domain 1.0 (DD1)
Quiz
•
9th - 12th Grade
43 questions
INFORMATIKA 7
Quiz
•
7th - 8th Grade
35 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 6
Quiz
•
6th 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