0% found this document useful (0 votes)
10 views25 pages

Indeed

The document discusses a Python programming class covering topics like Object Oriented Programming. It introduces some key OOP concepts like class, attributes, methods, constructor, inheritance, polymorphism and modelling. It provides examples of a class with attributes and methods. It also mentions upcoming class recordings and assignments.

Uploaded by

Haneefah Ahmed
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)
10 views25 pages

Indeed

The document discusses a Python programming class covering topics like Object Oriented Programming. It introduces some key OOP concepts like class, attributes, methods, constructor, inheritance, polymorphism and modelling. It provides examples of a class with attributes and methods. It also mentions upcoming class recordings and assignments.

Uploaded by

Haneefah Ahmed
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
You are on page 1/ 25

forkids.py start.

py

1
2
3
4
Programming ‘Language’ {
5
6
7
[PYTHON Class NCUPM, 2022]
8
9 < Welcome back to the Python Class >
10
11
12
13 }
14

NCUPM Batch 1, 2022


forkids.py Lecture_1.py

{
1
2
3
4
5
6 [Object Oriented Programming]
7
<Class, Attributes, Methods
8
9
Constructor,Inheritance,
10
Polymorphism, >
11

}
12
13
14

NCUPM Batch 1, 2022


1 What do you know in Python?
2
3
4
5
6
7
8
9
What can you use Python to do?
10
11
12
13
14
Object Oriented Programming (OOP)
● Object-oriented programming (OOP) is a method of structuring a program by
bundling related properties and behaviors into individual objects.

● OOP uses the concept of objects and classes.

● A class define the object : what it is and what it can do

● It aims is to implement real-world entities like inheritance,


polymorphisms, encapsulation, etc. in the programming.

● The main concept of OOPs is to bind the data and the functions that work
on that together as a single unit so that no other part of the code can
access this data.
Why OOP?

● Object-oriented programming has some advantages over other design


patterns.

● Development is faster and cheaper, with better software maintainability.


Object Oriented Programming

● Modelling
Object Oriented Programming
Object Oriented Programming

● Modelling
Object Oriented Programming

● Modelling
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming The
name of
the class
The
constructor

Data
(Attributes)

The
Method

Create two
objects of
the class
(instances)

Use (call)
the data

Call the
method
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Object Oriented Programming
Extensions:
Mention a class of objects with its attributes and methods

Class Name:

Attributes:

Methods:
Project Assignment 2

Submission Link:

● https://forms.gle/ePMJkSGxzTACydh98
Link to class recordings
Class notes
● https://drive.google.com/drive/folders/1SE2ASNoaUD-
tIpqdtzE5jW_LOfdlptWv?usp=share_link

Recordings

● https://drive.google.com/drive/folders/1FZEoYcaj2N2L1TqE4Rq2Whv_ryd3OYIC?u
sp=share_link
Thanks;{
“See you Next class for more on Appjar”
‘Do you have any questions?’
Post your question in the following link
and we get back to you:

https://forms.gle/EXXhe27kTDh9i23E9

Check your answers in the following link


after 3:00pm
https://docs.google.com/document/d/1EZTH
4nhkQydiYv3HWJqMf8K54me_Cik4mZdrUrwOxUY/
edit?usp=sharing
}

You might also like