0% found this document useful (0 votes)
6 views

Operators in Python

The document outlines the objectives for students to learn about operators in Python, including their types and syntax. It categorizes operators into arithmetic, logical, comparison, and assignment types, and provides a series of questions to test understanding. The lesson concludes with a recap of the key points covered regarding the application of operators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Operators in Python

The document outlines the objectives for students to learn about operators in Python, including their types and syntax. It categorizes operators into arithmetic, logical, comparison, and assignment types, and provides a series of questions to test understanding. The lesson concludes with a recap of the key points covered regarding the application of operators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

AITCHISON COLLEGE Topic: Operators in Python

PREP SCHOOL
ICT Department
Objectives
Students will be able to:

• Learn different types of operators in Python

• Identify syntax to use operators

• Apply operators with examples


Operators
Operators are symbols used to perform specific
computations. Operators are used to perform
mathematical, logical and relational operations. There
are the following types of operators available in Python:
∙ Arithmetic Operators(+,-*,/)
∙ Logical Operators( and,or,not)
∙ Comparison (Relational) Operators(,>=<,>,<=,==,!=)
∙ Assignment Operator(=)
Video
https://www.youtube.com/watch?v=-wDaVLkKO
iU
Question 1
The symbols that carry out specific computation are called :

a) Variables

b) Operators

c) Data types

d) All of the above


Question 2
Which of these is an assignment operators?

a) /

b) >

c) and

d) =
Question 3
Which of the following is a logical operator ?

a) *

b) and

c) <

d) =
Question 4
Which of these is not a arithmetic operator in python ?

a) *

b) /

c) x

d) -
Question 5
What will be the answer of 6<9 ?

a) True

b) False

c) Number

d) None of these
Question 6
What will be the answer of not (4>7)?

a) True

b) False

c) Number

d) None of these
Question 7

Multiply 10 with 5 🡪 10 ____ 5

*
Question 8

If y is greater than equal to 10 🡪 if y ____ 10

>=
Question 9

If x is not equal to 10 🡪 if x ____ 10

!=
Question 10

If at least one of two statements is true 🡪 if x==5 ____ x==10

OR
Recap
In this lesson, we have discussed:

• Different operators in python

• Syntax and output of operators

• Application of operators in python


Thank You

You might also like