L T P C
CS25C01 Computer Programming: C
2 0 2 3
Course Objectives:
● To equip engineering students with the foundational knowledge and practical
skills in ‘C’ programming to analyse and solve computational problems
effectively.
● To foster problem-solving, critical thinking, and modular programming skills
essential for engineering domains.
Introduction to C: Problem Solving, Problem Analysis Chart, Developing an
Algorithm, Flowchart and Pseudocode, program structure, Compilation &
Execution process, Interactive and Script mode, Comments, Indentation, Error
messages, Primitive data types, Constants, Variables, Reserved words,
Arithmetic, Relational, Logical, Bitwise, Assignment, Conditional operators,
Input/Output Functions, Built-in Functions.
Practical: Create Problem Analysis Charts, Flowcharts and Pseudocode for
simple C programs (Minimum three).
Control Structures: if, if-else, nested if, switch-case, while, do-while, for, nested
loops, Jump statements.
Practical: Usage of conditional logics in programs. (Minimum three)
Functions: Function Declaration, Definition and Calling, Function Parameters and
Return Types, Call by Value and Call by Reference, Recursive Functions, Scope
and Lifetime of Variables, Header files and Modular Programming.
Practical: Usage of functions in programs. (Minimum three)
Strings & Pointers: One-dimensional and Multi-dimensional Arrays, Array
operations and traversals, String Handling: String declaration, input/output, string
library functions, Pointer arithmetic, Pointers and Arrays, Pointers to function,
Dynamic memory allocation.
Practical: Programs using pointers, dynamic memory, pointer arithmetic, string
manipulations, array operations. (Minimum three)
Structures & Unions: Defining and using structures, Array of structures,
Pointers to structures, Unions and their uses, Enumerations.
Practical: Program to use structures and unions
File Operations: Open, read, write, close file operations, Binary vs Text files, File
pointers, Error handling in file operations.
Practical: Programs reading/writing data in text and binary files (Minimum three).
Standard Libraries & Header Files: Using standard libraries like stdio.h,
stdlib.h, string.h, math.h, Creating and using user-defined header files and
libraries.
Page 18 of 53
Practical: Use of standard and user-defined libraries in solving problems.
(Minimum three), Project (Minimum Two)
Weightage: Continuous Assessment: 50%, End Semester Examinations: 50%
Assessment Methodology: Quiz (5%), Project (15%), Assignment Programs
(25%), Practical (25%), Internal Examinations (30%)
References:
1. Thareja, R. (2021). Programming in C . Oxford University Press.
2. Balagurusamy, E. (2019). Programming in ANSI C. McGraw Hill Education.
3. Kanetkar, Y. (2020). Let us C. BPB Publications.
4. Kalicharan, N. (2022). Learn to program with C: An introduction to programming
using the C language. Apress.
5. Forouzan, B. A., & Afyouni, H. (2023). Computer science: A structured
programming approach in C. Cengage.
E-resources:
1. Learn-C.org - https://www.learn-c.org/
2. GeeksforGeeks - C Programming - https://www.geeksforgeeks.org/c-
programming-language/
3. GNU C Library Documentation - https://www.gnu.org/software/libc/manual/
4. “Introduction to C Programming”, Swayam MOOC Course,
https://onlinecourses.swayam2.ac.in/imb25_mg71/
Description of CO PO PSO1 PSO2 PSO3
Explain the potential usage of ‘C’ in ---
CO1
engineering applications
To apply the concepts of ‘C’ in solving
PO1 (2)
CO2 engineering problems and formulate new
PO5 (2)
projects.
PO2 (3)
To interpret the data and effectively
CO3 PO8 (1)
communicate in groups.
PO9 (1)
Adapt new programming concepts and
CO4 PO11 (1)
technologies in the profession.
Page 19 of 53