We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
B.E / B.Tech.
PRACTICAL END SEMESTER EXAMINATIONS, APRIL/MAY 2022
Second Semester
CS3271 – PROGRAMMING IN C LABORATORY
(Regulations 2021)
Time : 3 Hours Answer any one Question Max. Marks 100
(To be filled by the question paper setter)
Aim & Procedure Program Output & Viva-Voce Record Total
Results 20 40 20 10 10 100
1. a. Write a C program to find the roots of the given quadratic equation
b. Write a C Program to find the area and circumference of a circle. 2. a. Write a C program to find total and average of a 5 students of marks, and also print the same. b. Write a C program to generate numbers between 20 and 100 which are divisible by 2 and not divisible by 3 and 5. 3. a. Write a C program to perform matrix Addition. 4. a. Write a C program to print all combinations of a 4-digit number. 5. a. Write a C program to form the following triangle. . * * * * * * * * * * b. Write a C program to Check whether the given number is odd or even. 6. a. Write a C program to print the 1 to n Fibonacci series. b. Write a C program to find the greatest of given 4 numbers. 7. a. Write a C program to find the square root of a given number. b. Write a C Program to find a give string is palindrome or not without using string built in function. 8. a. Write a C Program using function statement finds the area of square and cube. 9. Write a C Program for User defined function, find the given number is Armstrong Page 1 of 2 or not 10. a. Write a C program to swap two numbers without using third variable using function concept b. Write a C program to find the given 2020 year is leap year or not 11. a. Write a C program to find the transpose of a given matrix. 12. Write a C Program to execute the payroll application with the data given using Structure. HRA = 18% of basic pay, DA = 15% of basic pay, PF = 10% of basic pay, LIC = 7% of basic pay, Exclusion = PF LIC, Total Salary = Basic Pay (BASIC PAY) HRA DA Net Salary = Total Salary - Subtraction. 13. a. Write a C program to perform matrix multiplication. 14. a. Write a C program using switch statement to find the given number is zero or not or odd or even. 15. a. Write a C to print the reverse the given array numbers. b. Write a C program to determine biggest among two numbers using Conditional operator 16. a. Write a C Program to print the individual employee information using Nested structure. 17. Write a C program to perform file I/O operations. 18. Write a C program to generate student mark sheets with subject details and the grades using Structure. 19. Write a C Program to print all the calculator operations using switch statement. 20. Write a C program to create a structure called employee with name, employee id, name, age designation and salary as data members. Accept five employee details and display it.