0% found this document useful (0 votes)
8 views

PS Using C

?️Team Holograd is thrilled to unveil the revolutionary Holograd Infinity Learning Pass this Summer! This innovative membership promises to be a pivotal milestone in your career development journey. Unlock a Lifetime Membership with HoloGrad for just ₹749/- and gain unlimited access to all eight certified courses. Single courses are of ₹449/- This exclusive pass includes:Insightful JudgementalQuizzes,LiveDoubt-Solving Sessions,Immediate Solutions to Queries,Hands-On PracticalKnowledge Opportu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

PS Using C

?️Team Holograd is thrilled to unveil the revolutionary Holograd Infinity Learning Pass this Summer! This innovative membership promises to be a pivotal milestone in your career development journey. Unlock a Lifetime Membership with HoloGrad for just ₹749/- and gain unlimited access to all eight certified courses. Single courses are of ₹449/- This exclusive pass includes:Insightful JudgementalQuizzes,LiveDoubt-Solving Sessions,Immediate Solutions to Queries,Hands-On PracticalKnowledge Opportu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Code: CS20AES101 R 20

B.Tech I Year I Semester (R20) Regular Examinations August 2021


PROBLEM SOLVING USING C
(Common to AI&ML, CSE & IT)
Time: 3 hours. Max Marks: 60
PART-A
(Compulsory Question)
1. Answer the following 05x02=10 Marks
a) What is an algorithm? 2M
b) What are the uses of control structures? 2M
c) What are the uses of an Array? 2M
d) What is dynamic memory allocation? 2M
e) What is a Union? 2M
PART-B
Answer All five Units 05 x 10 = 50 Marks
UNIT-I
2. a) Define Flow Chart. Explain the use of flowchart to find biggest of three numbers. 5M
b) Give the basic structure of a C language program. 5M
OR
3. a) Write an algorithm to find sum of digit of a natural number. 5M
b) What is an operator? Explain the use of arithmetic and relational operators. 5M
UNIT-II
4. a) Write a C program to find biggest of three numbers. 5M
b) Give the syntax and semantics of for loop. 5M
OR
5. a) Write a C program to find sum of digits of a natural number. 5M
b) Give the syntax and semantics of switch statement. 5M
UNIT-III
6. a) Differentiate between a single-dimensional array and a two-dimensional array. 5M
b) Write a C Program to find maximum element of a list of numbers using a single 5M
dimensional array.
OR
7. a) What is a Function? What are the advantages of a Function? 5M
b) Write a C Program with a Function to find factorial of a number. 5M
UNIT-IV
8. a) What is a Pointer? What are the advantages of Pointers in C Language? 6M
b) Write a C Program with a function to swap two numbers. 4M
OR
9. a) What is a C String? Explain how a C string works. 5M
b) Write a C Program with a Function to copy a string to another string. 5M

Page 1 of 2
Code: CS20AES101 R 20

UNIT-V
10. a) What is a structure? Write its advantages. 4M
b) Write a C program to read employee details, in an office of 10 employees, along 6M
with their salary.
OR
11. Write a C Program to copy a File to another. 10 M

*****

Page 2 of 2

You might also like