SlideShare a Scribd company logo
1 of 21
OOP’S
Presentation
Submitted By,
Sharwon Pius M.
2013/B/17
Clearing The ‘‘OOP’S’’ Concept !
– 1. Object - Instance of Class
2. Class - Blue print of Object
3. Encapsulation - Protecting our Data
4. Polymorphism - Different behaviors at different instances
5. Abstraction - Hiding our irrelevant Data
6. Inheritance - One property of object is acquiring to
– another property of the object
Class & Object
– we have a Class of Laptop under which Lenovo G50, HP envy and Sony viao t5
represents individual Objects. In this context each Laptop Object will have its
own, Model,Year of Manufacture, Colour, Speed,BatteryPower etc.,which form
Properties of the Laptop class and the associated actions i.e., object functions
like Start, Restart, Volume down /up form the Methods of Laptop Class.
– The blueprint is the class...the Laptop is the object. The data of people using
the laptop ,are data stored in the object's properties.
Laptop
Lenovo G50s
HP Envy m6
Abstraction & Encapsulation
– Abstraction says, only show relevant details and rest all hide it. For Example,
This Laptop allows you to connect to wifi and surf the internet but it doesn't
show you how its actually done.
– Abstraction & Encapsulation works hand in hand because Abstraction says what
details to be made visible & Encapsulation provides the level of access right to
that visible details.SO, while connecting to the wifi the access to other laptops
are restricted for security purposes.
Polymorphmism & Inheritance
– Polymorphism can be defined as the ability of doing the same operation but
with different type of input. The web cam on the Lenovo g50s is having a
functionality of CameraClick(). Now same Lappie is having Butification mode
available in camera, so functionality would be same but with mode. This type is
said to be Static polymorphism or Compile time polymorphism.
– Inheritance is the Ability to extend the functionality from base entity in new
entity belonging to same group. This will help us to reuse the functionality
which is defined before.
Laptop Lenovo
Laptop
Lenovo G50s
HP Envy m6
Laptop Lenovo G50s
Laptop
Lenovo
HP
Single level inheritance
Multi-level inheritance
Hierarchical inheritance Hybrid inheritance
OOPS APPLICATIONS AND
PROBLEMS
1. Engg.
2. Numerical Method
3. Text Processing
4. SCIENCE , GUI by Case study.
The
Problem
statemen
t is to
make a
cheap
blind aid
.
ENGG..
import RPi.GPIO as GPIO
GPIO.setwarnings(False) # supress the system wornings
GPIO.cleanup() # clean up the GPIO pins i.e make the GPIO pins to low
GPIO.setmode(GPIO.BOARD) # Set the mode of numbering the pins.
GPIO.setup(11, GPIO.IN)
#GPIO pin 11 is the input.
GPIO.setup(12, GPIO.IN)
#GPIO pin 12 as input
GPIO.setup(13, GPIO.IN)
#GPIO pin 13 as input pin
left = GPIO.input(11)
fornt = GPIO.input(12)
right = GPIO.input(13)
#keep on polling for input pins
while 1:
{left = GPIO.input(11)
front = GPIO.input(12)
right = GPIO.input(13)
if left == True or front == True or right == True:
buzz(“Stuck! Move your stick randomly")
if left == False and front == False and right == True:
buzz("move either left ot front")
elif left == False and front == True and right == False:
buzz("move either left or right")
elif left == False and front == True and right == True:
buzz("move left")
elif left == True and front == False and right == False:
buzz("move either front or right")
elif left == True and front == False and right == True:
buzz("move front")
elif left == True and front == True and right == False:
buzz("move right")
elif left == True and front == True and right == True:
buzz("better to go back")
else:
buzz(" Checkup appaaratus")
}
Problem Statement: How many numbers need to be stored to save
a symmetric NxN matrix in lower diagonal form? (This is our statement
of problem: Note this may be a small piece of another larger problem).
• Solution algorithm: In lower diagonal form, the number of values needed go as: 1x1=1, 2x2=3, 3x3=6 ...
• To increase the dimension of the matrix from (N-1)x(N-1) to NxN requires N new values. Therefore our
algorithm is the sum of integers from 1 to N
Problem Statement: How many numbers need to be stored to save a symmetric NxN matrix in lower
diagonal form?
SOLUTION
• Call the number of values we need num_elements. How do we compute this value?
(a) Simplest
num_elements = 1 + 2 + 3 + 4 + 5 + .... + N
• Coded specifically for specific values of N. Not very flexible; could be many options depending on
number of values of N possible.
• PROGRAM-
num_elements = 0;
for i = 1:N ;
num_elements = num_elements + i ;
end ;
EARTH MAGNETIC FIELD REVERSAL
The earths magnetic field is improper along some regions of the surface making
navigation cumbersome for voyagers and travelers.
SO Scientists prepared to study the magnetic field of earth from the 1500
hundreds itself.
They found out that each element on earth had its on magnetic spin intensity.
Thus it showed the direction of the Magnetic field of earth its time period.
So they collect fallen metirots and old rocks and tested them . They ended up
with bizarre results , having no correlation between them.
Finally a Prof. GARY GCATZMAR from university of California ( in 1990’s)
put all the data collected till date regarding this magnetic behavior of earth in a
computer model . Dozen’s of equations describing, temp. , viscocity, diamension
and so forth of the plant. Then he just let it run
• To see the world evolve over 100,000
years of stimulated time.
• We can see that the blue region and
yellow region are the main two active
classes ( 1. north pole, 2. south pole)
and each one of its lines are its own
objects.
• These objects have properties and
methods give by those “dozens of
equations”. , along with stimulated
time.
• This proved to state that our planets
Magnetic field will reverse for every
70,000 years.
FINALE
ANY QURIES ….?

More Related Content

What's hot

JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivityTanmoy Barman
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaCPD INDIA
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core javamahir jain
 
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 JavaMadishetty Prathibha
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handlingkamal kotecha
 
Type casting in java
Type casting in javaType casting in java
Type casting in javaFarooq Baloch
 
Control Statements in Java
Control Statements in JavaControl Statements in Java
Control Statements in JavaNiloy Saha
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Sanjit Shaw
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS ConceptBoopathi K
 
Ppt on this and super keyword
Ppt on this and super keywordPpt on this and super keyword
Ppt on this and super keywordtanu_jaswal
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cyclemyrajendra
 
Java package
Java packageJava package
Java packageCS_GDRCST
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSaba Ameer
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENTjosemachoco
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in javaRahulAnanda1
 

What's hot (20)

Deadlock ppt
Deadlock ppt Deadlock ppt
Deadlock ppt
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivity
 
File Uploading in PHP
File Uploading in PHPFile Uploading in PHP
File Uploading in PHP
 
Shell programming
Shell programmingShell programming
Shell programming
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
 
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
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 
Type casting in java
Type casting in javaType casting in java
Type casting in java
 
Control Statements in Java
Control Statements in JavaControl Statements in Java
Control Statements in Java
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)
 
C++ OOPS Concept
C++ OOPS ConceptC++ OOPS Concept
C++ OOPS Concept
 
C# Strings
C# StringsC# Strings
C# Strings
 
Ppt on this and super keyword
Ppt on this and super keywordPpt on this and super keyword
Ppt on this and super keyword
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
 
Java package
Java packageJava package
Java package
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
operating system structure
operating system structureoperating system structure
operating system structure
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Inheritance in java
Inheritance in javaInheritance in java
Inheritance in java
 

Viewers also liked

Object Oriented Programming with Real World Examples
Object Oriented Programming with Real World ExamplesObject Oriented Programming with Real World Examples
Object Oriented Programming with Real World ExamplesOXUS 20
 
Java Object-Oriented Programming Conecpts(Real-Time) Examples
Java Object-Oriented Programming Conecpts(Real-Time) ExamplesJava Object-Oriented Programming Conecpts(Real-Time) Examples
Java Object-Oriented Programming Conecpts(Real-Time) ExamplesShridhar Ramesh
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingMoutaz Haddara
 
20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental PrinciplesIntro C# Book
 
CLTL python course: Object Oriented Programming (1/3)
CLTL python course: Object Oriented Programming (1/3)CLTL python course: Object Oriented Programming (1/3)
CLTL python course: Object Oriented Programming (1/3)Rubén Izquierdo Beviá
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with pythonArslan Arshad
 
Python Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsPython Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsP3 InfoTech Solutions Pvt. Ltd.
 
Real-time Programming in Java
Real-time Programming in JavaReal-time Programming in Java
Real-time Programming in JavaAleš Plšek
 
Python avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementiellePython avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementielleECAM Brussels Engineering School
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPMudasir Qazi
 
4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPTAjay Chimmani
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Javabackdoor
 
Top 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and AnswersTop 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and Answersiimjobs and hirist
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Conceptsthinkphp
 

Viewers also liked (20)

Object Oriented Programming with Real World Examples
Object Oriented Programming with Real World ExamplesObject Oriented Programming with Real World Examples
Object Oriented Programming with Real World Examples
 
Java Object-Oriented Programming Conecpts(Real-Time) Examples
Java Object-Oriented Programming Conecpts(Real-Time) ExamplesJava Object-Oriented Programming Conecpts(Real-Time) Examples
Java Object-Oriented Programming Conecpts(Real-Time) Examples
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles
 
Python avancé : Classe et objet
Python avancé : Classe et objetPython avancé : Classe et objet
Python avancé : Classe et objet
 
CLTL python course: Object Oriented Programming (1/3)
CLTL python course: Object Oriented Programming (1/3)CLTL python course: Object Oriented Programming (1/3)
CLTL python course: Object Oriented Programming (1/3)
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with python
 
Python Objects
Python ObjectsPython Objects
Python Objects
 
Python Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsPython Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and Objects
 
Real-time Programming in Java
Real-time Programming in JavaReal-time Programming in Java
Real-time Programming in Java
 
Python avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementiellePython avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementielle
 
OOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOPOOP - Benefits and advantages of OOP
OOP - Benefits and advantages of OOP
 
4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT
 
OOP java
OOP javaOOP java
OOP java
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Java
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
 
Top 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and AnswersTop 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and Answers
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 

Similar to Oop’s Concept and its Real Life Applications

Back propagation
Back propagationBack propagation
Back propagationNagarajan
 
Secrets of Supercomputing
Secrets of SupercomputingSecrets of Supercomputing
Secrets of SupercomputingMarcus Vannini
 
ScalaDays 2013 Keynote Speech by Martin Odersky
ScalaDays 2013 Keynote Speech by Martin OderskyScalaDays 2013 Keynote Speech by Martin Odersky
ScalaDays 2013 Keynote Speech by Martin OderskyTypesafe
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RManish Saraswat
 
AlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesAlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesOlivier Teytaud
 
introduction to DL network deep learning.ppt
introduction to DL network deep learning.pptintroduction to DL network deep learning.ppt
introduction to DL network deep learning.pptQuangMinhHuynh
 
introduction to deep Learning with full detail
introduction to deep Learning with full detailintroduction to deep Learning with full detail
introduction to deep Learning with full detailsonykhan3
 
Application of Google Earth Engine in Open NAPs
Application of Google Earth Engine in Open NAPsApplication of Google Earth Engine in Open NAPs
Application of Google Earth Engine in Open NAPsNAP Events
 
Java and Deep Learning (Introduction)
Java and Deep Learning (Introduction)Java and Deep Learning (Introduction)
Java and Deep Learning (Introduction)Oswald Campesato
 
Sure interview algorithm-1103
Sure interview algorithm-1103Sure interview algorithm-1103
Sure interview algorithm-1103Sure Interview
 
Review: You Only Look One-level Feature
Review: You Only Look One-level FeatureReview: You Only Look One-level Feature
Review: You Only Look One-level FeatureDongmin Choi
 
Artificial Intelligence for Undergrads
Artificial Intelligence for UndergradsArtificial Intelligence for Undergrads
Artificial Intelligence for UndergradsJose Berengueres
 
Steve Dann (Amplified Robot): Escape Room VR
Steve Dann (Amplified Robot): Escape Room VRSteve Dann (Amplified Robot): Escape Room VR
Steve Dann (Amplified Robot): Escape Room VRAugmentedWorldExpo
 
introduction to deeplearning
introduction to deeplearningintroduction to deeplearning
introduction to deeplearningEyad Alshami
 
An Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPAn Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPSougata Das
 

Similar to Oop’s Concept and its Real Life Applications (20)

alexVAE_New.pdf
alexVAE_New.pdfalexVAE_New.pdf
alexVAE_New.pdf
 
Back propagation
Back propagationBack propagation
Back propagation
 
Control System Homework Help
Control System Homework HelpControl System Homework Help
Control System Homework Help
 
Java and Deep Learning
Java and Deep LearningJava and Deep Learning
Java and Deep Learning
 
Secrets of Supercomputing
Secrets of SupercomputingSecrets of Supercomputing
Secrets of Supercomputing
 
Lets build a neural network
Lets build a neural networkLets build a neural network
Lets build a neural network
 
ScalaDays 2013 Keynote Speech by Martin Odersky
ScalaDays 2013 Keynote Speech by Martin OderskyScalaDays 2013 Keynote Speech by Martin Odersky
ScalaDays 2013 Keynote Speech by Martin Odersky
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
 
AlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesAlphaZero and beyond: Polygames
AlphaZero and beyond: Polygames
 
introduction to DL network deep learning.ppt
introduction to DL network deep learning.pptintroduction to DL network deep learning.ppt
introduction to DL network deep learning.ppt
 
introduction to deep Learning with full detail
introduction to deep Learning with full detailintroduction to deep Learning with full detail
introduction to deep Learning with full detail
 
Application of Google Earth Engine in Open NAPs
Application of Google Earth Engine in Open NAPsApplication of Google Earth Engine in Open NAPs
Application of Google Earth Engine in Open NAPs
 
Java and Deep Learning (Introduction)
Java and Deep Learning (Introduction)Java and Deep Learning (Introduction)
Java and Deep Learning (Introduction)
 
Sure interview algorithm-1103
Sure interview algorithm-1103Sure interview algorithm-1103
Sure interview algorithm-1103
 
Review: You Only Look One-level Feature
Review: You Only Look One-level FeatureReview: You Only Look One-level Feature
Review: You Only Look One-level Feature
 
Artificial Intelligence for Undergrads
Artificial Intelligence for UndergradsArtificial Intelligence for Undergrads
Artificial Intelligence for Undergrads
 
State Monad
State MonadState Monad
State Monad
 
Steve Dann (Amplified Robot): Escape Room VR
Steve Dann (Amplified Robot): Escape Room VRSteve Dann (Amplified Robot): Escape Room VR
Steve Dann (Amplified Robot): Escape Room VR
 
introduction to deeplearning
introduction to deeplearningintroduction to deeplearning
introduction to deeplearning
 
An Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPAn Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSP
 

Recently uploaded

CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Recently uploaded (20)

Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

Oop’s Concept and its Real Life Applications

  • 2. Clearing The ‘‘OOP’S’’ Concept ! – 1. Object - Instance of Class 2. Class - Blue print of Object 3. Encapsulation - Protecting our Data 4. Polymorphism - Different behaviors at different instances 5. Abstraction - Hiding our irrelevant Data 6. Inheritance - One property of object is acquiring to – another property of the object
  • 3. Class & Object – we have a Class of Laptop under which Lenovo G50, HP envy and Sony viao t5 represents individual Objects. In this context each Laptop Object will have its own, Model,Year of Manufacture, Colour, Speed,BatteryPower etc.,which form Properties of the Laptop class and the associated actions i.e., object functions like Start, Restart, Volume down /up form the Methods of Laptop Class. – The blueprint is the class...the Laptop is the object. The data of people using the laptop ,are data stored in the object's properties. Laptop Lenovo G50s HP Envy m6
  • 4. Abstraction & Encapsulation – Abstraction says, only show relevant details and rest all hide it. For Example, This Laptop allows you to connect to wifi and surf the internet but it doesn't show you how its actually done. – Abstraction & Encapsulation works hand in hand because Abstraction says what details to be made visible & Encapsulation provides the level of access right to that visible details.SO, while connecting to the wifi the access to other laptops are restricted for security purposes.
  • 5. Polymorphmism & Inheritance – Polymorphism can be defined as the ability of doing the same operation but with different type of input. The web cam on the Lenovo g50s is having a functionality of CameraClick(). Now same Lappie is having Butification mode available in camera, so functionality would be same but with mode. This type is said to be Static polymorphism or Compile time polymorphism. – Inheritance is the Ability to extend the functionality from base entity in new entity belonging to same group. This will help us to reuse the functionality which is defined before.
  • 6. Laptop Lenovo Laptop Lenovo G50s HP Envy m6 Laptop Lenovo G50s Laptop Lenovo HP Single level inheritance Multi-level inheritance Hierarchical inheritance Hybrid inheritance
  • 7. OOPS APPLICATIONS AND PROBLEMS 1. Engg. 2. Numerical Method 3. Text Processing 4. SCIENCE , GUI by Case study.
  • 8. The Problem statemen t is to make a cheap blind aid . ENGG..
  • 9. import RPi.GPIO as GPIO GPIO.setwarnings(False) # supress the system wornings GPIO.cleanup() # clean up the GPIO pins i.e make the GPIO pins to low GPIO.setmode(GPIO.BOARD) # Set the mode of numbering the pins. GPIO.setup(11, GPIO.IN) #GPIO pin 11 is the input. GPIO.setup(12, GPIO.IN) #GPIO pin 12 as input GPIO.setup(13, GPIO.IN) #GPIO pin 13 as input pin left = GPIO.input(11) fornt = GPIO.input(12) right = GPIO.input(13) #keep on polling for input pins while 1: {left = GPIO.input(11) front = GPIO.input(12) right = GPIO.input(13) if left == True or front == True or right == True: buzz(“Stuck! Move your stick randomly") if left == False and front == False and right == True: buzz("move either left ot front")
  • 10. elif left == False and front == True and right == False: buzz("move either left or right") elif left == False and front == True and right == True: buzz("move left") elif left == True and front == False and right == False: buzz("move either front or right") elif left == True and front == False and right == True: buzz("move front") elif left == True and front == True and right == False: buzz("move right") elif left == True and front == True and right == True: buzz("better to go back") else: buzz(" Checkup appaaratus") }
  • 11. Problem Statement: How many numbers need to be stored to save a symmetric NxN matrix in lower diagonal form? (This is our statement of problem: Note this may be a small piece of another larger problem).
  • 12.
  • 13.
  • 14. • Solution algorithm: In lower diagonal form, the number of values needed go as: 1x1=1, 2x2=3, 3x3=6 ... • To increase the dimension of the matrix from (N-1)x(N-1) to NxN requires N new values. Therefore our algorithm is the sum of integers from 1 to N Problem Statement: How many numbers need to be stored to save a symmetric NxN matrix in lower diagonal form?
  • 15. SOLUTION • Call the number of values we need num_elements. How do we compute this value? (a) Simplest num_elements = 1 + 2 + 3 + 4 + 5 + .... + N • Coded specifically for specific values of N. Not very flexible; could be many options depending on number of values of N possible. • PROGRAM- num_elements = 0; for i = 1:N ; num_elements = num_elements + i ; end ;
  • 17. The earths magnetic field is improper along some regions of the surface making navigation cumbersome for voyagers and travelers. SO Scientists prepared to study the magnetic field of earth from the 1500 hundreds itself. They found out that each element on earth had its on magnetic spin intensity. Thus it showed the direction of the Magnetic field of earth its time period. So they collect fallen metirots and old rocks and tested them . They ended up with bizarre results , having no correlation between them. Finally a Prof. GARY GCATZMAR from university of California ( in 1990’s) put all the data collected till date regarding this magnetic behavior of earth in a computer model . Dozen’s of equations describing, temp. , viscocity, diamension and so forth of the plant. Then he just let it run
  • 18.
  • 19. • To see the world evolve over 100,000 years of stimulated time. • We can see that the blue region and yellow region are the main two active classes ( 1. north pole, 2. south pole) and each one of its lines are its own objects. • These objects have properties and methods give by those “dozens of equations”. , along with stimulated time. • This proved to state that our planets Magnetic field will reverse for every 70,000 years.

Editor's Notes

  1. TV REMOTE EXAMPLE
  2. Before moving forward we have to understand the intensity of this application. The Vectors and matrices as the solution itself. The 3d position of a quadcopter in know by calculation the robot pose which is described by a transformation matrix. SO BY MULTIPLYING THE LOCAL CORDINATE MATRICES WITH THE GLOBAL CORDINATE MATRICES ,WE CAN GET THE EXXACT POSITION O FTHE ROBOT.
  3. Vectors can represent state of all kinds of systems , WE can use it to represent POPULATION DISTRIBUTION , GOOGLE PAGE RANK, PASSSWORD ENCRY, FACE MORPHING, IMAGE COMPR, SEARCHING.
  4. To see the world
  5. THE GUI OF REVERSAL EARTH’S MAGNETIC FIELD
  6. To see the world