Khwaja Fareed University of Engineering & Information Technology
Khwaja Fareed University of Engineering & Information Technology
Khwaja Fareed University of Engineering & Information Technology
Course Introduction
This course is about learning and implementing the fundamentals of Computer Programming. The aim of
this course is to understand the basics of computer programming in C++ language. Students will be able to
apply the basic programming structures using C++ language. The course will cover: fundamentals of
computer programming, arrays and collections, file I/O, operators and functions, pointers and
implementation of classes and structures.
Course Contents
Modular Programming and Data Management:
Repetition (While, For and Do – while looping structures), Functions (call, return and stack), Array (2D,
3D), Pointers (and call by reference), Function, Memory Allocation, Filing, Structures and Classes.
Reference books:
Administrative Instruction
According to institute policy, 75 % attendance is mandatory to appear in the final examination.
Home tasks must be submitted as per instructions mentioned by the instructor.
In any case, there will be no retake of (scheduled/surprise) quizzes.
For queries, kindly follow the office hours in order to avoid any inconvenience.
LMS Usage
Most of the tasks/assignments must be solved through computers using Visual Studio compiler.
Students are required to visit LMS Course portal regularly for latest course information, important
notifications regarding lectures, Quizzes, homework/assignments etc.
Lecture Breakdown
Week Experiment CLO_X Mapping
Week-1 Revision of Control Statements
Revision of Loops
Week-2
Week-3 Revision of functions
Week-4 Introduction to arrays
Week-5 Passing arrays to function,
Introduction to sorting, and
searching techniques
Further discussion on sorting and
Week 6
searching
Data Management by Arrays II:
Week 7
Multidimensional arrays
Week 8 Revision
Efficient Data and Memory
Management by Pointers I:
Week 9
Definition, Initialization, pointer
operator and pointer arithmetic.
Efficient Data and Memory
Management by Pointers II: Passing
Week 10
arguments by reference and pointers
and arrays.
Filing: File processing, files and
Week-11
streams, R/W access
Further discussion on File
Week-12 processing, files and streams, R/W
access
New Types and Data Manipulation:
Week-13 Defining and declaring structures,
initializing and accessing members
Further discussion on New Types
and Data Manipulation: Defining
Week-14
and declaring structures, initializing
and accessing members
Classes I: Defining class with
Week-15 member, member functions, data
members and set functions
Week 16 Revision