B.Tech I Year II Semester (R20) Supplementary Examinations August-2023
PROGRAMMING FOR PROBLEM SOLVING USING C (20A54202)
(Common to ECE, EEE & CSE)
Time: 3 hours
Max. Marks: 70
--- Content provided by FirstRanker.com ---
Note: 1. Question Paper consists of two parts i.e., Part-A and Part-B.
2. Part-A contains all short answer questions from all the units.
3. Part-B contains all five questions as described in the syllabus, each question may have a, b, c sub-parts.
PART-A
5 * 2 = 10 Marks
-
- Define algorithm and flowchart.
- What are the different data types available in C?
- What is meant by function prototype?
- Define pointer. How can we declare a pointer?
- What are the different file operations?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART-B
5 * 12 = 60 Marks
-
a) Explain about the structure of C program with an example.
OR
b) Explain about different operators available in C.
-
a) Write a C program to check whether the given number is Armstrong or not.
OR
b) Write a C program to generate prime numbers between 1 to n.
-
a) Explain about call by value and call by reference with an example.
--- Content provided by FirstRanker.com ---
OR
b) Write a C program to find the factorial of a given number using recursion.
-
a) Explain the concept of structures. Write a C program to read and display the information of student details using structures.
OR
--- Content provided by FirstRanker.com ---
b) Explain dynamic memory allocation in detail.
-
a) Write a C program to copy the contents of one file to another.
OR
b) Explain different file handling functions in detail.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Visit FirstRanker.com for more question papers.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University