Python Operator by Resha

Python Operator by Resha

8th Grade

15 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Comparison Operators

Python Comparison Operators

8th - 11th Grade

13 Qs

Python Basics

Python Basics

7th - 9th Grade

10 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

PythonTest

PythonTest

6th Grade - Professional Development

11 Qs

PYTHON QUIZ (01)

PYTHON QUIZ (01)

8th Grade

20 Qs

Python Conditionals and If Statements

Python Conditionals and If Statements

8th Grade - University

15 Qs

Python KS3

Python KS3

6th - 9th Grade

17 Qs

Python Operator by Resha

Python Operator by Resha

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Resha Anjariansyah

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What does the += operator do in Python?

  • A) Adds two numbers

  • B) Concatenates two strings

  • C) Increments a variable by a specified value

  • D) Compares two values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which operator is used for exponentiation in Python?

  • A) ^

  • B) **

  • C) //

D) *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What does the % operator do?

  • A) Calculates the remainder of division

  • B) Multiplies two numbers

  • C) Raises a number to a power

  • D) Compares two values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which operator is used for floor division (integer division)?

  • A) //

  • B) %

C) **

  • D) &

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What does the == operator check for?

  • A) Equality

  • B) Inequality

  • C) Assignment

  • D) Identity

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What does the != operator mean?

  • A) Not equal

  • B) Equal

  • C) Greater than

  • D) Less than

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which operator combines two or more conditions in Python?

  • A) and

  • B) or

  • C) not

  • D) xor

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?