INTRODUCTION TO C PROGRAMMING
Course Code 1BPLC205E/105E
Semester I/II
CIE Marks 50
Teaching Hours/Week (L:T:P: S) 3:02:0
SEE Marks 50
Total Hours of Pedagogy (Theory and Lab hours) 40 + 24 (Practical)
Total Marks 100
Credits 4
Exam Hours 3
Examination type (SEE) Theory
Module-1
Flowchart and Algorithms: Art of Programming through Algorithms & Flowcharts.
Overview of C: History of C, Importance of C, Basic Structure of C Programs, Programming Style, Compiling
and Executing a ‘C’ Program.
Constants, Variables and Data Types: Character Set, C Tokens, Keywords and Identifiers, Constants,
Variables, Data Types, Declaration of Variables, Assigning Values to Variables, Defining Symbolic Constants,
Declaring a Variables as Constants and Volatile, Input/Output Statements in C.
Textbook: Chapter 1. 6, 2.1, 2.2, 2.8, 2.9, 2.10, Chapter 3.2 to 3.14, Chapter 5.1 to 5.5
Number of Hours: 8
Module-2
Operators: Introduction to Operators, Arithmetic Operators, Relational Operators, Logical Operators,
Assignment Operators, Increment and Decrement Operators, Conditional Operators, Precedence of
Arithmetic Operators.
Decision Making, Branching, Looping: Introduction, Decision Making with IF Statement, Simple IF
Statement, The IF..ELSE Statement, Nesting of IF..ELSE Statements, The ELSE IF Ladder, The Switch
Statement, The ?: Operator, The GOTO Statement, WHILE, DO, FOR, Jumps in LOOPS.
Textbook: Chapter 4.1 to 4.7, 4.12, Chapter 6.1 to 6.9, Chapter 7.1 to 7.5
Number of Hours: 8
Module-3
Arrays and Strings: Introduction, Declaration and Initialization of One-dimensional and Two-Dimensional
Arrays, Declaring and Initializing String Variables, Example programs using arrays ,Reading Strings from
Terminal, Writing Strings to Screen, Arithmetic Operations on Characters, Comparison of Two Strings,
String-handling Functions.
Textbook: Chapter 8.1 to 8.6, Chapter 9.2 to 9.5, 9.7, 9.8 Number of Hours: 8
Module-4
User-defined Functions: Introduction, Need for User-defined Functions, A Multi-functional Program,
Elements of User-defined Functions, Definition of Function, Return Values and their Types, Function Calls,
Function Declaration, No Arguments and no Return Values, Arguments but no Return Values, Nesting of Functions.
Textbook: Chapter 10.1 to 10.8, 10.10 to 10.14
Number of Hours:8
Module-5
Structures and Pointers: Introduction, Defining a Structure, Declaring and Accessing Structure Variables and
Members, Structure Initialization, Copying and Comparing Structure Variables, Array of Structures, Arrays
within Structures.
Pointers: Introduction, Understanding Pointers, Accessing the Address of Variable, Declaring pointer
variables, initialization of pointers, accessing variables through its pointer.
Textbook: Chapter 11.1 to 11.6, 11.8, 11.19, Chapter 12.1 to 12.6
Number of Hours:8
PRACTICAL COMPONENT OF IPCC
1. Develop a program to calculate the temperature converter from degree to Fahrenheit.
2. Develop a program to find the roots of quadratic equations.
3. Develop a program to find whether a given number is prime or not.
4. Develop a program to find key elements in an array using linear search.
5. Given age and gender of a person, develop a program to categorise senior citizen (male & female).
6. Generate Floyd’s triangle for given rows.
7. Develop a program to find the transpose of a matrix.
8. Develop a program to concatenate two strings, find length of a string and copy one string to other
using string operations.
9. Develop a modular program to find GCD and LCM of given numbers.
10. Develop a program to declare the structure of employees and display the employee records with
higher salary among two employees.
11. Develop a program to add two numbers using the pointers to the variables.
12. Develop a program to find the sum of digits of a given number.
13. Develop a program to perform Matrix Multiplication.
14. Develop a program to create an array of structures to store book details and check whether a specific
book, as requested by the user, is available or not.
Suggested Learning Resources:
Textbooks:
1. Programming in ANSI C, 9e, E Balaguruswamy, Tata McGraw Hill Education.
Reference books / Manuals:
1. PROGRAMMING IN C, Reema Thareja, Oxford University, Third Edition, 2023.
2. The ‘C’ Programming Language, Brian W. Kernighan and Dennis M. Ritchie, Second Edition, Prentice
Hall of India, 2015


0 Comments