To Be Submitted For Each Subject by Concerned Faculty

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 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&'Con(enor! Prof. )ar*i+ ). ,aheta De"artment! Information Technolog&.


-. Teaching Plan for the Perio* from! 22./1.11 to 0/./1.11

1 O(er(ie2 Of Com"uter an* C ( 1 )ours
Definition of Com"uter
,ain "arts of Com"uters (In"ut De(ice 3 CP4 3 Out"ut
De(ice
Program an* Programming languages5 com"iler.
Soft2are an* )ar*2are
Im"ortance of C
#asic structure of a C Program
C Comment st&les
O(er(ie2 of Turbo C66 ID$.
$7ecuting 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&2or*s an* I*entifiers
9ules for I*entifiers.
<ariables
Difference bet2een (ariables an* constants5 rules.
Primar& *ata t&"es an* their memor&5 range.
=ualifiers! short5 long5 signe*5 unsigne* an* their effects.
Declaration of a (ariable 2ith its t&"e an* its effect5
1
Document-2 format prepared by: Management Representative age ! of " #ormat approved by: $hairman% &'( $ommittee% DD&T
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 e7tern5 register5 static
Declaring a (ariable as (olatile
O(erflo2 an* un*erflo2 of *ata
1
0 O"erators an* $7"ression
-rithmetic O"erators
9elational O"erators
>ogical O"erators
-ssignment O"erators
Increment an* Decrement O"erators
Con*itional O"erator 2ith e7am"le "rogram of fin*ing
ma7imum of t2o numbers.
#it 2ise o"erators
S"ecial O"erators! comma o"erator an* si?eof o"erator
-rithmetic $7"ressions
$(aluation of e7"ressions
Prece*ence of -rithmetic $7"ressions
T&"e Con(ersions in $7"ressions
O"erator "rece*ence an* associati(it&.
1
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 Islo2er5 Isal"ha5 etc categor& functions.
$7am"le!. Con(ert 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

A Decision ma+ing an* branching
Sim"le if statement
The If.else statement
Nesting of If.else statements
The else.If la**er
The s2itch statement
goto statement
$7ercises
1
1
1
B Decision ma+ing an* loo"ing
Intro*uction to loo"ing (ia flo2chart an* goto
@hile statement
The DO.2hile
%or statement
Selecting a loo"
Change of flo2 in >oo"s 2ith use of brea+ an*'or continue
-(oi*ing goto
$7ercise 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&.
T2o Dimensional arra&s
Initialisation an* 4se of t2o.*imensional arra& 2ith matri7
arra&.
,ulti Dimensional -rra&s an* D&namic -rra&s o(er(ie2
$7ercises
1
1
1
C 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
Declaring an* initiali?ation of string (ariables
-rithmetic o"erations on characters
Putting string Together
Com"arison of T2o Strings
String han*ling functions
1
D 4ser.Define* %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 2ith 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
-rra&s of Structures
-rra&s 2ithin structures
Structures 2ithin 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 $7"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
#. Details of #oo+s'Eournals
Title Publisher -uthor of the #oo+
Te7t #oo+ Programming in
-NSI C
T,) $.#alagurusam&
9eference #oo+s 1 Programming in C ;erninghan an*
9itchie.
2 >et 4s C Fash2ant ;anit+ar

C. Details of Pro"ose* Change ' ,o*ification'Inclusion' $7clusion of Subject.
Sr.
No
To"ic to be
Inclu*e* To"ic to be $7clu*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
Name! Prof. )ar*i+ ). ,aheta Designation! -sst. Prof Signature! Date!/2./A.11
9emar+s of )OD! Signature of )OD! Date! /0./A.11
No 9emar+s
Document-2 format prepared by: Management Representative age " of " #ormat approved by: $hairman% &'( $ommittee% DD&T

You might also like