Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .
-
Upload
maryann-wheeler -
Category
Documents
-
view
213 -
download
1
Transcript of Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .
![Page 1: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/1.jpg)
Introduction
WWW . S H A H I D R A S U L . C O M
![Page 2: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/2.jpg)
Class Notes
How to Program in C++ By : dettle & dettle
READING MATERIAL
WWW . S H A H I D R A S U L . C O M
![Page 3: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/3.jpg)
Lecture overheads are designed to convey information, not to be mechanically copied
down. Copies are given to you in the lectures.
LISTEN to what is said.THINK about what is said.ASK questions when you do not
understand.WRITE down what is important.DO NOT TALK amongst yourselves unless you are invited to do so.
LECTURES
WWW . S H A H I D R A S U L . C O M
![Page 4: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/4.jpg)
Final Exam (50%)Mid Term ( 30%)Quiz (5%)
Project (10%)
Attendance and Class Participation(5%)
Course Website:http://www.shahidrasul.com
COURSE STRUCTURE …
WWW . S H A H I D R A S U L . C O M
![Page 5: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/5.jpg)
Programming?Why C++?
OO Concepts?
YOUR EXPECTATION ?!
WWW . S H A H I D R A S U L . C O M
![Page 6: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/6.jpg)
Self WorkReview QuestionsClass Participation
Team Work
MY EXPECTATION ?!
WWW . S H A H I D R A S U L . C O M
![Page 7: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/7.jpg)
“Well-designed and constructed software is easy to
maintain”
THOUGHTS TO PONDER …
WWW . S H A H I D R A S U L . C O M
![Page 8: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/8.jpg)
Delivered late
Over budget
Requirements not met
Contain defects (bugs)
Less than 5% delivered as required - affects the
quality
SOFTWARE CRISIS
WWW . S H A H I D R A S U L . C O M
![Page 9: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/9.jpg)
Poorly defined requirements
changes in requirements
complex requirements
poor development models
SOFTWARE CRISIS REASONS
WWW . S H A H I D R A S U L . C O M
![Page 10: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/10.jpg)
CONVENTIONAL PROGRAMMING VS
OBJECT ORIENTED PROGRAMMING
WWW . S H A H I D R A S U L . C O M
![Page 11: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/11.jpg)
Developed in late 1960s
more disciplined style
Functional Decomposition Approach
STRUCTURED PROGRAMMING
O p en F ile
read record s
P rocess C lose F ile
M a in
WWW . S H A H I D R A S U L . C O M
![Page 12: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/12.jpg)
A single paradigmcode reuse
model reflects the “real world”changes in requirements cause
minimal effect in design
OBJECT - ORIENTED TECHNOLOGY
WWW . S H A H I D R A S U L . C O M
![Page 13: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/13.jpg)
client/server computingGUI systems
embedded systemsdatabase applications
OBJECT - ORIENTED - SCOPE
WWW . S H A H I D R A S U L . C O M
![Page 14: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/14.jpg)
For Managers: Promises faster, cheaper development and maintenance For Analyst and Designers: Modeling becomes simpler and produces a clear, manageable design For Programmers: Elegance and clarity of the object model and the power of object-oriented tools and libraries makes programming a much more pleasant task, and programmers experiences an increase in productivity.
BENEFITS OF OOP …
WWW . S H A H I D R A S U L . C O M
![Page 15: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/15.jpg)
Late 1940s, early 1950s used concepts like
‘objects’ & ‘attribute of objects’
Larry Constantine - first to suggest design before
programming
Dahel & Nygaard introduced ‘class’ in language
Simula in Norway in late 1960s
Alan Kay concepts on ‘messages’ & ‘inheritance’
in 1969
OBJECT ORIENTED - HISTORY
WWW . S H A H I D R A S U L . C O M
![Page 16: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/16.jpg)
1970 - term ‘object-oriented’ by Alan Kay in SmallTalk
1980s impact on software life-cycle
1980s Grady Booch introduced concept of O.O Design
(OOD) as a life-cycle process that define the interactions &
interrelationships among software concepts
late 1980s O.O Analysis (OOA)
CON’T - OBJECT ORIENTED - HISTORY
WWW . S H A H I D R A S U L . C O M
![Page 17: Introduction . Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL .](https://reader038.fdocuments.in/reader038/viewer/2022110320/56649ccc5503460f949955ed/html5/thumbnails/17.jpg)
C++ currently in useSun Microsystems, James Gosling
used as ‘oak’Today known as JAVA which is ‘a
simple, o.o, distributed, interpreted, robust, secure,
portable, high performance and general purpose programming’
announced in May 1995
CON’T - OBJECT ORIENTED - HISTORY
WWW . S H A H I D R A S U L . C O M