Python 3 Basics
Quiz
•
Computers
•
9th Grade
•
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
S2 Subject Choice Quiz
Quiz
•
8th - 10th Grade
16 questions
Online Search Skills
Quiz
•
7th - 12th Grade
16 questions
ETİK BİLGİ VE SİBER SUÇLAR
Quiz
•
1st - 12th Grade
12 questions
Year 8 Spreadsheets L1 (Basics)
Quiz
•
9th Grade
17 questions
FormazioneSicurezzaSpecifica_Mod. 3.1
Quiz
•
9th - 12th Grade
10 questions
Diagnoses and Identification of Faulty Computer and Network
Quiz
•
9th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
9 questions
IT related jobs
Quiz
•
9th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
15 questions
Halloween Trivia
Quiz
•
9th Grade
