0% found this document useful (0 votes)
27 views2 pages

b.tech-cse internal lab

The document outlines the internal lab examination for the Computer Programming Lab at Hindu College of Engineering and Technology, scheduled for December 26, 2024. It includes a list of programming tasks that students must complete, focusing on various C programming concepts such as calculations, data structures, and algorithms. The exam is structured to assess students' understanding of programming through practical applications.

Uploaded by

pamidi.prameela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

b.tech-cse internal lab

The document outlines the internal lab examination for the Computer Programming Lab at Hindu College of Engineering and Technology, scheduled for December 26, 2024. It includes a list of programming tasks that students must complete, focusing on various C programming concepts such as calculations, data structures, and algorithms. The exam is structured to assess students' understanding of programming through practical applications.

Uploaded by

pamidi.prameela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HINDU COLLEGE OF ENGINEERING AND TECHNOLOGY

Amaravathi Road, GUNTUR-522002. (Andhra Pradesh)


(Approved by A.I.C.T.E., New Delhi and Affiliated to JNTUK, KAKINADA)
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

---------------------------------------------------------------------------------------------------------------
I B.Tech I Semester Regular Internal Lab Examination, December-2024
Lab Code:R231106L COMPUTER PROGRAMMING LAB Regulation: R23

TIME: 3 HOURS DATE: 26-12-2024 MAX MARKS:30 M


Answer the given question
All Questions Carry Equal Marks

1. Write a C program to find the sum and average of 3 numbers.


2. Write a C program for the conversion of Fahrenheit to Celsius and vice versa.
3. Write a C program to find the Simple interest.
4. Write a C program to find the square root of a given number.a
5. Write a C program to find the compound interest.
6. Write a C program to find the area of a triangle using heron’s formulae.
7. Write a C program to calculate the distance travelled by an object.
8. Write a C program to evaluate the following expressions
a. A+B*C+(D*E) + F*G
b. A/B*C-B+A*D/3
c. A+++B---A
d. J= (i++) + (++i)

9. Write a C program to find the maximum of three numbers using conditional


operator.
10. Write a C program to take marks of 5 subjects in integers, and find the total,
average in float.
11. Write a C program to find the max and min of four numbers using if-else.
12. Write a C program to generate electricity bill.
13. Write a C program to find the roots of the quadratic equation
14. Write a C program to simulate a calculator using switch case.
15. Write a C program to find the given year is a leap year or not.
16. Write a C program to find the sum of the series

Example series - 1 + 2 + 3 + 4 + .. N

PAGE \* MERGEFORMAT 2
17. Write a C program to find the factorial of given number using any loops.
18. Write a C program to find the given number is a prime or not.
19. Write a C program to compute sine series.
20. Write a C program to compute cos i.e. cosine series.
21. Write a C program to check a number is palindrome or not.
22. Write a C program to construct the following pyramids of numbers.

1 1 1
22 12 2 2
333 123 333
4444 1234 4444
5555 12345 55555

23. Write a C program to find the min and max of a 1-D integer array.
24. Write a C program to perform linear search on 1D array.
25. Write a C program to display the reverse of a 1D integer array.
26. Write a C program to find the addition of two matrices.
27. Write a C program to find the multiplication two matrices.
28. Write a C program to sort array elements using bubble sort.
29. Write a C program to concatenate two strings without built-in functions.
30. Write a C program to find the sum of a 1D array using malloc().

INTERNAL EXAMINER HEAD OF THE DEPARTMENT

PAGE \* MERGEFORMAT 2

You might also like