JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech I Year C PROGRAMMING AND DATA STRUCTURES Previous Question Paper (January/February - 2024 - R22)

B.Tech | I Year | I-I | R22 | January/February - 2024

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

Note: This question paper contains two parts A and B.

i) Part- A for 10 marks, ii) 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 computer language?

1 marks

Answer

A computer language is a formal system of rules, syntax, and vocabulary used by humans to provide instructions to a computer to perform specific tasks or computations.

b

What is an identifier?

1 marks

Answer

An identifier is a user-defined name given to program elements such as variables, functions, arrays, or structures to uniquely identify them within a program.

c

Justify given statement, “array is static data structure”.

1 marks

Answer

Sign in to view the complete answer paper.

d

Give any two array applications.

1 marks

Answer

Sign in to view the complete answer paper.

e

What is dangling pointer?

1 marks

Answer

Sign in to view the complete answer paper.

f

How to read a character from console?

1 marks

Answer

Sign in to view the complete answer paper.

g

What are text streams?

1 marks

Answer

Sign in to view the complete answer paper.

h

How do you access structure elements?

1 marks

Answer

Sign in to view the complete answer paper.

i

What are queue operations?

1 marks

Answer

Sign in to view the complete answer paper.

j

What is abstract data type?

1 marks

Answer

Sign in to view the complete answer paper.

Part B

2

What are primitive data types? Explain about each data type in detail with examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

What is bitwise operator? Explain each bitwise operator with example and write a C program to illustrate use of bitwise operators.

10 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Write a C program to print below data: 1 23 456 78910

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between if-else and switch statement.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Write a recursive function to find factorial of given number.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C program to find sum of digits of a given number.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What is pointer to a pointer? How is it created? In which situations we create a pointer to pointer?

5 marks

Answer

Sign in to view the complete answer paper.

b

What are memory allocation functions? Explain them.

5 marks

Answer

Sign in to view the complete answer paper.

OR
7

List and explain string manipulation functions with examples.

10 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Write a program to merge the contents of two files.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C program which uses a structure to store information about 10 students and display the contents of those students whose branch is “cse”.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

Give example for type def and enumerated types and explain their significance.

10 marks

Answer

Sign in to view the complete answer paper.

10

Simulate selection sort on given data and write C program for it: 3, 2, 6, 7, 1, 8

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

What is a stack? Show array and linked representation of stack. What are the applications of stacks?

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 PHA.E I Year I-I, January/February - 2024, 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...