
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
36 questions
MICROFOFT POWERPOINT-YEAR 4
Quiz
•
4th Grade
36 questions
Photoshop iMedia
Quiz
•
6th Grade
40 questions
Bài 5_Kết nối máy tính với thiết bị số
Quiz
•
11th Grade
38 questions
Second Semester – Grade 8 Revision Sheet
Quiz
•
8th Grade
40 questions
Internet Ethics
Quiz
•
9th Grade
40 questions
TEKNIK KOMPUTER & JARINGAN X
Quiz
•
10th Grade
39 questions
EV.SII-VIRUS INFORMATICOS
Quiz
•
1st - 12th Grade
40 questions
ASJ TKJ Debian 8.0
Quiz
•
11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
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
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade