CS 121 - Object Oriented Programming (Lec 1)
CS 121 - Object Oriented Programming (Lec 1)
Object Oriented
Programming
By: Syed Shahrooz Shamim
Academic Qualification:
• MS (CSIT) from NED University in 2017
• BS (CS) from Hamdard University in 2014
Specialized Courses:
• 120 Hrs. Specialized Course on Game Development from
PNEC-NUST KARSAZ Karachi.
• Specialized course in IoT from YOUSEI University (Coursera)
Professional Affiliation:
• Professional Member ACM
• Professional Member IEEE
• Professional Member CSTA
• Faculty Head UITCS-ACM
• Faculty Head UIT Media Society
Experience:
Syed Shahrooz Shamim • Seven years of University level Teaching
• Startup Experience since 2018
Syed Shahrooz Shamim
Contact
fb.com/shahroozshamim/
?
Computer
Program?
What is a A computer program is a
collection of instructions that
Computer can be executed by a computer
to perform a specific task.
Program? A computer program is usually
written by a computer
programmer in a Programming
Language.
~Wikipedia
?
What is a
Programming
Language?
• A programming language is a
set of rules that provides a
way of telling a computer
what operations to perform.
What is a
• A programming language is a
Programming set of rules for
communicating an algorithm
Language?
• It provides a linguistic
framework for describing
computations
• A programming language is a
notational system for
describing computation in a
machine-readable and
What is a human-readable form.
Programming Languag
Why are there
So many
Language
Or
Programming
Language?
class Triangle { LOAD r1,b
... LOAD r2,h 0001001000101
float surface() MUL r1,r2 0011011101100
return b*h/2; DIV r1,#2 10101101001...
} RET
A compiler always generates an intermediary An interpreter takes very less time to analyze the
object code source code.
• An integrated development
environment is a software
application that provides
comprehensive facilities to
What is an computer programmers for
software development.
Object-Oriented Functional/Applicative
Programming Programming
OOP
development of software for real life
application
• An object is a collection of set of data known as member data and the functions
that operate on these data known as member function.
OO
• Class is the major concept that plays important role in this approach. Class is a
template that represents a group of objects which share common properties and
relationships.
Differenc
Criteria in a good language design
Writability
Writability
Readability
Readability
Orthogonality
Orthogonality
Reliability
Reliability
Maintainability
Maintainability