Mohamed Sathak A J College of Engineering, Chennai – 603103
(An Autonomous Institution)
BE / B.Tech End Semester Practical Examination, Dec – 2024
Duration: 3 hrs Max mark: 100
1. Writ a C program to find the Largest among three numbers
2. Write a C program to print day of the week by giving a integer using switch Statement
3. Write a C program to Check whether the given number is Armstrong or not.
4. Write a C program to find the Sum of squares of first n numbers.
5. Write a C program to Check the given number is prime or not.
6. Write a C program to print the Multiplication table
7. Write a C program to convert the Octal number to decimal number.
8. Write a C program to Calculate the sum and average of elements using one dimensional
array.
9. Write a C program to find the min and max values of the given set of numbers using one
dimensional array.
10. Write a C program to reverse the elements using one dimensional array.
11. Write a C program to arrange the given set of number by using Bubble sort using one
dimensional array.
12. Write a C program to find the given number from the list of elements by using Linear
Search using one dimensional array.
13. Write a C program to adding two matrices using two-dimensional array.
14. Write a C program to multiply two Matrix using two-dimensional array.
15. Write a C program to Swapping two integers using call by value and call by reference
using user-defined functions
16. Write a C program to Create a recursive function to calculate the factorial of a number
and for binary search using user-defined functions
17. Write a C program to Find length of a string using various character and string
operations with and without using built-in functions
18. Write a C program to using to check whether the given string is Palindrome or not
various character and string operations with and without using built-in functions
19. Write a C program to swap two numbers using pointers.
20. Write a C program to find the greatest and smallest among three numbers using pointer
function
21. Develop a C program to reverse the string using pointer function.
22. Develop a C program to illustrate the use of user – defined data types using structures
for employee payroll.
23. Develop a C program to illustrate the use of user – defined data types using structures
for student information systems
24. Write a C program to implement various file operations Copy the contents from one file
to another file
25. Write a C program to implement various file operations Merging two files
26. Write a C program to demonstrate the use of pre-processor directives and command line
arguments to Finding area of circle and area of a square using #define
27. Write a C program to demonstrate the use of pre-processor directives and command line
arguments for Simple arithmetic operations using #include.
28. Write a C programs to demonstrate the use of pre-processor directives and command
line arguments for that accepts two file names as command-line arguments and copy the contents
from one file to another file.
Internal Examiner External Examiner