10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
CONT_25CAH-101 :: COMPUTER PROGRAMMING
Course Syllabus Course Overview
and Suggestive Course Syllabus and Suggestive Readings
Readings
Mark as done
(Introduction to C Programming Language) Lecture Hours:30
Unit-1
IntroductionBasic block diagram, Algorithm and flowcharts Introduction to
programming languages, Features of C language, Applications of C
language, Structure of C Program (comments, header files, input output
functions). C Tokens: keywords identifiers, constants and variables,
data types, operators, Types of operator, expressions, evaluation of
expressions, type conversion.
[Link] 1/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Experiment a. Write a program that reads two and swap these numbers without
1.1 using third variable.
b. Write a program to take two numbers of int data type, two numbers
of float data type as input and output their sum:
eclare variables: two of type int and two of type float.
ead lines of input from stdin (according to the sequence given in the
'Input Format' section below) and initialize your variables.
se the and operator to perform the following operations:
Print the sum and difference of two int variable on a new line.
Print the sum and difference of two float variable rounded to one
decimal place on a new line.
Input Format
The first line contains two integers.
The second line contains two floating point numbers.
Output Format
Print the sum and difference of both integers separated by a space on
the first line, and the sum and difference of both float (scaled to
decimal place) separated by a space on the second line.
Decision Decision making statements, nesting of decision control structures,
break, go to statement.
making
statements
[Link] 2/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Experiment Write a program to find the AND, OR and XOR bitwise operations on
1.2 two integer numbers and find the smallest result obtained from these
three operations.
Write a calculator program to perform different operations using
airthmatics, relational, logical, operators by switch statement.
Unit-2 (Loop and Array in C) Lecture Hours:30
Looping Looping statements (for, while, do while), nested loop.
statements
Experiment Write a program to find Armstrong numbers between 1 to 10000.
2.1
Write a program to draw the following pattern using stars
Array Concepts of array, one-dimensional array and two-dimensional arrays,
declaration and initialization of arrays, string handling, string storage.
Concepts of array, one-dimensional array and two- dimensional arrays,
declaration and initialization of arrays.
Experiment Write a program to perform various matrix operations Addition,
2.2 Subtraction, Multiplication, and Transpose using switch-case statement.
[Link] 3/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Functions Concepts of library functions, user defined functions, prototypes,
definition of function, parameters types, parameter passing, calling a
function, recursive functions. String Handling: String I/O, Built-in-string
functions and operations on Strings.
Unit-3 (Pointer and Storage Classes) Lecture Hours:30
Pointers and Basics of pointers, pointer to pointer, pointer and array, pointer to
DMA array, array of pointers.
Introduction to Dynamic memory allocation, malloc, calloc, Auto,
Extern, Register and Staticand their scope, storage and Lifetime
Experiment 1. Write a program to merge the elements of two arrays using pointers
3.1 excluding duplicates.
2. Write a program using pointer to concatenate two strings.
Experiment 1Define a structure called cricket that will describe the following
3.2 information:
a. Player name
b. Team name c. Batting average
[Link] a program to store a character string in block of memory space
created by malloc () and then modify the same to store a large string
Structures Basics of structures, structure members, accessing structure members,
and unions structure members initialization, nested structures, array of structures,
structure and functions, Union definition, difference between structure
and union
[Link] 4/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
File File handling: read, write operations on files, types of files, functions of
Handling files.
[Link] 5/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
[Link] 6/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Self-study topics for Advance learners: Precedence and associatively of operators,
Working of continue statement with flow chart, Use of break and continue in looping
statement, string storage, Nested function, Functions returning a pointer, structures
and pointers, Deallocation of memory.
a. PROJECT BASED LEARNING COMPONENTS
[Mention at least 5-10 Default Course Projects / Case Studies / Field Projects]
1. Simple Calculator: Create a command-line calculator that can perform basic
arithmetic operations like addition, subtraction, multiplication, and division.
2. Temperature Converter: Build a program that converts temperatures between
Celsius and Fahrenheit scales.
3. Guess the Number Game: Implement a simple number guessing game where
the computer generates a random number, and the player tries to guess it within a
certain number of attempts.
4. Simple To-Do List: Develop a console-based to-do list manager where users can
add tasks, mark them as completed, and remove them.
5. Student Grade Calculator: Create a program that calculates the average grade
of a student based on their scores in different subjects
b. Textbooks / Reference Books
TEXTBOOKS
1. Balagurusamy, Programming in ANSI C.
[Link] 7/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Author: E. Balagurusamy
Edition: 8th Edition
Publisher: McGraw Hill Education
Year: 2019
ISBN: 9789353162346
2. Kanetkar, Y., Let us C.
Author: Yashavant Kanetkar
Edition: 18th Edition (or latest available)
Publisher: BPB Publications
Year: 2023
ISBN: 9789355512491
REFERENCE BOOKS
1. Gottfried, Programming with C, McGraw Hill.
c. Assessment Pattern - Internal and External
The performance of students is evaluated as follows:
Theory Practical
[Link] 8/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
ComponentsInternal Mid Term End Term Continuous Mid Term End Term
Assessment Assessment Assessment Assessment Assessment Assessm
Marks 20 20 60 40 20 40
Total Marks
200
Internal Evaluation Components
Final
Weig
Direct htage Mappin
Evaluat in g with
ion Instru Weightage Frequency BT CO SIs Mappin Remarks
Inter
ments of actual of Task g with raded/Non-
Sr nal Levels Mapp (ABET)
conduct PIs Graded)
No Asses ing
sment
1 ASSIGN 10 marks One per 4 Graded
for each unit
MENT/S assignment
TP
2 Exam 20 marks 2 per 20 Graded
for one semester
MST
[Link] 9/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
3 Quiz/Test 4 marks for 1 per sem 2 Graded
each quiz
4. Surprise 12 marks 1 per sem 2 Graded
test for each
test
Homewor One per Non-
k lecture Graded
5 NA topic NA
(of 2
questions)
6 PBL/Case 10 once 10 Graded
study
7 Discussio NA One per NA Non-
n Forum unit Graded
8 Presentati NA NA NA Non-
on Graded
9 Attendanc NA NA 2 Graded
e
10 Practical 30 marks 2 45 Graded
Workshee for each Experiment
t per unit
11 Project 5 One per 5 Graded
Semester
[Link] 10/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
12 Lab MST 10 Marks One per 10 Graded
Semester
CO-PO Mapping:
Course PO1PO2 PO3 PO4PO5PO6 PO7 PO8PO9 PO10PO11PO12 PSO1 PSO
Outcome 2
CO1 3 1 2 - - - - - - - - - 2 -
CO2 2 3 2 - 2 - - - - - - - 3 2
CO3 2 3 3 3 2 - - - - - - - 2 -
CO4 2 2 3 3 1 - - - - - - - - 3
CO5 2 3 3 2 - - - - - - - - 1
Last modified: Friday, 23 May 2025, 11:47 AM
Previous
Next activity
activity
[Link] 11/12
10/16/25, 11:02 AM CONT_25CAH-101 :: COMPUTER PROGRAMMING: Course Syllabus and Suggestive Readings | CU-LMS
Course Jump to... Netiquette
Information Guidelines
Contact us You are logged in as
Robinpreet Singh Boparai .
(Log out)
Follow us
[Link] 12/12