Program : Diploma in Computer Engineering / Computer Hardware Engineering
Course Code : 3132 Course Title: Programming in C
Semester :3 Credits: 3
Course Category: Program Core
Periods per week: 3 (L:3 T:0 P:0) Periods per semester: 45
Course Objectives:
● Provide a thorough knowledge in Programming using C Language.
● Develop programming skills using arrays, pointers, structures and files to solve real
world problems.
● Build the necessary foundation for system programming and other advanced
programming courses.
Course Prerequisites:
Course
Topic Course name Semester
code
Basic knowledge on problem solving and Problem Solving and
2
programming concepts. Programming
Course Outcomes:
On completion of the course student will be able to:
Duration Cognitive
COn Description
(Hours) Level
Make use of the basic programming concepts –
CO1 sequential, conditional, looping structures and 11 Applying
functions in C.
Make use of the concept of arrays to solve real world
CO2 11 Applying
problems.
Develop programs using Pointers to solve problems
CO3 10 Applying
more efficiently.
Construct user defined data types using structure,
CO4 11 Applying
union and files.
Series Test 2
CO – PO Mapping:
Course
PO 1 PO 2 PO 3 PO 4 PO 5 PO 6 PO 7
Outcomes
CO1 3
CO2 3
CO3 3
CO4 3
3-Strongly mapped, 2-Moderately mapped, 1-Weakly mapped
Course Outline
Duration Cognitive
Description
(Hours) Level
Make use of the basic programming concepts – sequential, conditional,
CO1
unconditional, looping structures and functions in C.
Summarize the basic programming concepts in C –
M1.01 sequential, conditional, unconditional and control 2 Understanding.
structures in C
M1.02 Explain the concept of preprocessing 1 Understanding
Summarize the concepts of modular programming
M1.03 1 Understanding
concepts in C
M1.04 Develop programs using functions 1 Applying
Explain Storage class, Lifetime and Visibility of
M1.05 1 Understanding.
Variables
Develop programs using the concepts of storage class
M1.06 2 Applying
and scope rules
M1.07 Illustrate the recursion with examples 1 Understanding.
M1.08 Develop programs using recursion. 2 Applying.
Contents:
Recall basic programming concepts – C program structure, selection structure and
repetition structures.
Function – Declarations, prototype, definition, function call, storage class, lifetime and
visibility of variables.
Preprocessor – file inclusion – macro substitution
Recursion – Recursive definition of a problem, Implementation of programs using recursion.
CO2: Make use of the concept of arrays to solve real world problems.
Summarize the definition, initialization and accessing
M2.01 1 Understanding.
of single and multi dimensional arrays.
Develop programs using single and multidimensional
M2.02 1 Applying
arrays
Illustrate the concept of divide and conquer method in
M2.03 1 Understanding.
solving problems.
Develop C programs to implement searching (linear
M2.04 search and binary search) and sorting (selection sort 2 Applying.
and quicksort) algorithms.
M2.05 Explain the representation of strings in C 1 Understanding.
Develop C programs to perform different operations
M2.06 3 Applying
on strings
M2.07 Illustrate passing arrays as parameters to a function 2
Understanding.
Series Test – I 1
Contents:
Arrays – definition, initialization and processing of arrays – Searching algorithms – Linear
search, Binary Search, Sorting algorithms – Selection sort, Quick sort,Passing arrays to
functions - Strings – Representation of strings in C – String input and output - String
processing – copy, concentrate, length,comparison, pattern searching etc - builtin String
functions – Implementation of string functions.
CO3: Develop programs using Pointers to solve problems more efficiently.
Explain the concept of pointers and operations on
M3.01 2 Understanding
pointers with examples
Illustrate the advantage of passing pointers to
M3.02 1 Understanding
functions
M3.03 Explain dynamic memory allocation concepts in C 1 Understanding
M3.04 Explain the relationship of arrays and pointers 2 Understanding
Develop programs for single and multi-dimensional
M3.05 4 Applying
arrays using pointers.
Contents:Pointers – Fundamentals – declaration, Initialization, accessing of pointer
variables -Pointer arithmetic – Passing pointers to Functions – dynamic memory allocation
- Arrays and Pointers - Strings and Pointers – Array of Pointers.
CO4: Construct user defined data types using structure, union and files.
Explain the definition, declaration and processing of
M4.01 1 Understanding
structure data type
M4.02 Develop programs using structure to solve problems 2 Applying
M4.03 Illustrate the array of structure with examples 1 Understanding
Illustrate passing of structure as parameters to a
M4.04 1 Understanding
function.
M4.05 Utilize pointers to process structure data type. 1 Applying
M4.06 Explain features of union data type, enumerations 1 Understanding
Illustratethe use of file as data storage, input and
M4.07 3 Understanding.
output to programs.
M4.08 Illustrate command line arguments 1 Understanding
Series Test – II 1
Contents:
Structure – declaration, definition and initialization of structure variables, Accessing of
structure elements – Array of structure – Structure and Pointer – Structure and Function –
Union - enumerations.
File – Defining, opening, closing a file - input and output operations on sequential files -
Command Line arguments.
Text / Reference
T/R Book Title/Author
T1 Balagurusamy E, Programming in ANSI C 7th Ed.
R1 YashavantKanetkar, Let Us C
R2 Paul J. Deitel, HarveyDeitel, C How to Program
R3 Brian W. Kernighan, Dennis M. Ritchie, C Programming Language, 2nd Edition
2nd Ed.
R4 Herbert Schild, C: The Complete Reference
R5 Byron Gottfried -Schaum's Outline Of Programming With C
Online Resources
Sl.No Website Link
1 https://nptel.ac.in/courses/106104128/
2 https://www.programiz.com/c-programming
3 https://www.tutorialspoint.com/cprogramming/index.htm