gramming-amp-programming-methodology-cppm-p_compress
gramming-amp-programming-methodology-cppm-p_compress
Prog
ogramming & Prog
Programming Methodology
(CPPM)
CourseCode:
Course 104
Course
CourseTitle:
itle: Computer Programming& ProgrammingMethodology (CP
(CPPM)
PM)
Total Credits: 4 Credits
Credits
Nature of Subj
bjec
ect : Theory and Practical application
Teachingper Week: 4 Hours per week per Semester
Minimumweeks per
Minimum 15 weeks (Including
(Including class
class work,
work, examina
nati
tion,
on, prepara
aration
tion etc.)
Semester:
Review/Re
Review/Revision
vision Yea
Year: Jun
June, 2020
Purposeof CCourse
ourse : - Com
Co mputer programming (of (often
ten shortened to programming) iis s a process that
leads from an origi
origina
nall formulation
ulation of a computing problem to executable
computer programs.
- Programming involves activities such as analysis, developing,
under
erstan
standi
ding
ng, gener
erating
ating algori
algorithm
thms, verif
verificati
ication
on of requ
requiiremenents
ts of
algorithm
algorithms includi
including
ng their correctne
correctness,
ss, and
and iim
mpl
plem
ementatio
tation
n (common
(commonlly
referred to as coding)
coding) of al
algori
gorithm
thms iin
n a target programming language.
- Students pursuing their Graduation
Graduation program wi willl encounter their fi first
rst
programming langu
language which iis s one of the piopionee
neer computer programming
languages.
-
Purpose
program
progr ammof
ingthe course
langu is to re
age, structu emof
structure phasis
code,o
code, on
n concepts
algori thms, flof
algorithm Com
Co
ow- mpi
ow-charpil
ts,ler
charts, based
problem
probl em
solvi
solving
ng attitude, concepts of variables
variables and declaratio
claration
n mechanis ism
m of
dif
diffferent datatypes, si
simmpl
ple
e I/O
I/O statements, conditi
conditional
onal statements, lloops,
oops,
compound iterations, stristrings
ngs and certain iinbu
nbuil
iltt functions,
functions, header ffiiles,
concepts of arrays and one dimensional
dimensional numeric array operations,
operations, numericeric
inbuilt functi
functions
ons and
and concepts of pointe
pointers.
UNIT-3: Decisi
Decision
on Making statements :
3.1 if
if statements :
3.1.1 simple if statements
3.1.2 if…else statements
3.1.3 if…else if….else statements
3.1.4
3.1. 4 Nested if statements.
3.2
3.2 Switch..
Switch..case
case statements
3.2.1
3.2. 1 Use of break and default
3.2.2
3.2. 2 Dif
Difference betwee
between switch and if statem
statements.
UNIT-4: It
Iterativ
erative
e statements :
4.1 Use of goto statement ffor
or iteration
4.2 while loop
4.3 do..while loop
4.4 for loop
4.5 Nested wh
whiile, do..
do..whil
while
e and for loops
4.6 Ju
Jum
mpining
g statement: (break and continue)