Saturday 16 June 2012

JNTU Hyderabad 1st B.tech (R09) December 2010 C&DS Supply Paper(SET 3)

Code No:09A1EC01 R09 SET-3

I - B.TECH EXAMINATIONS, DECEMBER - 2010
COMPUTER PROGRAMMING AND DATA STRUCTURES

(COMMON TO CE, EEE, ME, ECE, CSE, CHEM, EIE, BME, IT, MECT, E.COMP.E,
MMT, MEP, AE, ICE, BT, AME)
Time: 3hours Max.Marks:75
Answer any FIVE questions
All questions carry equal marks
- - -
1 a) Differentiate between application software and system software?
b) Draw a flowchart for finding the sum of ‘n’ numbers starting from 1?
c) Briefly discuss various computing environments with neat diagrams? [2+5+8]
2 a) What do you mean by operator precedence and associativity? How one can
override the precedence defined by C language? Give illustrative examples?
b) Explain the structure of a C program? [7+8]
3 a) Discuss with suitable examples the storage classes available in C?
b) Derive the expression for finding the address of any element of a 1-dimensional
array? [10+5]
4 a) Discuss briefly the following pointers.
I. Pointer pointing to a variable
II. Pointer pointing to a constant
III. Constant pointer pointing to a variable
IV. Constant pointer pointing to constant.
b) Write a C program to swap two integers using functions. [10+5]
5 a) How many possible ways one can access the members of a structure using a
structure variable and a pointer to a structure variable? Illustrate with examples.
b) Differentiate between Arrays of structures and structures containing arrays with
suitable examples? [5+10]
6 a) Explain syntax with illustrative examples the functions support reading and
writing formatted data to and from files?
b) Write a C program to count characters and lines in a given file? [7+8]
7 a) Write a C program for bubble sort using functions?
b) An Array contains 3, 13, 7, 26, 44, 23, 98, and 57. Trace the steps using merge
sort? [9+6]
8 a) Write the steps with illustrative figures involved in the following operations of a
singly linked list without the head node?
I. Delete the first element
II. Delete the last element
III. Delete before a given element
IV. Delete after a given element.
b) What is a doubly linked list? What is the main advantage over singly linked
list? [12+3]

Tags : JNTU HYDERABAD,First year 2010,C&DS paper SET-3,JNTU Hyderabad 2010 CPDS Papers,JNTUH B.TECH EXAMINATIONS Previous papers,JNTUH B.Tech C&DS papers

No comments:

Post a Comment