L T P C
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, Structure of C Program – C Programming: Data Types, Constants, Variables,
Reserved words, Arithmetic, Relational, Logical, Bitwise, Assignment, Conditional operators,
Input / Output Functions, Built-in Functions- Control Structures:if,if-else,nestedif,switch-
case,while,do-while,for,nestedloops, Jump statements.
Arrays & Strings:
One-dimensional and Multi-dimensional Arrays, Array operations and traversals, String
Handling: String declaration, input/output, string library functions.
Functions & Pointers
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. Pointers-Pointer arithmetic, Pointers and Arrays, Pointers to
function, Dynamic memory allocation.
Structures & Unions:
Defining and using structures, Array of structures, Pointers to structures, Unions and their uses,
Enumerations.
File Operations:
Open, read, write, close file operations, Binary vs Text files, File pointers, Error handling in file
operations.
References:
1. Thareja,R.(2021).[Link].
2. Balagurusamy,E.(2019).[Link].
3. Kanetkar,Y.(2020).[Link].
4. Kalicharan,N.(2022).LearntoprogramwithC:Anintroductiontoprogrammingusing the C
language. Apress.
5. Forouzan,B.A.,&Afyouni,H.(2023).Computerscience:Astructuredprogramming approach in
C. Cengage.
1. Create Problem Analysis Charts, Flowcharts and Pseudocode for simple
C programs (Minimum three).
2. Usage of conditional logics in programs.(Minimum three)
3. Usage of functions in programs.(Minimum three)
4 .Programs using pointers, dynamic memory, pointer arithmetic, string
manipulations, array operations. (Minimum three)
5. Program to uses tructures and unions
6. Programs reading/ writing data in text and binary files (Minimum three).