Saturday 16 June 2012

JNTU Hyderabad CPDS (C&DS) December 2010 (R09) Supply paper

Code No:09AEC01 R09 SET-1

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) Explain and specify the interactions between various components that support the
basic functionality of a computer?
b) Discuss in detail the program execution steps? [7+8]
2.a) List the basic data types, their sizes and range of values supported by ‘C’
language?
b) Describe the purpose of commonly used conversion characters in scanf()
function?
c) Explain the only ternary operator available in ‘C’ with illustrative example?
[6+6+3]
3.a) Differentiate between call by value and call by reference with suitable examples?
b) Write a ‘C’ program using functions to check whether the given 3x3 matrix is
symmetric or not? [8+7]
4.a) Explain how strings are declared and initialized in ‘C’?
b) What are the arithmetic operators that are permitted on pointers?
c) Write a ‘C’ function to reverse the string passed as an argument that cannot be
altered? [4+6+5]
5.a) Briefly explain the type definition statement in ‘C’? Give any two examples
where usage of type definition statement increases the readability of programs?
b) Write a ‘C’ program to read, write, add, subtract, multiply and divide two
complex numbers? (Represent complex number using structures). [4+11]
6.a) What is a file? How to open and close different types of files in ‘C’?
b) Explain the possible modes of opening files? In all these modes what happens
when the file doesn’t exist and the file already exists?
c) Write a ‘C’ program to copy the contents of a file to another file? [4+5+6]
7.a) Write a C program for binary search using functions without using recursion?
b) An array contains 8, 13, 17, 26, 44, 56, 88, and 97. Trace the steps using binary
search Algorithm.
I. To find value 88
II. To find the value 20
III. To find the value 8. [9+6]
8.a) What is the main disadvantage of Queue over Circular Queue?
b) Write a ‘C’ Program to demonstrate the operations of a Circular queue using
arrays? [3+12]
 Click Here for C&DS 2010 Supply Paper(SET-2)
Click Here for C&DS 2010 Supply Paper(SET-3)
Click Here for C&DS 2010 Supply Paper(SET-4)
Click Here for C&DS 2012 Regular Paper
Tags : JNTU HYDERABAD university papers,JNTUH,JNTU-hyd C and DS papers,DECEMBER - 2010,I - B.TECH EXAMINATIONS,COMPUTER PROGRAMMING AND DATA STRUCTURES JNTU Hyderabad,Cpds supply papers JNTUH

No comments:

Post a Comment