You are on page 1of 1

Core

Elective
Course Title
Course Code
Problem Solving Lab Core
Programming for
(Common to All Branches)
U21CS1LI
Credits
Contact Hours Per Week
Prerequisite CIE SEE
T D P
25 50 2
4

Course Objectives:
Language.
in C
To understand the fundamentals of programming
I.
in C.
2. To write, compile and debug programs
to problems and implement in C.
3. To formulate solution
4. To effectively choose programming
components solve computing problems
to

Course Outcomes:
students are able to:
On completion of this course,
in C language.
1. Choose appropriate data type for implementing programs
output operations, decision
2. Design and implement modular programs involving input
making and looping constructs.
3. Implement search and sort operations on arrays.
to develop modular reusable code
4. To decompose a problem into functions and
for implementing programs on dynamic memory|
5. Apply the concept of pointers
management and string handling.
in structures and files.
6. Design and implement programsto store data

List of experiments:
. Finding maximum and minimum of given set ofnumbers, finding roots of quadratic equation.
2. Sin x and Cos x values using series expansion.
hexadecimal and vice versa.
3. Conversion of binary to decimal, octal,
numbers.
4. Generating Pascal triangle, pyramid of
5. Recursion: factorial, Fibonacci, GCD.
6. Matrix addition and multiplication using arrays, linear search and binary search using
recursive and non-recursive procedures.
7. Bubble sort and selection sort.
functions.
8. Programs on pointers: pointer to arrays, pointer to
9. Functions for string manipulations.
10. Programs on structures and unions.
11. Finding the number of characters, words and lines of given text file.
12. File handling programs.

Suggested Reading:
1. Byron Gottfried, "Progranmming with C", Schaum's outlines, 2nd Edition, TATA MeGraw-Hill.
2. A.K.Sharma, "Computer Fundamentals and Programming in C", 2nd Edition, University Press.
3. E Balaguruswamy, "Programming in ANSI C", Tata McGraw-Hill Education, 2008.
4. Brian W. Kernighan and Dennis M. Ritchie, "the C Programming Language", Prentice Hall of
India, 1988.

WC
Pynd w

You might also like