Python Operators

Python Operators

University

11 Qs

quiz-placeholder

Similar activities

The Refrigeration Cycle

The Refrigeration Cycle

University

10 Qs

Python - Data Types

Python - Data Types

12th Grade - University

11 Qs

Removal Exam for PM-108

Removal Exam for PM-108

University

10 Qs

Technology and ICT History

Technology and ICT History

University

16 Qs

Spark

Spark

University

8 Qs

Python

Python

University

10 Qs

Hari ke 3 kuis coding dan perkenalan AI

Hari ke 3 kuis coding dan perkenalan AI

University

10 Qs

engineering

engineering

12th Grade - University

10 Qs

Python Operators

Python Operators

Assessment

Quiz

Instructional Technology

University

Medium

Created by

Kelvin Kipchumba

Used 1+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?