What is x?
x = 2**3
Python Arithmetic Operations and Predefined Functions
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Joan Goldberg
Used 93+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 2**3
syntax error
6
8
2**3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x=5/2
syntax error
1
2
2.5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5//2
syntax error
1
2
2.5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5%2
syntax error
1
2
2.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5\2
syntax error
1
2
2.5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which python statement correctly finds the average of three numbers?
average = firstNum + secondNum + thirdNum / 3
average = firstNum + secondNum + thirdNum / (3)
average = (firstNum + secondNum + thirdNum) / 3
average = (firstNum + secondNum + thirdNum) // 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the python operator %?
division
exponentiation
modulus
floor division
25 questions
Python - Chpt 4 - Review
Quiz
•
9th - 12th Grade
28 questions
CSP Unit 7 Review Code.org
Quiz
•
9th - 12th Grade
30 questions
Year 9 Michaelmas Revision
Quiz
•
9th Grade
25 questions
Feb 20, 2025 AP CompSci - 1st Period
Quiz
•
12th Grade - University
25 questions
BLENDER INTRO_1
Quiz
•
9th - 12th Grade
26 questions
P5.js Review - Part 2
Quiz
•
10th Grade
25 questions
Library Classes
Quiz
•
10th Grade
33 questions
Syed: IGCSE Computer Science: Program Logic
Quiz
•
9th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University