Course Name Programming Fundamentals
Course Code CS102
Course Area Computing Core
Credit Hours 4 (3-3)
Contact Hours 3-3
Pre-requisites None
Course Introduction
This course provides fundamental concepts of programming to freshmen. The courses is pre-
requisite to many other courses, therefore, students are strongly advised to cover all contents and
try to achieve CLOs to the maximum possible level. The course may be taught as language
independent. Further, it is up to the university to choose any language for the practical/Lab
purpose but that must be latest and market oriented. At the end of the course the students will be
able to:
Bloom’s Taxonomy
CLO No Course Learning Outcomes
Domain Level
CLO-1 Understand basic problem-solving steps and C 2 (Understand)
logic constructs.
CLO-2 Apply basic programing concepts. C 3 (Apply)
CLO-3 Design and implement algorithms to solve real C 3 (Apply)
world problems.
Course Outline
Introduction to Programming and Importance for a CS Graduate, Basics of Programming and
Software Development, C++ Development Environment and Basic Program Construction,
Header Files and Library Files, Variables and Data Types, Operators (Arithmetic, Logical,
Increment, Decrement) and Precedence, Type Conversion, Input and Output Statements in
C++, IF Statement, IF -ELSE Statement, ELSE-IF Statement, Conditional Operator Switch
Statement, GOTO Statement, Arrays, One Dimensional and Two Dimensional Arrays, FOR
Loop, Nested FOR loops, Loops with Arrays, WHILE Loop, DO-WHILE Loop, Break
Statement, Continue Statement, Functions and its Importance, Parts of Functions, Passing
Arguments to Functions, Returning Values from Functions, Inline Functions, Default
Arguments, Recursion, Strings, String Manipulation Functions, Structures and its Importance,
Declaring Structures and Structures Variables, Accessing Structures Members, Nested
Structures, Passing Structures Function, Enumerations, Array of Structures, Pointers and its
Importance, Pointers and Arrays, Pointers and Function (Call by Value and Call by Reference),
Pointers and Strings, File Handling in C++, Reading from a File, Writing to a File.
Reference Material
The following is the recommended list of books (or their latest editions):
1. Dietel, Paul, and Harvey, Dietel. C++ How to Program. Prentice Hall, 2019.
2. Lafore, Robert. Object-Oriented Programming in C. Indianapolis, Sams, 2005.
3. Sahay, Sourav. Object Oriented Programming with C. Oxford University Press, 2012.
4. Kanetkar, Yashavant. Basic Programming in C++. BPB Publications, 2004.