Silli Polytechnic
Programming In “C”
Contents: Theory
Chapter Contents Hours Marks
Basics of C
1.1 History of C, where C stands
1.2 C character set, tokens, constants, variables, keywords
01 1.3 C operators (arithmetic, Logical, assignment, relational, 10 18
increment and decrement, conditional, bit wise, special,
operator precedence), C expressions data types
1.4 Formatted input, formatted output.
Decision making
2.1 Decision making and branching
if statement (if, if-else, else-if ladder, nested if-else)
02 12 28
Switch case statement, break statement. (14M)
2.2 Decision making and looping while, do, do-while statements
for loop, continue statement (14M)
Arrays and Strings
3.1 Arrays
Declaration and initialization of one dimensional, two
03 dimensional and character arrays, accessing array elements. (10M) 14 18
3.2 Declaration and initialization of string variables, string handling
functions from standard library (strlen(), strcpy(), strcat(),
strcmp()). (08M)
Functions, Structures
4.1 Functions
Need of functions, scope and lifetime of variables, defining
functions, function call (call by value, call by reference), return
values, storage classes. category of function( No argument No
04 14 20
return value, No argument with return value, argument with
return value), recursion (12M)
4.2 Structures
Defining structure, declaring and accessing structure
members, initialization of structure, arrays of structure. (08M)
Pointers
5 Understanding pointers, declaring pointer variable, initialization
of pointer variable, accessing address of a variable, pointer
05 14 16
expressions, Pointers arithmetic, pointers and arrays, array of
pointers
Total 64 100
Practical:
Skills to be developed:
Intellectual skills:
• Use of programming language constructs in program implementation.
• apply different logics to solve given problem.
• write program using different implementations for the same problem
• Identify different types of errors as syntax semantic, fatal, linker & logical debugging of
programs.
• Understanding different steps to develop program such as
Motor skills:
• Proper handling of Computer
System. List of Practical:
Sr. NO. Title of Experiment
01 To understand concept of algorithm and flowchart in ‘C’ with sample example.
To understand formatted input and output statements in ‘C’ with sample
02
example.
03 To understand various operators in ‘C’ with sample example.
To understand decision control statements (if, if-else, nested if-else with
04
sample example for each type
05 To understand decision control statement switch control statement in ’C’.
06 To understand Loop control statements in ‘C’.
07 To understand single dimensional integer arrays in ‘C’.
08 To understand multiple dimensional integer arrays in ‘C’.
To understand string functions in ‘C’, by developing algorithm, flowchart &
09
writing program for string comparison, copying and concatenation.
To understand functions in ‘C’ by developing algorithm, flowchart & writing
10
program for finding factorial of a given no.
11 To understand concept of structure in ‘C’.
To understand pointers in ‘C’, by developing algorithm, flowchart & writing
12
program to print values of variables and their addresses and call by reference.
13 To understand array of pointers in ‘C’.
14 To understand command line arguments in ‘C’.