I BCA I SEM - Programming With C - Syllabus
I BCA I SEM - Programming With C - Syllabus
Programming with C
Programming Lab
Part A:
1. Program to read radius of a circle and to find area and circumference
2. Program to read three numbers and find the biggest of three
3. Program to demonstrate library functions in math.h
4. Program to check for prime
5. Program to generate n primes
6. Program to read a number, find the sum of the digits, reverse the number and check
it for
palindrome
7. Program to read numbers from keyboard continuously till the user presses
999 and to find the sum of only positive numbers
8. Program to read percentage of marks and to display appropriate message
(Demonstration
of else-if ladder)
9. Program to find the roots of quadratic equation (demonstration of switch Case
statement)
10. Program to read marks scored by n students and find the average of marks
(Demonstration of single dimensional array)
11. Program to remove Duplicate Element in a single dimensional Array
12. Program to perform addition and subtraction of Matrices
Part B:
1. Program to find the length of a string without using built in function
2. Program to demonstrate string functions.
3. Program to demonstrate pointers in C
4. Program to check a number for prime by defining isprime( ) function
5. Program to read, display and to find the trace of a square matrix
6. Program to read, display and add two m x n matrices using functions
7. Program to read, display and multiply two matrices using functions – check for
compatability
8. Program to read a string and to find the number of alphabets, digits, vowels,
consonants,
spaces and special characters.
9. Program to Reverse a String using Pointer
10. Program to Swap Two Numbers using Pointers
11. Program to demonstrate student structure to read & display records of n students.
12. Program to demonstrate the difference between structure & union.
13. Files
Note: Student has to execute a minimum of 10 programs in each part to complete the
Lab course