Python 3 Basics
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Vernon Leigh
Used 8+ 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 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:
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Ekstensi File (TIK kelas 9)
Quiz
•
9th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
11 questions
ICT - Networks and communication
Quiz
•
9th Grade
10 questions
Explore Scratch 3: Motion and Pen
Quiz
•
3rd Grade - University
10 questions
4Q Week3 Review Quiz (Who missed the Quiz ONLY))
Quiz
•
9th Grade
17 questions
Traffic Light Project Quiz
Quiz
•
9th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
