For Affiliated Colleges
Cource Title: Programming Fundamentals (COSC-I101)
Credit Hours:!(ATheorY + 1 Lab)
Course lntroduction:
basic structured programming skills' The
The course is designed to familiarize students with the
to Problem solving methods and algorithm
objective of course is to introduce a disciplined approach
syntax and vocabulary of a modern
programming language like
development. The aim is to teach the
programming' including models for l/o' ProcessinS' and
C++. The significant philosophies and logical
all related terminology will be taught' Programs
will be constructed' using a number of different
upon problem analysis' algorithm desiSning'
logical, calculation and algorithm' lt emphasizes
Program develoPment and testing'
Pre-requisite:
N one
Learning Outcome:
problem solving
1 Acquire fundamental concePts of structured programming along with
techniques and analytical thinking
in
what type of data and processes are involved
2 Analyze problem requirements to recognize
solution
Apply code reading and debugging techniques
to analyze' interpret' and describe the
3
in syntax' logic' style or Bood practice
purpose of program code, and to identify erro6
of
programming to the design and implementation
4 Apply the principles of structured
algorithms as comPuter Programs
to algorithms' document the resulting design, and
5. Apply functional decomposition
as methods
implement those designs in Program code
Course Content:
Week 1
problem-solving techniques' algorithms'
lntroduction to computers, hardware' software'
pseudo-code and flow charts'
- CHAIRPERSON
W!
Page 23115 of 23402 f,:'i::': :l ::il.l;:[Link]
Week 2
(low level and high
lntroduction to programming languages, Type of programming languages
level),BasicProgrammingTerminologies(sourceandobiectcode,assembler,compilerand
interpreter, compilation steps, linking, loading and library files, IDE), Error
and its types'
Week 3
declaring variables and
Concept of variables, memory location, Data types, constants'
escape sequences'
constant, commenl statements, console i/o statements and
Week 4
logical) Sequential structure programs'
Operators (assignment, arithmetic, relational and
Week5-6
if-else' nested if-else' switch statements)
Branching Structure (simple if, if-else, multiple
Week 7
loop' break and continue statements' for
Iterative/loop structure, while loop and do-while
loop' loop comparisons' and Combined use
loop, nesled loops, Sentinel and counter control
of branching and looP structure
Week 8: Mid Term Exams
Week 9
static and dynamic memory allocation'
Pointers, address operator' indirection operator'
difference between simple and pointer variables
Week 10
Linear
array indexing' string as character arrays'
Arrays concept, declaring and using arrays'
searching and Bubble sort'
Week 11 - 12
types of functions (built-in and user define)'
introduction to modular programming, functions'
function calland return' function parameters and
function prototype, defining a function'
reference' passing array in a function' recurslve
arguments pass by value and pass by
functions
Page 23116 of 23402
xlmtli:$l'i:*;ln
Week 13
using builtin functions of string and math
String and Math libraries (string'h and math'h)'
libraries
Week 14
array as structure member' a afiay of structure'
User-defined data types' structure, using
pointer to a structure
Week 15
mode' reading and
creation' read and write and append
File handling, binary and text files, file
writing structure to binary files'
Week 16 Final Term Exam
Recommended Books & Materials:
Approach by Behrouz A Forouzan (Author)' Richard
1. c++ Programming: An obiect-oriented
Gilberg (Authod
Robert Lafor
z. 6ii#dtl"nt"j Programming in c++bybvPaul Deitel & Harvey Deitel
i. Jlc-- ,i"*," trogrim, 7th Edition by Jeri R' Hanly & Elliot B' Koffman
4. Problem Solving and Program o"tit" i" l--' "n tdition
Teaching MethodologY:
c
ol Baha'{a\Pur
Ufi,teFlt\l
Page 23117 of 23402