Presentation is loading. Please wait.

Presentation is loading. Please wait.

Object Oriented Programming (FIT-II) J. H. Wang Feb. 20, 2009.

Similar presentations


Presentation on theme: "Object Oriented Programming (FIT-II) J. H. Wang Feb. 20, 2009."— Presentation transcript:

1 Object Oriented Programming (FIT-II) J. H. Wang Feb. 20, 2009

2 Instructor –J. H. Wang ( 王正豪 ) –Assistant Professor, CSIE, NTUT –Office: R1534, Technology Building –E-mail: jhwang@csie.ntut.edu.twjhwang@csie.ntut.edu.tw –Tel: ext. 4238 –Office Hour: 10:00-12:00 am, every Tuesday and Wednesday TA –Mr. Yang (at R1424, Technology Building)

3 Course Overview Course: Object Oriented Programming (FIT-II) Time: 9:10-12:00am, Friday Place: R412, Computer and Network Center Textbook: Absolute C++, 3rd edition, by Walter Savitch, Addison-Wesley. ( 開發 ) References: –The C++ Programming Language, 3 rd edition, by Bjarne Stroustrup, Addison-Wesley, 1997. –C++ Primer, 4th edition, by Stanley B. Lippman, Josee Lajoie, and Barbara E. Moo, Addison-Wesley, 2005. Prerequisite: –Basic computer skills (FIT-I basic) –Working knowledge of high-level programming languages such as C (FIT-I pro)

4 Target Students For those who –Might NOT major in CSIE but are interested in information technologies, and –Have accomplished the courses FIT-I basic & FIT-I pro, and –Are willing to prepare for intermediate and advanced software engineering courses

5 Emphases of Teaching Basic concepts of the object oriented programming paradigm C++ programming skills Problem solving techniques, basic data structures and algorithm design

6 Teaching Lecture Quiz Homework and program assignments –Homework should be turned in within two weeks Mid-term and final exam

7 Grading Homework and program assignments: 40% Quiz: 15% Midterm: 20% Final exam: 25%

8 Goal Introducing object-oriented programming –Fundamental constructs in OOP with C++ –Exercises of programming skills –Basic concepts: encapsulation, polymorphism, … Preparing for advanced courses –Application software design & object-oriented problem solving –Software engineering & project management

9 Tentative Schedule Organization of the textbook –Review of computer programming (3-4 wks) Overview of Object Oriented Programming Ch. 1-5: programs, functions, parameters, flow of control, arrays, structures –OOP (focus) (10-12 wks) Ch. 6-8: classes, constructors, friends, references Ch. 9, 10, 12: More constructs: strings, pointers and dynamic arrays, streams and file I/O Ch.14: Inheritance Ch.15: Polymorphism –Generic programming (optional) (2 wks) Ch. 16: templates Ch. 17: Standard Template Library

10 Tentative Schedule (Cont’) Schedule –Basically, 1 or 2 weeks per chapter –Course Web Page: http://www.ntut.edu.tw/~jhwang/OOP/ http://www.ntut.edu.tw/~jhwang/OOP/

11 Program Development Environment Free C++ Development Environments –GCC on Linux/UNIX servers (ntut.edu.tw) –Windows-based Dev C++ (http://www.bloodshed.net/devcpp.html)http://www.bloodshed.net/devcpp.html Cygwin (http://www.cygwin.com/)http://www.cygwin.com/ MinGW (http://www.mingw.org/)http://www.mingw.org/ Commercial tools –Microsoft Visual C++ –Borland C++ –…

12 Homework Submission Forum: –http://140.124.183.11/oop/http://140.124.183.11/oop/ –Any questions or comments can be posted here Submission site: –http://140.124.183.11/hw/http://140.124.183.11/hw/ –Please upload your homework here

13 Programming Paradigms Styles of computer programming –Procedural programming –Object-oriented programming –Functional programming –Logic programming Low-level vs. high-level programming languages

14 OOP: Basic Concepts Encapsulation –Object Instance of class –Members Attributes Methods Abstraction –Composition E.g.: car –Inheritance E.g.: Lassie the Dog, a Collie Polymorphism

15 OOP: Why C++? OO Programming language: Why C++? –C++: general purpose programming language with a bias towards systems programming that [from Bjarne Stroustrup’s homepage] Is a better C Supports data abstraction, object-oriented programming, and generic programming –C++ has Many users Wide applications –Others: Smalltalk, Java, …

16 Thanks for Your Attention!


Download ppt "Object Oriented Programming (FIT-II) J. H. Wang Feb. 20, 2009."

Similar presentations


Ads by Google