Translate to Math
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Vanessa Anderson
Used 2+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description of the following expression as a Python expression: The variable x has the value 12. The variable y has the value x plus 4.
x = 12 y = x + 4
x = 12 y = 12 + 4
x = 12 y = 4 + 12
x = 12 y = 16
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description of the following expression as a Python expression: The variable total_price holds the cost of num_books at price dollars per book.
total_price = num_books * price
total_price = num_books / price
total_price = price + num_books
total_price = price - num_books
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description of the following expression as a Python expression: The variable sound has the value “pop”. The variable popcorn has the value “poppoppoppop”, but is assigned by only using the variable sound, multiplication, and a number.
sound * 4
'pop' * 4
4 * sound
sound + 'pop'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description of the following expression as a Python expression: The variable remain holds the remainder when 1331 is divided by 4.
remain = 1331 % 4
remain == 1331 % 4
remain = 1331 // 4
remain = mod(1331, 4)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description as a Python expression: The variable num is assigned the whole number resulting from dividing 3 by 2.
num = 3/2
num = 3//2
num = int(3/2)
num = 3/2.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Rewrite the English description of the following expression as a Python expression: The variable num is assigned the decimal number resulting from dividing 3 by 2.
num = 3 / 2
num = 3 // 2
num = division(3, 2)
num = float(3/2)
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
MIL March 8, 2023
Quiz
•
12th Grade
10 questions
UTB - FCNS 221PB
Quiz
•
University
10 questions
What would you do if...
Quiz
•
1st - 12th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
10 questions
Activity 1: How well do you know Java?
Quiz
•
9th Grade
10 questions
Web-II-Loop and Function
Quiz
•
University
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
10 questions
WN-CELLULAR CONCEPT
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
