3.3 Mathematical Expressions

3.3 Mathematical Expressions

Assessment

Assessment

Created by

Anyi Wang

Computers

9th - 12th Grade

1 plays

Easy

Student preview

quiz-placeholder

5 questions

Show answers

1.

Multiple Choice

30 sec

1 pt

What is the result of the expression (5 + 2) * 3 in Python?

15

21

17

7

2.

Multiple Choice

30 sec

1 pt

What will the following code print: num1 = 20; num2 = num1 / 2; num3 = num2 * 10 + 3; print(num3)?

203

100

103

53

3.

Multiple Choice

30 sec

1 pt

Which of the following represents modulus in Python?

//

*

%

+

4.

Multiple Choice

30 sec

1 pt

Which of the following correctly represents the order of operations (PEMDAS) in mathematical expressions?

Parentheses, Exponents, Multiplication, Division, Addition, Subtraction

  • Exponents, Multiplication, Addition, Division, Parentheses, Subtraction

  • Multiplication, Addition, Subtraction, Exponents, Parentheses, Division

  • Division, Exponents, Parentheses, Addition, Subtraction, Multiplication

5.

Multiple Choice

30 sec

1 pt

Which of the following Python functions correctly calculates the value of a linear function y=mx+b for given values of m, b, and x?

def linear_function(m, x, b):

return m + b * x

def linear_function(x, m, b):

return m * x + b

def linear_function(x, b, m):

return x + b + m

def linear_function(b, m, x):

return b * x + m

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
Python Quiz for Grade 10 Students

10 questions

Python Quiz for Grade 10 Students

assessment

10th Grade

C# Programming Basics Quiz

10 questions

C# Programming Basics Quiz

assessment

10th Grade

Python 2 Conditionals Quiz

10 questions

Python 2 Conditionals Quiz

assessment

12th Grade

G12am_WSheet_Sprint 1.3 Mathematical Expressions

6 questions

G12am_WSheet_Sprint 1.3 Mathematical Expressions

assessment

12th Grade

Python Basics for Grade 10

10 questions

Python Basics for Grade 10

assessment

10th Grade

Local and global variables

5 questions

Local and global variables

assessment

6th - 12th Grade

pr 15

7 questions

pr 15

assessment

12th Grade

2.1.2 Flowcharts and algorithms

10 questions

2.1.2 Flowcharts and algorithms

assessment

10th Grade