This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem
Firstranker's choice
Code: 15A05101
Time: 3 hours
--- Content provided by FirstRanker.com ---
B.Tech I Year I Semester (R15) Supplementary Examinations June 2017
COMPUTER PROGRAMMING
(Common to CE, EEE, CSE, ECE, ME, EIE and IT)
PART - A
--- Content provided by FirstRanker.com ---
(Compulsory Question)
*****
- Answer the following: (10 X 02 = 20 Marks)
- Define computer hardware.
- List the data types and their sizes of C language.
- Give an example of iteration statements in C.
- Illustrate with an example, the declaration and initialization of an array.
- Discuss any two storage class specifiers.
- What are the problems with pointers?
- Illustrate the need of structures with an example.
- Differentiate between structure and union types.
- Write a sample C program to demonstrate the control string of scanf() function.
- Discuss the types of streams.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
--- Content provided by FirstRanker.com ---
UNIT - I
- (a) Write an algorithm to find the roots of a quadratic equation.
(b) List and explain the various symbols used in flowchart with figures.
OR
- (a) Write an algorithm to check the given number is perfect number or not.
--- Content provided by FirstRanker.com ---
(b) Explain the bitwise operators and relation operators available in C program.
UNIT - II
- Discuss selection statements with a suitable example for each.
OR
- Write a C program for matrix multiplication.
--- Content provided by FirstRanker.com ---
UNIT - III
- Explain dynamic memory allocation functions of C with a suitable example.
OR
- Compare call by value with call by reference and explain using a suitable example.
UNIT - IV
--- Content provided by FirstRanker.com ---
- Write a C program to demonstrate the use of array of structures.
OR
- What is union? Write a C program to store information in a union and display it.
UNIT - V
Max. Marks: 70
--- Content provided by FirstRanker.com ---
- Write a C program to read name and marks of N number of students from user and store them in a file.
OR
- Write a C program to demonstrate the use of fscanf and fprintf functions.
*****
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem
--- Content provided by FirstRanker.com ---