Object Oriented Programming
0%
Course Title: Object Oriented Programming
Course No: BIT153
Nature of the Course: Theory + Lab
Semester: 2
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 8 + 8
Credit Hours: 3
Course Description
Course Objectives
Course Contents
2.10. Functions
- Function Overloading
- Inline Functions
- Default Argument
- Pass by Reference
- Return by Reference
- Scope and Storage Class
2.11. Pointers
- Pointer variables declaration & initialization
- Operators in pointers
- Pointers and Arrays
- Pointer and Function
3. Class and Objects
8 hrs
4.5. Data Conversion
- Basic to basic
- Basic to user-defined
- User-defined to basic
- User-defined to user-defined
5. Inheritance
7 hrs
7.5. Exceptional Handling
- Try, throw and catch
- Use of exceptional handling
8. File and Streams
6 hrs
8.2. String I/O
- Reading I/O
- Writing I/O
- Detecting end of file
8.4. Object I/O
- Writing an object to Disk
- Reading an object from Disk
Laboratory Works
- 1.Lab exercises for Introduction to OOP unit
- 2.Lab exercises for Basics of C++ programming unit
- 3.Lab exercises for Class and Objects unit
- 4.Lab exercises for Operator Overloading unit
- 5.Lab exercises for Inheritance unit
- 6.Lab exercises for Virtual Function, Polymorphism, and other C++ Features unit
- 7.Lab exercises for Function Templates and Exception Handling unit
- 8.Lab exercises for File and Streams unit
Text Books
- 1.Robert Lafore, Object Oriented Programming in C++, Fourth Edition, SAMS publications.
Reference Books
- 1.Deitel and Deitel, C++ How to Program, Third Edition, Pearson Publication.
- 2.Joyce Farrell, Object-oriented programming using C++, Fourth Edition, Cengage Learning.
- 3.Herbert Schildt, C++ The Complete Reference, Fourth Edition, Tata McGraw Hill Publication.