Professional Documents
Culture Documents
PIC Lab Index
PIC Lab Index
DEPARTMENT VISION
To produce demand driven, quality conscious and globally recognized computer
professionals, by providing education of highest standard in diverse domains.
DEPARTMENT MISSION
✓ To impart high quality professional training in postgraduate and undergraduate
level.
✓ To bring out the inherent talents by promoting collaborative activities.
✓ To inculcate ethical values and the spirit of entrepreneurship.
TOTAL : 60 PERIODS
COURSE OUTCOMES: On Successful completion of the course, students will be able to:
CO202.1: Construct programs on fundamentals of C language
CO202.2: Develop C programs using basic constructs, arrays and strings
CO202.3 Design programs in C to access functions and pointers.
CO202.4 Implement the concept of Structures.
CO202.5 Apply various file handling techniques in C
INDEX
TABLE OF CONTENTS
PAGE
EX.NO EXPERIMENT NAME
NO
Program using Control Statement
(a). Prime number. 1
1.
(b). Generation of numbers not divisible by 2, 3 and 5. 3
(c). Leap Year. 4
Program to Perform Matrix Operations
(a). Matrix addition of two numbers. 5
2.
(b). Matrix Subtraction. 7
(c). Matrix Multiplication. 12
Program for Sorting and Searching using Array
(a). Sorting an array of n data using bubble sort. 14
3.
(b).Minimum and Maximum Number using Linear Search. 16
Implement string manipulation functions.
(a).To find the length of a given string. 14
(b).To find the concatenate of a given string using string 17
4. Concatenation function.
(c).Copy the given string from one to another using string copy
18
function.
(d).Compare the given two string using string compare function. 19
Program For Functions
(a).Find factorial of a given number 20
5.
(b).Replacing all the word in a given string with another word 22
(c).Towers of Hanoi using Recursion. 24
Implement a C program for pass by value and pass by
reference.
6.
(a).Swap two numbers using call by reference 26
(b).Swap two numbers using call by value 28
Compute internal marks of students for five different subjects
7. 30
using structures and functions.
Program For Dynamic Memory Allocation
8. C program to input and print text using Dynamic Memory
33
Allocation.
Count the number of account holders whose balance is less than
9. 34
the minimum balance using sequential access file.
To perform insert, update, delete and append customer details in a 36
10.
banking system using random access file.