Search Header Logo

Python Operators

Authored by Kelvin Kipchumba

Instructional Technology

University

Used 1+ times

Python Operators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 + 3 * 2?

16

11

13

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of 10 % 3?

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

%

**

exp()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will int(7 / 2) return?

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of (5 > 3) and (2 < 1)?

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this expression return: 10 / 2 == 5 or 7 < 3?

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a parameter and an argument in a function?

A parameter is the actual value passed to a function; an argument is the placeholder in the function definition.

A parameter is used in loops, while an argument is used in functions.

A parameter is the placeholder in the function definition; an argument is the actual value passed to the function.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?