JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech I Year COMPUTER PROGRAMMING Previous Question Paper (August – 2018 - R15)

B.Tech | I Year | I | R15 | August – 2018

Answer PaperPaper Code: 121AFMaximum 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

Answer all questions.

125 marks
a

Define Type conversion and give an example.

2 marks

Answer

Type conversion is the process of converting a value from one data type to another. It can be implicit (automatic) or explicit (type casting). For example, in the expression

int x = 10; float y = x;
, the integer 10 is implicitly converted to a float value 10.0.

b

What is Operator Precedence in Expression Evaluation?

3 marks

Answer

Operator precedence defines the order in which operators are evaluated in an expression containing multiple operators. When an expression has operators with different precedence levels, the operator with higher precedence is evaluated first. If operators have the same precedence, associativity (left-to-right or right-to-left) determines the order of evaluation.

c

List the applications of arrays.

2 marks

Answer

Sign in to view the complete answer paper.

d

What are preprocessor commands?

3 marks

Answer

Sign in to view the complete answer paper.

e

Explain array of strings.

2 marks

Answer

Sign in to view the complete answer paper.

f

What is Pointer? Write down its applications.

3 marks

Answer

Sign in to view the complete answer paper.

g

Write any two differences between structure and union.

2 marks

Answer

Sign in to view the complete answer paper.

h

Explain file status functions.

3 marks

Answer

Sign in to view the complete answer paper.

i

What are the drawbacks of linear search?

2 marks

Answer

Sign in to view the complete answer paper.

j

List and explain the stack operations.

3 marks

Answer

Sign in to view the complete answer paper.

PART B

2

Explain the following operators:

a) Relational Operators

b) Bitwise Operators

c) Conditional Operator.

10 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Describe the procedure of creating and running a C program.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is an Identifier? List the rules to declare and define an identifier.

5 marks

Answer

Sign in to view the complete answer paper.

4

What is meant by the scope of variables and explain the types of storage class in C?

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Write a C program to find the factorial of a given number using recursion.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is an Array? Explain the representation and Indexing of Two-dimensional array.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain briefly about the pointer arithmetic.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a C program to reverse a string without using strrev() function.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Describe briefly about the pointers to pointers with example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain in detail about the String Input/output functions.

5 marks

Answer

Sign in to view the complete answer paper.

8

Write a C program to create a marks sheet for students and calculate the average marks obtained by each student using Structures.

10 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain in detail about the Enumerated types.

5 marks

Answer

Sign in to view the complete answer paper.

b

Differentiate between text and binary files in detail.

5 marks

Answer

Sign in to view the complete answer paper.

10

Explain Binary Search method with an example.

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

What is Queue? Describe Enqueue and Dequeue operations of Queue.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of COMPUTER PROGRAMMING from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT I Year I, August – 2018, R15.

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...