JNTUH

JNTUH B.Tech I Year COMPUTER PROGRAMMING Previous Question Paper (December - 2018 - R13)

B.Tech | I Year | I-I | R13 | December - 2018

Answer PaperPaper Code: 111AFMaximum Marks: 75Time: 3 hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

Part A

125 marks
a

Define variable.

2 marks

Answer

A variable is a named memory location used to store data values that can be modified during program execution. Each variable has a specific data type that determines the size and layout of the memory it occupies.

b

Explain the syntax of ‘for’ loop with an example.

3 marks

Answer

The for loop syntax is: for (initialization; condition; increment/decrement) { // body of loop }. It executes the initialization once, checks the condition before each iteration, and performs the increment/decrement after each body execution.

Example: for(int i=0; i<5; i++) { printf("%d ", i); } prints numbers 0 through 4.

c

Explain about ‘auto’ storage class.

2 marks

Answer

Sign in to view the complete answer paper.

d

What is an array? Explain.

3 marks

Answer

Sign in to view the complete answer paper.

e

How to use pointers?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is String?

3 marks

Answer

Sign in to view the complete answer paper.

g

Define union.

2 marks

Answer

Sign in to view the complete answer paper.

h

Explain a syntax for printf() function.

3 marks

Answer

Sign in to view the complete answer paper.

i

What is queue?

2 marks

Answer

Sign in to view the complete answer paper.

j

What is Dequeue?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Briefly explain about Bitwise operators.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C Program to swap two numbers.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Briefly explain about switch statement.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C Program to demonstrate the break statement.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Write a short note on recursive functions with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the limitations of recursion?

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Describe the Pre Processor commands.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C Program to find the multiplication of two matrices.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Write a procedure to increment a pointer.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a short note on Pointer to pointer.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

string output functions

5 marks

Answer

Sign in to view the complete answer paper.

b

strcmp(s1,s2)

5 marks

Answer

Sign in to view the complete answer paper.

8

Write a C Program to demonstrate Pointer to structures.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Briefly explain about getchar() and putchar() functions.

10 marks

Answer

Sign in to view the complete answer paper.

10

Write a C program to demonstrate push and pop operations.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain the bubble sort technique.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a short note on binary search.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of COMPUTER PROGRAMMING from JNTUH for B.Tech AME I Year I-I, December - 2018, R13.

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

Other papers in COMPUTER PROGRAMMING

Loading Question Papers

Fetching data from database...