Course Content & Planning
SEMESTER – I
BESCK104E/
Course Name : Introduction to C Programming Course Code :
204E
Number of Lecture Hours
: 02 CIE Marks : 50
/ Week
Number of Tutorial /
: 02 SEE Marks : 50
Practical Hours / Week
Total Number of Lecture
+ Tutorial/Practical : 25+15=40 SEE Duration : 03 Hours
Hours
L:T:P : 2:0:2 CREDITS : 03
COURSE PREREQUISITES:
Basic knowledge of working with commands, logical thinking and problem-solving skills are required to learn
the course.
COURSE OVERVIEW
Problem solving through programming tools is essential skill for software development which requires
understanding the fundamental concepts of programming language. The course introduces the theory and
practice of programming in C to solve basic problems. It imparts problem-solving techniques and effective
strategies for program design and implementation.
COURSE LEARNING OBJECTIVES (CLO)
● Understand basic programming concepts
● Provide knowledge for problem solving through programming
● Provide hands-on experience with the concepts
● Familiarize the process of debugging and execution
● Illustrate solutions to the given problem using C
TEACHING
MODULES
HOURS
MODULE 1
Introduction to C: Algorithms, flowcharts, pseudocodes, structure of a C program, writing
the first C program, keywords, identifiers, basic datatypes, variables, operators and
5
expressions.
Self-Study Components: Type conversion and type casting.
Textbook: Chapter 8.4.1-8.4.3, 9.2,9.3, 9.9-9.12, 9.15-9.16.
MODULE 2 5
Decision control and Looping statements: Introduction to decision control, Conditional
branching statements: if, if-else, if-else-if, switch case, iterative statements: for, while, do-
while statements, nested loops.
Self-Study Components: Break and continue statements
Textbook: Chapter 10.1-10.5.
MODULE 3
Arrays: Declaration of arrays, accessing the elements of an array, storing values in arrays,
Operations on arrays, Two dimensional arrays, operations on two-dimensional arrays, 5
applications of arrays.
Self-Study Components: Multidimensional Arrays.
Textbook: Chapter 12.2-12.5, 12.7-12.8, 12.10, 12.12.
MODULE 4: Functions and Pointers
Functions: Introduction using functions, Function definition, function declaration, function
call, return statement, passing parameters to functions.
Pointers: Understanding the Computer's Memory, Introduction to Pointers, Declaring 5
Pointer Variables.
Self-Study Components: Scope of variables
Textbook: Chapter 11.1-11.8, 14.1-14.3.
MODULE 5
Strings: Introduction, suppressing input, string taxonomy, operations on strings,
miscellaneous string and character functions. 5
Structures: Introduction to structures.
Self-Study Components: Arrays of strings.
Textbook: Chapter 13.1-13.6, 15.1
15
PRACTICAL MODULE
A-Demonstration
A1. Write a C Program to find Mechanical Energy of a particle using E = mgh+1/2 mv2.
(Module1)
A2. Write a C Program to convert Kilometers into Meters and Centimeters. (Module1)
A3. Write a C program to find the greatest of 3 numbers. (Module2)
B-Exercise
B1. Write a C program to count the number of lines, words and characters in a given text.
(Module2)
B2. Implement a C program to find the transpose of 2X2 matrix. (Module3)
B3. Develop a program using pointers to compute the sum, mean and standard deviation of all
elements stored in an array of N real numbers. (Module3)
C-Structured Inquiry
C1. Design a C program to calculate the sum of array elements using pointers. (Module4)
C2. Write functions to implement string operations such as compare, concatenate, string length.
Convince the parameter passing techniques. (Module4)
C3. Implement structures to read, write and compute average-marks and the students scoring
above and below the average marks for a class of N students. (Module5)
C4. Develop a C program to find the reversal of a string. (Module5)
D-Open Ended Experiments
D1. Develop a program to balance the given Chemical Equation values x, y, p, q of a simple
chemical equation of the type: The task is to find the values of constants b1, b2, b3 such that the
equation is balanced on both sides, and it must be the reduced form.
D2. Compute sin(x)/cos(x) using Taylor series approximation. Compare you result with the built-
in library function. Print both the results with appropriate inferences.
Textbooks
1. Reema Thareja, Computer Fundamentals and Programming in C, 2nd edition, Oxford University Press,
2016.
Reference Books
1. Brian Kernighan and Dennis Ritchie, The C Programming Language, 2nd edition, Prentice Hall, 2012.
2. Yashavant P. Kanetkar, Let Us C, 16th edition, BPB Publications, 2017.
COURSE OUTCOMES (COs)
At the end of the course students will be able to
CO1 Explain the basic concepts of programming in C
CO2 Apply concepts of procedure-oriented programming to solve a given problem
CO3 Explore data structures like arrays and structures in implementing solutions.
CO4 Design and develop modularized solution for given requirements
CO5 Explore the concepts of C programming using Infosys Springboard platform – Additional CO
CO – PO Matrix
PO
CO
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 2
CO2 1 3
CO3 1 2
CO4 2
CO5 2
CO 1.5 2 2 2