2_cpc_hhm_02
TRANSCRIPT
-
8/11/2019 2_CPC_HHM_02
1/7
Document No. 2
Teaching Plan for Subject (Clause ISO 7.2.1
(To be submitted for each subject by concerned faculty)
Subject! Com"uter Programming in C Semester! II Disci"line! #$ IT
Name of Subject %acult&'Conenor! Prof. )ar*i+ ). ,aheta De"artment! Information Technolog&.
-. Teaching Plan for the Perio* from! 22/111 to 0//11
1 Oerie Of Com"uter an* C ( 1 )ours
Definition of Com"uter
,ain "arts of Com"uters (In"ut Deice 3 CP4 3 Out"ut
Deice
Program an* Programming languages5 com"iler.
Softare an* )ar*are
Im"ortance of C
#asic structure of a C Program
C Comment st&les
Oerie of Turbo C66 ID$.
$ecuting a sam"le C Program! Printing a message.
1
1
2 Constants5 ariables an* Data t&"es. (2 hours
C as a language 3 character set 3 to+ens 3 8rammar 9ules.
Integer constants5 real constants5 character constants5 string
constants5 esca"e se:uences.
;e&or*s an* I*entifiers
9ules for I*entifiers.
-
8/11/2019 2_CPC_HHM_02
2/7
re:uirement5 etc.
9ea*ing *ata from +e&boar* using scanf
-ssignment of alues to ariables
4se of t&"e*ef an* enum for user *efine* t&"e *eclaration.
Defining s&mbolic constants an* their a*antages
Declaring a ariable as constant
Storage classes
auto'local5 global5 etern5 register5 static
Declaring a ariable as olatile Oerflo an* un*erflo of *ata
1
0 O"erators an* $"ression
-rithmetic O"erators
9elational O"erators
>ogical O"erators
-ssignment O"erators
Increment an* Decrement O"erators
Con*itional O"erator ith eam"le "rogram of fin*ing
maimum of to numbers.
#it ise o"erators
S"ecial O"erators! comma o"erator an* si?eof o"erator
-rithmetic $"ressions
$aluation of e"ressions
Prece*ence of -rithmetic $"ressions
T&"e Conersions in $"ressions
O"erator "rece*ence an* associatiit&.
1
1
,anaging In"ut an* Out"ut O"erators
9ea*ing a character! getchar(5 getche(5 getch( @riting a character! "utchar(.
Isu""er5 Isloer5 Isal"ha5 etc categor& functions.
$am"le! Conert the case of in"ut character
%ormatte* In"ut
%ormatte* Out"ut
1
1
Document-2 format prepared by: Management Representative age 2 of " #ormat approved by: $hairman% &' $ommittee% DD&T
-
8/11/2019 2_CPC_HHM_02
3/7
A Decision ma+ing an* branching
Sim"le if statement
The Ifelse statement
Nesting of Ifelse statements
The elseIf la**er
The sitch statement
goto statement $ercises
1
1
1
B Decision ma+ing an* loo"ing
Intro*uction to loo"ing ia flochart an* goto
@hile statement
The DOhile
%or statement
Selecting a loo"
Change of flo in >oo"s ith use of brea+ an*'or continue
-oi*ing goto
$ercise s
1
1
1
7 -rra&s
Intro*uction to arra&s
One Dimensional arra& an* its *eclaration
Com"ile time an* runtime initiali?ation of arra&.
To Dimensional arra&s
Initialisation an* 4se of to*imensional arra& ith matri
arra&. ,ulti Dimensional -rra&s an* D&namic -rra&s oerie
$ercises
1
1
1
Character -rra&s an* Strings
Intro*uction to strings
1
Document-2 format prepared by: Management Representative age of " #ormat approved by: $hairman% &' $ommittee% DD&T
-
8/11/2019 2_CPC_HHM_02
4/7
Declaring an* initiali?ation of string ariables
-rithmetic o"erations on characters
Putting string Together
Com"arison of To Strings
String han*ling functions
1
4serDefine* %unctions
Intro*uction to user *efine* functions an* nee* of it Nee* for user *efine* functions
- ,ulti function "rogram
$lements of 4ser Define* functions
Definition of %unctions
9eturn alues an* their t&"es
%unction Calls
%unction Declaration
Categor& of %unctions
No arguments an* No 9eturn alues
-rguments ith 9eturn alues
No arguments but returns a alue
%unction that return multi"le alues.. #rief
Nesting of functions
9ecursion
Passing -rra&s to %unctions
Passing Strings to %unctions
The sco"e5 isibilit& an* >ifetime of a ariable
,ulti file "rograms
1
1
2
1/ Structures an* 4nions Intro*uction
Defining a structure an* structure ariables an* accessing
structure ariable
Structure Initiali?ation
Co"&ing an* Com"aring structure ariables
2
Document-2 format prepared by: Management Representative age * of " #ormat approved by: $hairman% &' $ommittee% DD&T
-
8/11/2019 2_CPC_HHM_02
5/7
-rra&s of Structures
-rra&s ithin structures
Structures ithin structures
Structures an* %unctions
4nions
#it %iel*s
1
11 Pointers
4n*erstan*ing "ointers -ccessing the a**ress of a ariable
Declaring "ointer ariables
Initili?ation of "ointer ariables
-ccessing a ariable through its "ointer
Chain of Pointers
Pointer $"ressions
Pointer Increments an* scale factor
Pointers an* -rra&s
Pointers as %unction -rguments %unctions 9eturning Pointers
Pointers to %unctions
Pointers an* Structures
2
1
1
1
12 %ile ,anagement in C
Intro*uction
Defining an* O"ening a %ile
Closing a %ile
In"ut'Out"ut O"erations on %iles
$rror han*ling During I'O O"erations 9an*om access to files
Comman* line arguments
1
1
Total >ectures 00
Document-2 format prepared by: Management Representative age + of " #ormat approved by: $hairman% &' $ommittee% DD&T
-
8/11/2019 2_CPC_HHM_02
6/7
#. Details of #oo+s'Eournals
Title Publisher -uthor of the #oo+
Tet #oo+ Programming in
-NSI C
T,) $.#alagurusam&
9eference #oo+s 1 Programming in C ;erninghan an*
9itchie.
2 >et 4s C Fashant ;anit+ar
C. Details of Pro"ose* Change ' ,o*ification'Inclusion' $clusion of Subject.
Sr.
No
To"ic to be
Inclu*e* To"ic to be $clu*e*
Name of the Person
@ho Pro"ose* the
Change
Suggeste* 9ea*ing
for the Inclusion
Eustification for
Change
9emar+s of the
Subject Teacher
Document submitte* b&!
Document-2 format prepared by: Management Representative age , of " #ormat approved by: $hairman% &' $ommittee% DD&T
-
8/11/2019 2_CPC_HHM_02
7/7
Name! Prof. )ar*i+ ). ,aheta Designation! -sst. Prof Signature! Date!/2/A11
9emar+s of )OD! Signature of )OD! Date! /0/A11
No 9emar+s
Document-2 format prepared by: Management Representative age " of " #ormat approved by: $hairman% &' $ommittee% DD&T