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
B.Tech I Year (R13) Supplementary Examinations December 2017
PROGRAMMING IN C & DATA STRUCTURES
(Common to CE, ME, EEE, ECE, EIE & IT)
--- Content provided by FirstRanker.com ---
Time: 3 hours
Max. Marks: 70
PART - A
(Compulsory Question)
- Answer the following: (10 X 02 = 20 Marks)
- What are the steps involved in software development life cycle?
- What is a computer and describe its characteristics?
- Explain identifiers in C language.
- Explain nested if and switch statement syntax.
- What are the different command line parameters?
- List out the advantages and disadvantages of singly linked list.
- What are the different types of data structures?
- What are the main objectives of functions?
- Explain fundamentals of pointers.
- What is the difference between structure and union?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
UNIT - I
- Explain the working of assignment operator, unary and ternary operator with example.
OR
How algorithm is different from flowchart? Write an algorithm and draw flowchart for finding greatest among three given numbers.
--- Content provided by FirstRanker.com ---
UNIT - II
- (a) What do you mean by functions? Give the structure and their return values.
(b) Write a C program that uses a function to sort an array of integers.OR
- Explain different types of error diagnostics and debugging techniques.
--- Content provided by FirstRanker.com ---
UNIT - III
- Write about different types of storage classes with appropriate syntax and examples.
OR
- Explain about file handling functions. Write the syntax for opening a file with various modes and closing a file with an example.
UNIT - IV
--- Content provided by FirstRanker.com ---
- (a) Explain the process of declaring and initializing pointers. Give an example.
(b) Write a C program that uses a pointer as a function argument.OR
- (a) Define structure and write the general format for declaring and accessing members.
(b) Write a program to store and print name, address, roll no using structures.
--- Content provided by FirstRanker.com ---
UNIT - V
- What is a stack? Explain two different representations of a stack. List the operations performed on a stack and write functions for implementing these operations.
OR
- (a) Write the algorithm for evaluation of postfix expression.
(b) Evaluate the following postfix expression: 752 +* 415 -/-
--- Content provided by FirstRanker.com ---
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
--- Content provided by FirstRanker.com ---