JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech I C PROGRAMMING AND DATA STRUCTURES Previous Question Paper (March/April - 2023 - R22)

B.Tech | I | I-I | R22 | March/April - 2023

Answer PaperPaper Code: 181AEMaximum Marks: 60Time: 3 Hours

Note: This question paper contains two parts A and B. Part- A for 10 marks, Part - B for 50 marks. Part-A is a compulsory question which consists of ten sub-questions from all units carrying equal marks. Part-B consists of ten questions (numbered from 2 to 11) carrying 10 marks each. From each unit, there are two questions and the student should answer one of them. Hence, the student should answer five questions from Part-B.

Part A

110 marks
a

What is the range of values a float data type takes?

1 marks

Answer

A float data type typically ranges from approximately 3.4E-38 to 3.4E+38, occupying 4 bytes of memory.

b

How many bytes does unsigned int take?

1 marks

Answer

An unsigned int typically takes 4 bytes in modern 32-bit and 64-bit C compilers.

c

What are actual parameters?

1 marks

Answer

Sign in to view the complete answer paper.

d

Why do we use continue statement?

1 marks

Answer

Sign in to view the complete answer paper.

e

Which symbol is used to access the value a pointer is pointing to?

1 marks

Answer

Sign in to view the complete answer paper.

f

List string input functions.

1 marks

Answer

Sign in to view the complete answer paper.

g

Give syntax for defining a structure.

1 marks

Answer

Sign in to view the complete answer paper.

h

What is the advantage and disadvantage of union?

1 marks

Answer

Sign in to view the complete answer paper.

i

What is queue?

1 marks

Answer

Sign in to view the complete answer paper.

j

What is the advantage of singly linked list?

1 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

What are input and output statements in C?

5 marks

Answer

Sign in to view the complete answer paper.

b

List and explain arithmetic operators in C.

5 marks

Answer

Sign in to view the complete answer paper.

OR
3

For primitive data types in C, give format specifier, range of values and memory it takes.

10 marks

Answer

Sign in to view the complete answer paper.

4

Write a program to find whether a given matrix is symmetric or not.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Distinguish between while and do-while statements.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C program which uses a recursive function to find fibonacci series of given number.

5 marks

Answer

Sign in to view the complete answer paper.

6

List and explain string manipulation functions.

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

What is pointer to pointer? In which situations do we need them?

5 marks

Answer

Sign in to view the complete answer paper.

b

What are dangling pointers? Why do they occur?

5 marks

Answer

Sign in to view the complete answer paper.

8

Write a program to merge the contents of file A and file B into file C. File A has even numbers between 1 to 20 and file B has odd numbers between 1 to 20.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Create a union called “student” having student name, roll number, branch and marks for three subjects. Write a program to compute grade of the student based on three marks.

10 marks

Answer

Sign in to view the complete answer paper.

10

Simulate bubble sort on following data and write a C program for it.

3, 6, 8, 9, 1, 2, 22, 11, 5

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

What are stacks? What operations can be performed on stack? What are the applications of stack?

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of C PROGRAMMING AND DATA STRUCTURES from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ME I I-I, March/April - 2023, R22.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in C PROGRAMMING AND DATA STRUCTURES

Loading Question Papers

Fetching data from database...