
Python Basics
Authored by Melih Gülcan
Computers
6th - 8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python operator is used for exponentiation?
/
^
**
//
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
27
19
15
17
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this for loop execute?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is best when the number of iterations is unknown?
A)
B)
C)
D)
for loop
while loop
do-while loop
Infinite loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
Yes
No
True
Nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to declare a function in Python?
function myFunc() {}
def myFunc():
myFunc() => {}
function: myFunc()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(2 * 3 + 1)
8
5
6
7
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
12 questions
Web Development Vocabulary Words
Quiz
•
6th - 8th Grade
10 questions
YouCode Scratch Quiz
Quiz
•
KG - 12th Grade
10 questions
ATBASH&CAESAR
Quiz
•
6th Grade
10 questions
Quiz 3 Computing Components
Quiz
•
7th - 8th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
10 questions
CLASS 8 CODING
Quiz
•
8th Grade
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
12 questions
PacMan programming mini test
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