This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem
Firstranker's choice
Code: 13A12101
--- Content provided by FirstRanker.com ---
B.Tech I Year (R13) Regular Examinations June/July 2014
PROGRAMMING IN C & DATA STRUCTURES
(Common to CE, ME, EEE, ECE, EIE, IT, AE, MCTE & Ch.E)
Time: 3 hours
R13
--- Content provided by FirstRanker.com ---
Max. Marks: 70
Part - A
(Compulsory Question)
*****
-
Answer the following: (10 X 02 = 20 Marks)
--- Content provided by FirstRanker.com ---
- What is system software? Give examples.
- Define algorithm and given an example.
-
What is the output of the following program
#include <stdio.h>--- Content provided by FirstRanker.com ---
void main()
{ int a = 20; char ch = '9'; char st = 'ab'; float f = 20.23; printf("\na = %d", &a); printf("\nch=%d\tch=%d", ch, &ch); printf("st = %c", st); printf("f = %d", f);
} - Briefly describe the iterative statements.
- How do you declare and initialize a multidimensional array? Give an example.
- Mention the purpose of the functions strset() and strcpy().
- What is a file? What is the use of 'r' and 'w' in file-type specification?
- Which is the best method among parameter passing methods? Why?
- List the major advantages of data structures.
-
What is the in-order and post-order traversals of the following tree:
--- Content provided by FirstRanker.com ---
a
b
de
f--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Part - B
(Answer all five units, 05 X 10 = 50 Marks)
UNIT-I
--- Content provided by FirstRanker.com ---
-
- What are the different types of programming languages? Explain their features.
- Define hardware. Explain the purpose of various hardware parts of a computer.
OR
-
- List and define the questions that are raised while sorting the data structures.
- Write the algorithm to check whether a given number is prime or not.
--- Content provided by FirstRanker.com ---
UNIT - II
-
- What is an error? Give a brief note on the run time errors.
- Write a C program to find the factorial of a number using recursive functions.
--- Content provided by FirstRanker.com ---
OR
- Explain various branching statements in C with examples
UNIT - III
-
- How to pass array elements as arguments to function? Explain with one example.
- Write a C program to read names, marks of a class and calculate the total marks, average and percentage.
--- Content provided by FirstRanker.com ---
OR
- What is meant by sorting? Write the algorithm for selection sort and illustrate with an example.
UNIT - IV
--- Content provided by FirstRanker.com ---
-
- Define pointer. How to pass a pointer to a function? Explain.
- List the advantages of dynamic memory allocation over static memory allocation. Explain the functions, used for dynamic allocation of memory with their syntax.
OR
-
- How do you define structure within a structure? Explain with an example.
- Give the differences between structure and union.
- Briefly explain bit fields concept.
--- Content provided by FirstRanker.com ---
UNIT - V
-
- Explain the operations performed on a circular queue.
- With an example explain how an infix expression is converted to a postfix expression.
--- Content provided by FirstRanker.com ---
OR
-
- What is a singly linked list? How do represent the linked list?
- Discuss operations performed on a linked list with suitable examples.
--- Content provided by FirstRanker.com ---
*****
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem