Code No: R05010106

R05

Set No. 2

in

I B.Tech Examinations,December 2010 C PROGRAMMING AND DATA STRUCTURES Common to CE, BME, IT, AE, ICE, E.COMP.E, ETM, E.CONT.E, EIE, CSE, ECE, CSSE, EEE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Explain about file handling functions.

ld .

(b) What are the reasons for defining sets of data as sequential files instead of arrays. [16] 2. (a) How to use pointer variables in expressions? Explain through examples.

or

(b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8] 3. (a) Why is it possible to use the same variable names for actual and formal arguments. (b) Distinguish between function prototype and function definition.

uW

(c) What is recursion. What is its advantage.

4. Write a C program for implementation of Queues using linked lists.

[5+5+6] [16]

5. (a) What is ‘union’ in C? How is data stored using union. (b) Write a program to pass address of a structure variable to user defined function and display the contents. Use a structure object boy with three fields: name, age and height. [6+10]

nt

6. What is sorting? Explain about tree sorting technique with suitable examples.[16] 7. (a) What is a string constant? How do string constants differ from character constants? Do string constants represent numerical Values? (b) Summarize the standard escape sequences in C. Describe them.

Aj

(c) What is a variable? How can variables be characterized? Give the rules for variable declaration.

(d) What is the purpose of type declarations? What are the components of type declaration? [4+4+4+4]

8. (a) What is the maximum number of nodes in a binary tree that has ‘m’ leaves? (b) Explain the properties of binary trees. ?????

1

[8+8]

Code No: R05010106

R05

Set No. 4

1. (a) What is ‘union’ in C? How is data stored using union.

in

I B.Tech Examinations,December 2010 C PROGRAMMING AND DATA STRUCTURES Common to CE, BME, IT, AE, ICE, E.COMP.E, ETM, E.CONT.E, EIE, CSE, ECE, CSSE, EEE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. (a) Explain about file handling functions.

ld .

(b) Write a program to pass address of a structure variable to user defined function and display the contents. Use a structure object boy with three fields: name, age and height. [6+10]

or

(b) What are the reasons for defining sets of data as sequential files instead of arrays. [16] 3. (a) What is a string constant? How do string constants differ from character constants? Do string constants represent numerical Values? (b) Summarize the standard escape sequences in C. Describe them.

uW

(c) What is a variable? How can variables be characterized? Give the rules for variable declaration. (d) What is the purpose of type declarations? What are the components of type declaration? [4+4+4+4] 4. What is sorting? Explain about tree sorting technique with suitable examples.[16] 5. (a) How to use pointer variables in expressions? Explain through examples.

nt

(b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8]

6. (a) Why is it possible to use the same variable names for actual and formal arguments.

Aj

(b) Distinguish between function prototype and function definition. (c) What is recursion. What is its advantage.

7. Write a C program for implementation of Queues using linked lists.

[5+5+6] [16]

8. (a) What is the maximum number of nodes in a binary tree that has ‘m’ leaves? (b) Explain the properties of binary trees. ?????

2

[8+8]

Code No: R05010106

R05

Set No. 1

in

I B.Tech Examinations,December 2010 C PROGRAMMING AND DATA STRUCTURES Common to CE, BME, IT, AE, ICE, E.COMP.E, ETM, E.CONT.E, EIE, CSE, ECE, CSSE, EEE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Write a C program for implementation of Queues using linked lists.

[16]

(b) Explain the properties of binary trees. 3. (a) Explain about file handling functions.

ld .

2. (a) What is the maximum number of nodes in a binary tree that has ‘m’ leaves?

[8+8]

or

(b) What are the reasons for defining sets of data as sequential files instead of arrays. [16] 4. (a) Why is it possible to use the same variable names for actual and formal arguments. (b) Distinguish between function prototype and function definition.

uW

(c) What is recursion. What is its advantage.

[5+5+6]

5. (a) How to use pointer variables in expressions? Explain through examples. (b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8] 6. What is sorting? Explain about tree sorting technique with suitable examples.[16]

nt

7. (a) What is a string constant? How do string constants differ from character constants? Do string constants represent numerical Values? (b) Summarize the standard escape sequences in C. Describe them. (c) What is a variable? How can variables be characterized? Give the rules for variable declaration.

Aj

(d) What is the purpose of type declarations? What are the components of type declaration? [4+4+4+4]

8. (a) What is ‘union’ in C? How is data stored using union. (b) Write a program to pass address of a structure variable to user defined function and display the contents. Use a structure object boy with three fields: name, age and height. [6+10] ?????

3

Code No: R05010106

R05

Set No. 3

in

I B.Tech Examinations,December 2010 C PROGRAMMING AND DATA STRUCTURES Common to CE, BME, IT, AE, ICE, E.COMP.E, ETM, E.CONT.E, EIE, CSE, ECE, CSSE, EEE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) What is the maximum number of nodes in a binary tree that has ‘m’ leaves?

[8+8]

ld .

(b) Explain the properties of binary trees.

2. Write a C program for implementation of Queues using linked lists.

[16]

3. (a) How to use pointer variables in expressions? Explain through examples.

or

(b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8]

4. (a) What is a string constant? How do string constants differ from character constants? Do string constants represent numerical Values? (b) Summarize the standard escape sequences in C. Describe them.

uW

(c) What is a variable? How can variables be characterized? Give the rules for variable declaration. (d) What is the purpose of type declarations? What are the components of type declaration? [4+4+4+4] 5. (a) Explain about file handling functions. (b) What are the reasons for defining sets of data as sequential files instead of arrays. [16]

nt

6. (a) What is ‘union’ in C? How is data stored using union. (b) Write a program to pass address of a structure variable to user defined function and display the contents. Use a structure object boy with three fields: name, age and height. [6+10]

Aj

7. (a) Why is it possible to use the same variable names for actual and formal arguments. (b) Distinguish between function prototype and function definition. (c) What is recursion. What is its advantage.

[5+5+6]

8. What is sorting? Explain about tree sorting technique with suitable examples.[16] ?????

4

R05 Set No. 2

2. I B.Tech Examinations,December 2010 · C PROGRAMMING AND DATA STRUCTURES · Common to CE, BME, IT, AE, ICE, E.COMP.E, ETM, E.CONT.E, EIE,.

38KB Sizes 0 Downloads 52 Views

Recommend Documents

R05 Set No. 2
[16] · 4. What are channel,circuit and half circuit in the context of satellite telemetry sys- .... 3. Describe the conditions for total internal reflection within a fibre. [16].

R05 Set No. 2
(b) Describe a DC Servo Motor with a neat sketch. [8+8] · 4. (a) What is a timing belt? Discuss the use of Timing belts in power transmission? (b) Discuss various ...

R05 Set No. 2
(b) In a slider crank mechanism the crank is making an angle of 600 with IDC. The crank and connecting rod lengths are 100mm and 300mm respectively.

R05 Set No. 2
Code No: R05412304. R05. Set No. 2. IV B.Tech I Semester Examinations,November 2010 · DOWNSTREAM PROCESSING · Bio-Technology · Time: 3 hours.

R05 Set No. 2
(b) Consider any two networks of your choice which support Circuit switching or ... (b) Which is more efficient, circuit switching or packet switching? Why?

R05 Set No. 2
(a) What is the difference between logical I/O and device I/O? (b) Explain feed back scheduling policy. [8+8] · 2. (a) How can logical address space be ...

R05 Set No. 2
kerosene, and fuel oil must be limited as also shown in this table. There are no ... equipment is a function of x, the size (horsepower ) of the motor, namely.

R05 Set No. 2
(b) A 30m chain was found to be 15cm too long after chaining 1524m. The same ... 7. (a) Explain compensating and cumulative errors in chain Surveying.

R05 Set No. 2
R05. Set No. 2. II B.Tech I Semester Examinations,MAY 2011 · MATHEMATICS-III · Common to ICE, E.COMP.E, ETM, E.CONT.E, EIE, ECE, EEE · Time: 3 hours.

R05 Set No. 2
(b) What is meant by displacement function? (c) Give the importance of Pascal Triangle. [4+6+6] · 3. Determine the displacements at nodes and the stresses in ...

R05 Set No. 2
The horizontal distance between u/s face and center line of drain holes is 8 m. ... (c) Cut-off trench ... Bed width of parent channel U/S / D/S = 45 m/40 m. [16].

R05 Set No. 2
Also draw the relevant circuit diagram. (b) Draw the resistive model of a CMOS inverter and explain its behavior for. LOW and HIGH outputs. [8+8]. 8. (a) It is necessary to identify the position of mechanical disk, when rotates with a step of 450. Gi

R05 Set No. 2
R05. Set No. 2. II B.Tech I Semester Regular Examinations,November 2010 · MATHEMATICS-III · Common to ICE, E.COMP.E, ETM, E.CONT.E, EIE, ECE, EEE.

R05 Set No. 2
4. Give the syntax for 'awk'. Discuss about the selection criteria in awk. How to · embed action in to this command. Explain with examples. [16] · 5. Write about different Unix locking techniques. [16] · 6. (a) What are the differences between shell

R05 Set No. 2
of Rs. 1,500 would be deposited in this fund under an ordinary annuity plan. All · money in the fund can be .... (b) Discounted cash flow · (c) Net present worth ... would last for 10 years. A worn-out storage tank of capacity equivalent to the new.

R05 Set No. 2
R05. Set No. 2. III B.Tech I Semester Examinations,May 2011 · WEB TECHNOLOGIES · Information Technology ... that describes your college. The paragraph ...

R05 Set No. 2
(b) What is the necessity of heat treatment after carburizing? Explain. On what ... (b) What is the difference in heat treatment between 18% Ni and the 25% Nickel.

R05 Set No. 2
is subjected to a load of 200 kN, find the stresses developed in the two materials. ... Compare the values of max. and minimum hoop stresses for a cast steel ...

R05 Set No. 2
The cores of two identical transformers A and B carry alternating fluxes whose instantaneous values are (0.01 sin 314t)W and 0.012 (1.1 sin 628t+0.1 sin 1884t).

R05 Set No. 2
(a) Explain live node, E-node and dead node with an example. (b) Explain the method of reduction to solve TSP problem using Branch and · Bound. [8+8] · 3. (a) Prove that Prim's algorithm finds a minimum spanning tree. (b) Explain the single source sh

R05 Set No. 2
at 0.8 p.f. lagging and 15A at 0.6 p.f. lagging respectively, both expressed ... (b) A single-phase motor takes a current of 10 amps at a p.f. of 0.707 lagging.

R05 Set No. 2
If the tensile stress is not to exceed 17MPa, find the safe. u.d.l. which the beam can carry. Also find maximum compressive stress. Draw the sketch showing the ...

R05 Set No. 2
beans with the above mentioned beans. [16]. 8. (a) Explain the basic structure of an XML document and highlight the advantages of XML over HTML. 3.

R05 Set No. 2
Code No: R05320201. R05. Set No. 2. III B.Tech II Semester Examinations,December 2010 ... Common to ICE, ETM, E.CONT. ... H(s) = 1/(s + 0.5) (s2 +0.5s+2).