JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech I Year COMPUTER PROGRAMMING Previous Question Paper (August – 2018 - R15)
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.
Define Type conversion and give an example.
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
What is Operator Precedence in Expression Evaluation?
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.
List the applications of arrays.
Answer
Sign in to view the complete answer paper.
What are preprocessor commands?
Answer
Sign in to view the complete answer paper.
Explain array of strings.
Answer
Sign in to view the complete answer paper.
What is Pointer? Write down its applications.
Answer
Sign in to view the complete answer paper.
Write any two differences between structure and union.
Answer
Sign in to view the complete answer paper.
Explain file status functions.
Answer
Sign in to view the complete answer paper.
What are the drawbacks of linear search?
Answer
Sign in to view the complete answer paper.
List and explain the stack operations.
Answer
Sign in to view the complete answer paper.
PART B
Explain the following operators:
a) Relational Operators
b) Bitwise Operators
c) Conditional Operator.
Answer
Sign in to view the complete answer paper.
Describe the procedure of creating and running a C program.
Answer
Sign in to view the complete answer paper.
What is an Identifier? List the rules to declare and define an identifier.
Answer
Sign in to view the complete answer paper.
What is meant by the scope of variables and explain the types of storage class in C?
Answer
Sign in to view the complete answer paper.
Write a C program to find the factorial of a given number using recursion.
Answer
Sign in to view the complete answer paper.
What is an Array? Explain the representation and Indexing of Two-dimensional array.
Answer
Sign in to view the complete answer paper.
Explain briefly about the pointer arithmetic.
Answer
Sign in to view the complete answer paper.
Write a C program to reverse a string without using strrev() function.
Answer
Sign in to view the complete answer paper.
Describe briefly about the pointers to pointers with example.
Answer
Sign in to view the complete answer paper.
Explain in detail about the String Input/output functions.
Answer
Sign in to view the complete answer paper.
Write a C program to create a marks sheet for students and calculate the average marks obtained by each student using Structures.
Answer
Sign in to view the complete answer paper.
Explain in detail about the Enumerated types.
Answer
Sign in to view the complete answer paper.
Differentiate between text and binary files in detail.
Answer
Sign in to view the complete answer paper.
Explain Binary Search method with an example.
Answer
Sign in to view the complete answer paper.
What is Queue? Describe Enqueue and Dequeue operations of Queue.
Answer
Sign in to view the complete answer paper.