0% found this document useful (0 votes)
192 views1 page

B.tech Lab External QP-PPSC ECE

The document outlines a lab exam for an ECE programming course at Aditya College of Engineering & Technology. The exam contains 20 programming problems to be solved in C, covering topics like calculating the area and perimeter of shapes, appending to text files, sorting arrays, finding largest/smallest elements, working with strings, pointers, structures, and dynamic memory allocation. It provides the course name, date, duration, and examiners for the B.Tech 1st year 1st semester Programming for Problem Solving using C lab external examination.

Uploaded by

seravanakumar
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)
192 views1 page

B.tech Lab External QP-PPSC ECE

The document outlines a lab exam for an ECE programming course at Aditya College of Engineering & Technology. The exam contains 20 programming problems to be solved in C, covering topics like calculating the area and perimeter of shapes, appending to text files, sorting arrays, finding largest/smallest elements, working with strings, pointers, structures, and dynamic memory allocation. It provides the course name, date, duration, and examiners for the B.Tech 1st year 1st semester Programming for Problem Solving using C lab external examination.

Uploaded by

seravanakumar
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/ 1

ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY

Permanently affiliated to JNTUK,Kakinada ¨ Appoved by AICTE, NewDelhi ¨Accredited by NAAC


Recognized by UGC under section 2(f) and 12(B) of the UGC Act 1956
Aditya Nagar, ADB Road , Surampalem -533437, E.G.Dt.,Ph:99591 76665

DEPARTMENT OF HUMANITIES AND BASE SCIENCES

B.TECH I-YEAR I-SEM LAB EXTERNAL EXAMINATION

Duration: 3HRS Date:04-02-2020

BRANCH: ECE Marks: 30


SUBJECT: Programming for Problem Solving using C Lab Regulation: R19

1. Write a C program to compute the perimeter and area of a rectangle


2. Write a program in C to append multiple lines at the end of a text file.
3. Write a C program to calculate the distance between the two points
4. Write a program in C to get the largest element of an array using the function.
5. Write a program in C which is a Menu-Driven Program to compute the area of the various
geometrical shape
6. Write a program in C to add two numbers using pointers
7. Write a C program to calculate the factorial of a given number.
8. Write a program in C to check whether a number is a prime number or not using the function.
9. Write a program in C to display the n terms of harmonic series and their sum. 1 + 1/2 + 1/3 + 1/4
+ 1/5 ... 1/n terms
10. Write a program in C to swap elements using call by reference
11. Write a program in C to sort elements of array in ascending order.
12. Write a program in C to convert decimal number to binary number using the function
13. Write a program in C to find transpose of a given matrix.
14. Write a C program to find sum of n elements entered by user. To perform this program, allocate
memory dynamically using malloc( ) function.
15. Write a program in C to print individual characters of string in reverse order.
16. Write a program in C to count the number of vowels and consonants in a string using a pointer
17. Write a program in C to copy one string to another string.
18. Write a program in C to find the largest element using Dynamic Memory Allocation
19. Write a C program to check whether a given number is an Armstrong number or not.
20. Write a C Program to Store Information Using Structures with Dynamically Memory Allocation

External Examiner Internal Examiner

You might also like