Subject Subject Name L T P S Marks
Inst. Hours
Category
Code
Credits
External
Total
CIA
23BCE1P1 PROGRAMMING IN C Core
LAB Practical - - 3 - 3 4 25 75 100
-I
Course Objective
LO1 To familiarize the students with the Programming basics and the fundamentals of C,
Datatypes in C, Mathematical and logical operations.
LO2 To understand the concept using if statements and loops
LO3 This unit covers the concept of Arrays and Functions
LO4 This unit covers the concept of Structurs and unions and Preprocessors
LO5 To understand the concept of implementing pointers and files
List of Excercises
1. Write a C Program to find the sum of digits.
2. Write a C Program to check whether a given number is Armstrong or not.
3. Write a C Program to check whether a given number is Prime or not.
4. Write a C Program to generate the Fibonacci series.
5. Write a C Program to display the given number is Adam number or not.
Group A
6. Write a C Program to print reverse of the given number and string.
7. Write a C Program to find minimum and maximum of ‘n’ numbers using array.
8. Write a C Program to arrange the given number in ascending order.
9. Write a C Program to add and multiply two matrices.
10. Write a C Program to calculate NCR and NPR.
1. Write a C Program to find the grade of a student using else if ladder.
2. Write a C Program to implement the various string handling function.
3. Write a C Program to create an integer file and displaying the even numbers only.
4. Write a C Program to calculate quadratic equation using switch-case.
5. Write a C Program to count number of characters, words and lines in a text file.
6. Write a C Program to generate student mark list using array of structures.
Group B
7. Write a C Program to create and process the student mark list using file
8. Write a C Program to create and process pay bill using file
9. Write a C Program to create and process inventory control using file
10. Write a C Program to create and process electricity bill using file