Python Operators

Python Operators

University

11 Qs

quiz-placeholder

Similar activities

MS-Excel Level 3 (Final)

MS-Excel Level 3 (Final)

8th Grade - University

11 Qs

CONTROLS SYSTEMS MCQ

CONTROLS SYSTEMS MCQ

University

10 Qs

Solid-State Welding Process

Solid-State Welding Process

University

15 Qs

C++ Knowledge Based Quiz I = IA

C++ Knowledge Based Quiz I = IA

University

15 Qs

Praktisi Mengajar - Java Test

Praktisi Mengajar - Java Test

University

10 Qs

RBT Percanggahan Fizikal

RBT Percanggahan Fizikal

KG - Professional Development

10 Qs

Programming practices - C programming

Programming practices - C programming

University

9 Qs

Agrotraining 2

Agrotraining 2

7th Grade - University

11 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?