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
- To understand how C++ improves C with object-oriented features.
- To learn how to write inline functions for efficiency and performance.
- To learn the syntax and semantics of the C++ programming language.
- To learn how to design C++ classes for code reuse.
- To learn how to implement copy constructors and class member functions.
- To understand the concept of data abstraction and encapsulation.
- To learn how to overload functions and operators in C++.
- To learn how containment and inheritance promote code reuse in C++.
- To learn how inheritance and virtual functions implement dynamic binding with polymorphism.
- To learn how to design and implement generic classes with C++ templates.
- To learn how to use exception handling in C++ programs.
Contents
- Introduction to operating systems
- C language
- Building blocks
- Variables
- Input/output
- loops (FOR, WHILE, DO)
- Decisions (IF, IF ELSE, ELSE IF) construct switch statement
- Conditional statement
- Function hat returns a value using argument to pass data to another function
- External variable
- Arrays and strings
- Pointers
- Structure
- Files and introduction to C++
Recommended Books
- Aho A.V., Ulman J.D., Foundation of Computer Science. (1st ed. NY:
Computer Science Press, WH Freeman, 1995.)
- Hein J.L., 1996. Theory of Computation: An Introduction. 1st ed. Boston: (Jones and Bartlett.)
Suggested Books
- 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