
Python 3 Basics
Authored by Vernon Leigh
Computers
9th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a variable in Python?
variable_name = value
name = variable_value
value = variable_name
value = name_variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
*
//
**
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 5 + 3 * 2?
16
10
7
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following code: x = 5 + 3 * 2?
10
16
7
11
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of operations in Python?
parentheses, exponentiation, multiplication and division, addition and subtraction
multiplication and division, addition and subtraction, parentheses, exponentiation
parentheses, exponentiation, addition and subtraction, multiplication and division
addition and subtraction, multiplication and division, parentheses, exponentiation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for an if statement in Python?
if (condition)
if [condition]
if condition:
if {condition}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for an else statement in Python?
else
otherwise
if not
else:
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
Ke-Al Azhar 8 an
Quiz
•
7th Grade - University
11 questions
Excel
Quiz
•
1st - 10th Grade
12 questions
Tabele HTML
Quiz
•
9th Grade
17 questions
Ergonomics and Keyboard
Quiz
•
9th Grade
16 questions
Input Device
Quiz
•
9th - 10th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
9 questions
Name that OS
Quiz
•
9th 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