Python Operator by Resha

Python Operator by Resha

8th Grade

15 Qs

quiz-placeholder

Similar activities

python

python

8th Grade

15 Qs

Python Conditionals and If Statements

Python Conditionals and If Statements

8th Grade - University

15 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Operators & Expressions

Python Operators & Expressions

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