Computer Programming with C++

The basic objective for this course to provide complete guidance for the students to learn object-oriented programming techniques. I idea is to focus on the practical aspect of programming in Mathematics.

Learning Outcomes

The learning objective of this course is

  1. To understand how C++ improves C with object-oriented features.
  2. To learn how to write inline functions for efficiency and performance.
  3. To learn the syntax and semantics of the C++ programming language.
  4. To learn how to design C++ classes for code reuse.
  5. To learn how to implement copy constructors and class member functions.
  6. To understand the concept of data abstraction and encapsulation.
  7. To learn how to overload functions and operators in C++.
  8. To learn how containment and inheritance promote code reuse in C++.
  9. To learn how inheritance and virtual functions implement dynamic binding with polymorphism.
  10. To learn how to design and implement generic classes with C++ templates.
  11. To learn how to use exception handling in C++ programs.

Contents

  1. Introduction to operating systems
  2. C language
  3. Building blocks
  4. Variables
  5. Input/output
  6. loops (FOR, WHILE, DO)
  7. Decisions (IF, IF ELSE, ELSE IF) construct switch statement
  8. Conditional statement
  9. Function hat returns a value using argument to pass data to another function
  10. External variable
  11. Arrays and strings
  12. Pointers
  13. Structure
  14. Files and introduction to C++

Recommended Books

  1. Aho A.V., Ulman J.D., Foundation of Computer Science. (1st ed. NY:
     Computer Science Press, WH Freeman, 1995.)
  2. Hein J.L., 1996. Theory of Computation: An Introduction. 1st ed. Boston: (Jones and Bartlett.)

Suggested Books

  1. Mustafa T., Tariq M.and Imran S. Object Oriented Programming using C++ (2nd edition, IT series)

Assignment Criteria

Sessional: 20 (Presentation / Assignment 10, Attendance 05, Quiz 05)

Mid-Term Exam:   30

Final-Term Exam: 50

Key Dates and Time of Class Meeting

Monday                                                                                  8:00am-9:30am & 12:30pm -2:00pm

Friday                                                                                    11:00am-12:30pm & 3:30pm to 5:00pm

Commencement of Classes                                                   March 02, 2020

Mid Term Examination                                                            April 27 to May 04, 2020

Final Term Examination                                                          June 22-26, 2020

Declaration of Result                                                              July 03, 2020

Course Material