CSE202 Object Oriented Programing

Slides:



Advertisements
Similar presentations
CSE 332: C++ overview CSE 332 Overview and Structure CSE 332 emphasizes studio-based active learning –Introductory lecture material followed by hands-on.
Advertisements

Bjarne Stroustrup started work on C with Classes in 1979 at Bell Labs. In 1983 it was renamed C++.
CS1101: Programming Methodology
1 CIS601: Object-Oriented Programming in C++ Note: CIS 601 notes were originally developed by H. Zhu for NJIT DL Program. The notes were subsequently revised.
CS-2135 Object Oriented Programming
Tuesday, December 05, 2006 I hear and I forget, I see and I remember, I do and I understand -Chinese Proverb.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 15 - C++ As A "Better C" Outline 15.1Introduction.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
C++ fundamentals.
1 Object Oriented Programming Development z By: Marc Conrad University of Luton z z Room: D104.
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Introduction to Object-oriented programming and software development Lecture 1.
COMPSCI 174- Introduction to C++ Class hour Section 01: MWF 9:55am – 10:45am. Hyer Hall 210.
Object Oriented Design and Programming Alan Goude Room: Sheaf 9323.
C++
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Rossella Lau Lecture 1, DCO10105, Semester B, DCO10105 Object-Oriented Programming and Design  Lecture 1: Introduction What this course is about:
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 24P. 1Winter Quarter C++ Lecture 24.
Course Title: Introduction to C++ Course Instructor: ADEEL ANJUM Chapter No: 01 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Copyright © 2012 Pearson Education, Inc. 9/4/1435 h Sunday Lecture 1 Array’s Terminologies.
Prepared by: Elsy Torres Shajida Berry Siobhan Westby.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
Introduction to c++ programming - object oriented programming concepts - Structured Vs OOP. Classes and objects - class definition - Objects - class scope.
Introduction to Object Orientation Dr. Ahmed Youssef.
1 Object Oriented Programming Development z By: Marc Conrad University of Luton z z Room: D104.
Object Oriented Programming (FIT-II) J. H. Wang Jan. 31, 2008.
OOP 2 CHAPTER Agenda Introduction  About me  About you Course Outline Course objectives  Course outcomes Course Methodology  CATs/Assignments/Projects/Exams.
Course Title Object Oriented Programming with C++ instructor ADEEL ANJUM Chapter No: 03 Conditional statement 1 BY ADEEL ANJUM (MSc-cs, CCNA,WEB DEVELOPER)
Introduction to C++ Course Version 1.0. Topics Course Outline Course Materials Syllabus Blackboard Forum Why C++
Object-Oriented Paradigm (OOP) Course Code: SE 101 Lecture No. 1.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
Chapter 15 - C++ As A "Better C"
CSC 427: Data Structures and Algorithm Analysis
Object Oriented Programming Development
Andy Wang Object Oriented Programming in C++ COP 3330
CSc 020: Programming Concepts and Methodology II
Objects First with Java A Practical Introduction using BlueJ
Object-Oriented Programming (OOP) Lecture No. 45
CS1201: Programming Language 2
Object-Oriented Programming (OOP) Lecture No. 1
CSIS 1117A Computer Programming (C++)
OOP What is problem? Solution? OOP
CSE101 C Programing The kick start session Lecture #0
Concepts and Basics of C++ Programming
Object-Orientated Programming
C++.
TMC 1414 Introduction to Programming
C++ History C++ was designed at AT&T Bell Labs by Bjarne Stroustrup in the early 80's Based on the ‘C’ programming language C++ language standardised in.
COSC051: Computer Science I
Internet Programming.
Objects First with Java A Practical Introduction using BlueJ
(5 - 1) Object-Oriented Programming (OOP) and C++
CSE 332 Overview and Structure
Andy Wang Object Oriented Programming in C++ COP 3330
OOP and ADTs Chapter 14 Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved.
OOP vs Structured Programming
Object Oriented Programming
OBJECT ORIENTED PROGRAMMING II GEORGE KOUTSOGIANNAKIS
Derived Classes in C++ Professor Hugh C. Lauer CS-2303, System Programming Concepts (Slides include materials from The C Programming Language, 2nd edition,
CIS601: Object-Oriented Programming in C++
(5 - 1) Object-Oriented Programming (OOP) and C++
Principles of object – oriented programming UNIT-1 Chapter-1.
Objects First with Java A Practical Introduction using BlueJ
CSE Object Oriented Programing
Objects First with Java A Practical Introduction using BlueJ
CS114B Introduction to Computer Science II
Computer Engineering Department Islamic University of Gaza
Presentation transcript:

CSE202 Object Oriented Programing Lecture #0 Let’s explore and move to “Better C” © LPU :: CSE202 Object Oriented Programming

Course Details LTP – 3 0 0 [Three lectures/week] Course communication mode cse202@lpu.co.in Course Blog cse202lpu.blogspot.in © LPU :: CSE202 Object Oriented Programming

Text Book OBJECT ORIENTED PROGRAMMING IN C++ by Robert Lafore, PEARSON, 4th Edition, (2013) © LPU :: CSE202 Object Oriented Programming

Course Assessment Model Marks break up Attendance 5 CA(2 out of 3,2 Online Quiz & 1 Test) 20 MTE 25 ETE 50 Total 100 © LPU :: CSE202 Object Oriented Programming

C Programming Acknowledgements MIT OpenCourseware Stanford online Udemy Coursera learncpp.com Lynda.com Wikiversity Above all… C Programming © LPU :: CSE202 Object Oriented Programming

Acknowledgements The homepage of Bjarne Stroustrup, the inventor of C++:http://www.research.att.com/~bs A C++ online tutorial: http://www.cplusplus.com/doc/tutorial/ The C++ FAQ: http://www.parashift.com/c++-faq-lite And many, many more! © LPU :: CSE202 C++ Programming

Course objectives To understand basic programming constructs and use the newly acquired skills to solve extensive programming problems. To understand the principles of the object-oriented model and its implementation in the ‘C++' language. To build on the concepts learned in C language and use the power of object oriented programming to develop software applications. To enable the students to write and execute well structured 'C++' programs. To use problem solving and program design techniques effectively to generate applications. © LPU :: CSE202 Object Oriented Programming

The hitch… The BURNING questions in mind… Oh no… Why another Programming Language ? What would we do with it, we already know C? Will it really help improve my programming skills? © LPU :: CSE202 Object Oriented Programming

A Better C C++ Improves on many of C's features Has object-oriented capabilities Increases software quality and reusability Developed by Bjarne Stroustrup at Bell Labs Called "C with classes“ an enhanced version of C Superset of C Can use a C++ compiler to compile C programs Gradually evolve the C programs to C++ Towards better programming…. © LPU :: CSE202 Object Oriented Programming

The course contents Before MTE Unit I: Concepts and Basics of C++ Programming, Functions and Input/output Streams, Array Unit II: Pointers, Reference Variables and String Concepts Unit III: Structured Data Types and Classes, Operator Overloading and Type Conversion © LPU :: CSE202 Object Oriented Programming

The course contents After MTE Unit IV: Inheritance and Aggregation, Dynamic Memory Management Unit V : Polymorphism and Data File Operations Unit VI: Templates and Exception Handling, The Standard Template Library © LPU :: CSE202 Object Oriented Programming

Unit I:Console based Input/Output Bring in through cin and Take out through cout © LPU :: CSE202 Object Oriented Programming

Unit I (Continued): Function and Array © LPU :: CSE202 Object Oriented Programming

Unit II:Pointers and Strings © LPU :: CSE202 Object Oriented Programming

Unit III: SDT,Operator Overloading & Type Conversion Look around you and identify some objects Everything is an OBJECT © LPU :: CSE202 C++ Programming

Object ,Object and Object A student, a professor A desk, a chair, a classroom, a building A university, a city, a country A subjects such as Physics, Math, History, … © LPU :: CSE202 C++ Programming

Let us explore about LPU LPU is defined by the interactions among various objects: Students Professors inside LPU Staff Board governance State governance outside LPU … ... © LPU :: CSE202 C++ Programming

Daily Analysis In real world, many objects are of same kind. © LPU :: CSE202 C++ Programming

Encapsulation © LPU :: CSE202 Object Oriented Programming

Hidden reality sometimes in daily analysis If you want to know about anything like places to be visited in Jalandhar then what will you do? You simply text that in Google search Box © LPU :: CSE202 C++ Programming

Reuse, Reduce & Reliable !!! Existing Features Existing Features + Additional Features © LPU :: CSE202 C++ Programming

Hiding data Update Marks © LPU :: CSE202 C++ Programming

Hiding Details © LPU :: CSE202 C++ Programming

But Mummy, where did my blue eyes come from? Unit IV: Inheritance But Mummy, where did my blue eyes come from? © LPU :: CSE202 C++ Programming

Unit V: Polymorphism In front of father In class In CCD One thing and many forms © LPU :: CSE202 C++ Programming

Polymorphism (continued) © LPU :: CSE202 Object Oriented Programming

Unit VI: Exception Handling © LPU :: CSE202 Object Oriented Programming

Next Class: Concepts and Basics of C++ programming Any Question? Next Class: Concepts and Basics of C++ programming cse202@lpu.co.in © LPU :: CSE202 C++ Programming