0% found this document useful (0 votes)
2 views16 pages

Operatorsin Python

This document outlines the objectives and content of a lesson on operators in Python for E2 students at Aitchison College. It covers various types of operators, including arithmetic, logical, comparison, and assignment operators, along with examples and a recap of the lesson. Additionally, it includes a series of questions to assess understanding of the material presented.

Uploaded by

Hina Shaikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views16 pages

Operatorsin Python

This document outlines the objectives and content of a lesson on operators in Python for E2 students at Aitchison College. It covers various types of operators, including arithmetic, logical, comparison, and assignment operators, along with examples and a recap of the lesson. Additionally, it includes a series of questions to assess understanding of the material presented.

Uploaded by

Hina Shaikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AITCHISON COLLEGE Topic: Operators in Python

Class: E2
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
[Link]
OiU
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