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

SeptemberOctober 2021

Uploaded by

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

SeptemberOctober 2021

Uploaded by

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

Code No: 151AC R18

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD


B.Tech I Year I Semester Examinations, September/October - 2021
PROGRAMMING FOR PROBLEM SOLVING
JN
(Common to CE, ME, ECE, EIE, MCT, MMT, ECM, AE, MIE, PTM, CSBS,
CSE(AI&ML), CSE(IOT))
Time: 3 Hours Max. Marks: 75
Answer any five questions
TU
All questions carry equal marks
---

1.a) What is flow chart? Draw a flowchart to generate Fibonacci sequence up to ‘n’ numbers.
H
b) In C if any variable is auto storage class by default, then why auto keyword introduced in
C? Explain. [7+8]

What is an array? Write a ‘C’ program for Matrix Multiplication.


U
2.a)
b) Write the use of Pointers in self-referential structures. [7+8]
SE
3.a) Explain the basic operations performed on file.
b) What is the use of the preprocessor directives? Explain. [7+8]

4.a) Write a program to differentiate the structure and union memory allocations using size of
D
function.
b) Explain the use of array of structures with an example program. [7+8]
SE
5.a) Explain bubble sort with an example.
b) Give a brief note on insertion sort. [7+8]

6.a) Define Data type. Briefly discuss the fundamental data types supported in C.
PT
b) How entry controlled loop is different from exit controlled loop? Explain. [7+8]

7.a) List the advantages of Pointers. Explain about pointers to structures.


b) Describe String library functions with syntax as well as example program. [7+8]
-2
8.a) Explain recursion with an example program.
b) Write a note on dynamics memory allocation. [7+8]
02
1
---ooOoo---

You might also like