CS-1233 PROGRAMMING FUNDAMENTALS
Credit Hours Contact Hours Pre-requisite(s)
3 3 hrs./week x 16 weeks= 48 hrs. Freshman Standing
COURSE OBJECTIVES:
Main objective of this course is to study programming with emphasis on modular and
structured programming technique. Students shall learn to apply the techniques of structured
(functional) decomposition to break a program into smaller pieces.To design, implement, test
and debug program that uses standard conditional and iterative control structures, functions,
arrays, strings and structures to solve complex engineering problems
COURSE LEARNING OUTCOMES (CLOS):
Upon successful completion of the course, the student will be able to:
Taxonomy
No. Statement of CLO Domain PLO
Level
CLO-1 Comprehends the fundamental concepts of Cognitive C2 1
computing and translate a particular problem using
basic computer programming.
CLO-2 Solve given problems and develop programs applying Cognitive C3 2
structured programming methodology.
CLO-3 Analyzes, design, implement and breaks down Cognitive C4 3
computer programs using object-oriented
programming approach.
RELEVANT PROGRAM LEARNING OUTCOMES (PLOS):
The course is designed so that students will achieve the following PLOs:
1 Engineering Knowledge 7 Environment and Sustainability
2 Problem Analysis 8 Ethics
3 Design/Development of Solutions 9 Individual and Team Work
4 Investigation 10 Communication
5 Modern Tool Usage 11 Project Management
6 The Engineer and Society 12 Lifelong Learning
RECOMMENDED BOOKS:
1. Robert Lafore, Object oriented programming in C++, 4th edition.
2. Deitel and Deitel, C++, How to Program, Prentice Hall. ISBN 9780134448848
COURSE CONTENTS:
Basic Programming Structure
Types of programming languages, Assembler, Interpreter, Complier, Linker
Source program, object program, executable program, Pseudo code & Flowchart
Variables, Syntax ,Loops, Decisions, operators, Functions, Debugging errors
Programming basics for C++
Header files, keywords, program structure
Data types, Variables, Literals
cout and cin statements, Escape sequence
manipulators: setw, hex, oct, setfill, setprecision
Assignment statement
Conditional Statements
Relational and Logical Operators
if, if-else, nested if, nested if-else statements
Decisions and Loops
switch-case, break, continue
while and do-while loops, for loop
Arrays and pointers
Declaration and Definition of Single and Multi- dimensional arrays
Accessing array elements
Pointers, pointer to pointer and dynamic memory allocation
Functions
Declaration & Definition of User defined functions
Default arguments, Passing arguments and Returning Values
Arguments passed by value and reference
Function Overloading, Returning by reference
Objects & Classes
Procedural approach vs Object-oriented approach
Object-oriented concepts: Inheritance, encapsulation, polymorphism
Classes and Objects: access of public, private and protected members of a class
Constructors and destructors
Operator overloading
Function overriding
Private and public inheritance