15SE201J - OBJECT ORIENTED PROGRAMMING USING C++ [TP701] & LAB
Instructor
Place |
<
>
Real world is full of objects and problems can be best solved using object oriented approach. The pioneer programming language to implement object oriented features is C++. This course aims at building object oriented skills through programming in C++. PROFESSIONAL CORE 1. Apply the basic object oriented features 2. Develop Generic programming skills 3. Apply appropriate data structures and solve complex problems by applying the skills acquired so far 4. Design problem into classes and develop a full working code 5. Develop programs using Streams, files, templates and handle exceptions |
|
Study Materials |
<
>
UNIT I INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING Need of Object-Oriented Programming - Comparison of procedural programming and Object-Oriented Programming - Characteristics of Object-Oriented Languages - C++ Programming Basics: Basic Program Construction - Data Types, Variables, Constants - Type Conversion, Operators, Library Functions - Loops and Decisions, Structures - Functions : Simple Functions, Passing arguments, Returning values, Reference Arguments. - Recursion, Inline Functions, Default Arguments - Storage Classes - Arrays , Strings Unit-1-materials.pdf UNIT II Features of Object Oriented Programming Introduction to Classes and Objects Constructors and its types, Destructors - Passing Objects as Function arguments and Returning Objects from Functions - Operator Overloading Inheritance - Overloading Member Functions Pointers - Virtual Functions – Friend Functions, Static Functions. Unit-2-materials.pdf UNIT III STREAMS AND FILES Streams: Classes and Errors, Disk File I/O with Streams - Files: File Pointers - Error handling in File I/O - File I/O with member Functions - Overloading the extraction and Insertion Operators - Multi File Programs Unit-3-materials.pdf UNIT IV Templates and Exception Templates : Function templates, Class templates - Exceptions: Need of Exceptions, keywords, Simple and Multiple Exceptions - Re-throwing Exception and Exception Specifications, Custom Exception Unit-4-materials.pdf UNIT V Standard Template Library Introduction to STL: Containers, Algorithms, iterators - potential problems with STL - Algorithms: find(), count(), sort(),search(),merge() - Function Objects: for_each() , transform() - Sequence Containers: vectors, Lists, Dequeues - Iterators and specialized iterators Unit-5-materials.pdf |
Video Presentation
|
Topic list
Contents of the video (minimum duration 5 min to maximum 10 min)
|
Laboratory |
Install GCC Compiler 4.8
Download GCC Compiler : 1. Windows Link 2. Mac OSX Link Video Link : GCC Compiler Installing procedure of Windows OS Basic Programs Sets
Basic Programs 1 a) Write a C++ program to get value from the user and display the same. b) Write a C++ program to perform any arithmetic operation and display the result. c) Write a C++ program to find simple interest and display the amount. d) Write a C++ program to find whether a number is positive or negative. e) Write a C++ program to find whether a number is odd or even Basic Programs 2 a) C++ Program to Find ASCII Value of a Character b) C++ Program to Reverse a Number c) C++ Program to Find Largest Element of an Array d) C++ Program to Find the Length of a String e) C++ Program to Check Whether a character is Vowel or Consonant. Basic Programs 3 Download Status of eLab (15/64)
Project Proposal and Documentation Template
Proposal Template Download Project Documentation Format
|