SlideShare a Scribd company logo
Programming (2)
using C++
Credits
Hours
Labs
Hours
Lecture
Hours
Course Title
Course
Number
4
2
3
Programming 2
CS211
GS112
Introduces basic concepts of
object-oriented programming for
solving a variety of small-scale
problems
Course Description:.
Lecture (1)
Object-oriented
programming
OOP
Object-oriented programming (OOP) is a
programming paradigm using "objects" –
usually instances of a class – consisting of data
fields and methods together with their
interactions – to design applications and
computer programs. Programming techniques
may include features such as data abstraction,
encapsulation, messaging, modularity,
polymorphism, and inheritance. Many modern
programming languages now support OOP

Objects
In computer science, an object is a location
in memory having a value and referenced
by an identifier. An object can be a
variable, function, or data structure. (With
the later introduction of object-oriented
programming the same word, "object",
refers to a particular instance of a class
is the process by which data and programs
are defined with a representation similar in
form to its meaning (semantics), while hiding
away the implementation details. Abstraction
tries to reduce and factor out details so that
the programmer can focus on a few concepts
at a time. A system can have several
abstraction layers
 abstraction
In a programming language, encapsulation
is used to refer to one of two related but
distinct notions, and sometimes to the
combination.
Encapsulation :
Message passing
Message passing in computer science is a
form of communication used in parallel
computing, object-oriented programming,
and interprocess communication. In this
model, processes or objects can send and
receive messages to other processes. By
waiting for messages, processes can also
synchronize.
Modular programming
is a software design technique that
increases the extent to which software is
composed of separate, interchangeable
components called modules by breaking
down program functions into modules,
each of which accomplishes one function
and contains everything necessary to
accomplish this
polymorphism
in the context of object-oriented
programming, is the ability to
create a variable, a function, or
an object that has more than
one form..
inheritance
is a way to reuse code of existing objects,
or to establish a subtype from an existing
object, or both, depending upon
programming language support. In
classical inheritance where objects are
defined by classes, classes can inherit
attributes and behavior from pre-existing
classes called base classes, super classes,
parent classes. The resulting classes are
known as derived classes, subclasses or
child classes
C++ PROGRAMMING
BASICS
C ++ is a versatile language for handling very
large programs. It is suitable for virtually any
programming task including development of
editors, compilers, databases, communication
systems and any complex
.
real-life
application system
Since C++ allows us to create hierarchy-
related object we can build special object-
oriented libraries which can be used later by
many programmers.
C++ programs are easily maintainable
and expendable. When a new feature needs to
be implemented, it is very easy to add to the
existing structure of an object.

More Related Content

Similar to lec(1).pptx

c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptx
PadmaN24
 
Unit 1 OOSE
Unit 1 OOSE Unit 1 OOSE
Unit 1 OOSE
ChhayaShelake
 
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
A Survey of Object Oriented Programming LanguagesMaya Hris.docxA Survey of Object Oriented Programming LanguagesMaya Hris.docx
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
daniahendric
 
chapter - 1.ppt
chapter - 1.pptchapter - 1.ppt
chapter - 1.ppt
SakthiVinoth78
 
Unit 5.ppt
Unit 5.pptUnit 5.ppt
The Object Model
The Object Model  The Object Model
The Object Model
yndaravind
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
Hashni T
 
Diving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdfDiving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdf
kaushiklalit117
 
Chapter1
Chapter1Chapter1
Chapter1
jammiashok123
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented languagefarhan amjad
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Languagedheva B
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
Prof. Dr. K. Adisesha
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture Notes
FellowBuddy.com
 

Similar to lec(1).pptx (20)

c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptx
 
Unit 1 OOSE
Unit 1 OOSE Unit 1 OOSE
Unit 1 OOSE
 
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
A Survey of Object Oriented Programming LanguagesMaya Hris.docxA Survey of Object Oriented Programming LanguagesMaya Hris.docx
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
 
chapter - 1.ppt
chapter - 1.pptchapter - 1.ppt
chapter - 1.ppt
 
Unit 5.ppt
Unit 5.pptUnit 5.ppt
Unit 5.ppt
 
The Object Model
The Object Model  The Object Model
The Object Model
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
 
Diving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdfDiving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdf
 
Chapter1
Chapter1Chapter1
Chapter1
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
Topic 1 PBO
Topic 1 PBOTopic 1 PBO
Topic 1 PBO
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
Analysis Report
 Analysis Report  Analysis Report
Analysis Report
 
Mcs024
Mcs024Mcs024
Mcs024
 
JAVA PROGRAMMING
JAVA PROGRAMMING JAVA PROGRAMMING
JAVA PROGRAMMING
 
Birasa 1
Birasa 1Birasa 1
Birasa 1
 
JAVA PROGRAMMINGD
JAVA PROGRAMMINGDJAVA PROGRAMMINGD
JAVA PROGRAMMINGD
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture Notes
 

More from MemMem25

‏‏chpater1Typing Arabic and English Ergonomics .pptx
‏‏chpater1Typing  Arabic and English Ergonomics .pptx‏‏chpater1Typing  Arabic and English Ergonomics .pptx
‏‏chpater1Typing Arabic and English Ergonomics .pptx
MemMem25
 
‏‏chapter4 Technical Skills Hardware Skills - نسخة.ppt
‏‏chapter4  Technical Skills Hardware  Skills - نسخة.ppt‏‏chapter4  Technical Skills Hardware  Skills - نسخة.ppt
‏‏chapter4 Technical Skills Hardware Skills - نسخة.ppt
MemMem25
 
chapter3 Technical Skills Software Skills.ppt
chapter3  Technical Skills Software Skills.pptchapter3  Technical Skills Software Skills.ppt
chapter3 Technical Skills Software Skills.ppt
MemMem25
 
chapter2 Technical Support.ppt
chapter2 Technical Support.pptchapter2 Technical Support.ppt
chapter2 Technical Support.ppt
MemMem25
 
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
MemMem25
 
‏‏chapter 4 Office Management Software.ppt
‏‏chapter 4  Office Management Software.ppt‏‏chapter 4  Office Management Software.ppt
‏‏chapter 4 Office Management Software.ppt
MemMem25
 
chapter3 Major Processes of Office Management.ppt
chapter3  Major Processes of Office Management.pptchapter3  Major Processes of Office Management.ppt
chapter3 Major Processes of Office Management.ppt
MemMem25
 
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
chapter 2  FUNCTIONS OF MODERN OFFICE.pptchapter 2  FUNCTIONS OF MODERN OFFICE.ppt
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
MemMem25
 
acd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptxacd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptx
MemMem25
 
Chapter 3 .pptx
Chapter 3 .pptxChapter 3 .pptx
Chapter 3 .pptx
MemMem25
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
MemMem25
 
AI.ppt
AI.pptAI.ppt
AI.ppt
MemMem25
 
Chapter02.ppt
Chapter02.pptChapter02.ppt
Chapter02.ppt
MemMem25
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).ppt
MemMem25
 
COE332-Ch03d.pptx
COE332-Ch03d.pptxCOE332-Ch03d.pptx
COE332-Ch03d.pptx
MemMem25
 
LAB1.pptx
LAB1.pptxLAB1.pptx
LAB1.pptx
MemMem25
 
01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt
MemMem25
 
1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt
MemMem25
 

More from MemMem25 (19)

‏‏chpater1Typing Arabic and English Ergonomics .pptx
‏‏chpater1Typing  Arabic and English Ergonomics .pptx‏‏chpater1Typing  Arabic and English Ergonomics .pptx
‏‏chpater1Typing Arabic and English Ergonomics .pptx
 
‏‏chapter4 Technical Skills Hardware Skills - نسخة.ppt
‏‏chapter4  Technical Skills Hardware  Skills - نسخة.ppt‏‏chapter4  Technical Skills Hardware  Skills - نسخة.ppt
‏‏chapter4 Technical Skills Hardware Skills - نسخة.ppt
 
chapter3 Technical Skills Software Skills.ppt
chapter3  Technical Skills Software Skills.pptchapter3  Technical Skills Software Skills.ppt
chapter3 Technical Skills Software Skills.ppt
 
chapter2 Technical Support.ppt
chapter2 Technical Support.pptchapter2 Technical Support.ppt
chapter2 Technical Support.ppt
 
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
 
‏‏chapter 4 Office Management Software.ppt
‏‏chapter 4  Office Management Software.ppt‏‏chapter 4  Office Management Software.ppt
‏‏chapter 4 Office Management Software.ppt
 
chapter3 Major Processes of Office Management.ppt
chapter3  Major Processes of Office Management.pptchapter3  Major Processes of Office Management.ppt
chapter3 Major Processes of Office Management.ppt
 
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
chapter 2  FUNCTIONS OF MODERN OFFICE.pptchapter 2  FUNCTIONS OF MODERN OFFICE.ppt
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
 
acd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptxacd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptx
 
Chapter 3 .pptx
Chapter 3 .pptxChapter 3 .pptx
Chapter 3 .pptx
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
 
AI.ppt
AI.pptAI.ppt
AI.ppt
 
Chapter02.ppt
Chapter02.pptChapter02.ppt
Chapter02.ppt
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).ppt
 
COE332-Ch03d.pptx
COE332-Ch03d.pptxCOE332-Ch03d.pptx
COE332-Ch03d.pptx
 
LAB1.pptx
LAB1.pptxLAB1.pptx
LAB1.pptx
 
01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt
 
1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt
 

Recently uploaded

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 

Recently uploaded (20)

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 

lec(1).pptx

  • 1. Programming (2) using C++ Credits Hours Labs Hours Lecture Hours Course Title Course Number 4 2 3 Programming 2 CS211 GS112
  • 2. Introduces basic concepts of object-oriented programming for solving a variety of small-scale problems Course Description:.
  • 4. OOP Object-oriented programming (OOP) is a programming paradigm using "objects" – usually instances of a class – consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP
  • 5.  Objects In computer science, an object is a location in memory having a value and referenced by an identifier. An object can be a variable, function, or data structure. (With the later introduction of object-oriented programming the same word, "object", refers to a particular instance of a class
  • 6. is the process by which data and programs are defined with a representation similar in form to its meaning (semantics), while hiding away the implementation details. Abstraction tries to reduce and factor out details so that the programmer can focus on a few concepts at a time. A system can have several abstraction layers  abstraction
  • 7. In a programming language, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination. Encapsulation :
  • 8. Message passing Message passing in computer science is a form of communication used in parallel computing, object-oriented programming, and interprocess communication. In this model, processes or objects can send and receive messages to other processes. By waiting for messages, processes can also synchronize.
  • 9. Modular programming is a software design technique that increases the extent to which software is composed of separate, interchangeable components called modules by breaking down program functions into modules, each of which accomplishes one function and contains everything necessary to accomplish this
  • 10. polymorphism in the context of object-oriented programming, is the ability to create a variable, a function, or an object that has more than one form..
  • 11. inheritance is a way to reuse code of existing objects, or to establish a subtype from an existing object, or both, depending upon programming language support. In classical inheritance where objects are defined by classes, classes can inherit attributes and behavior from pre-existing classes called base classes, super classes, parent classes. The resulting classes are known as derived classes, subclasses or child classes
  • 12. C++ PROGRAMMING BASICS C ++ is a versatile language for handling very large programs. It is suitable for virtually any programming task including development of editors, compilers, databases, communication systems and any complex . real-life application system
  • 13. Since C++ allows us to create hierarchy- related object we can build special object- oriented libraries which can be used later by many programmers. C++ programs are easily maintainable and expendable. When a new feature needs to be implemented, it is very easy to add to the existing structure of an object.