Python Operator by Resha

Python Operator by Resha

8th Grade

15 Qs

quiz-placeholder

Similar activities

Class VIII_Basic Python Programming Quiz

Class VIII_Basic Python Programming Quiz

8th Grade

10 Qs

Python Basics

Python Basics

7th - 9th Grade

10 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th 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

Programming Basics

Programming Basics

8th Grade

10 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Intro to Python

Intro to Python

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