Set No. 1

Code No: 07A1EC01

ld .

in

I B.Tech Regular Examinations, May/Jun 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆

or

1. (a) Define Algorithm. (b) What is the use of flowchart ? (c) What are the different steps followed in the program development? [3+3+10] 2. (a) Give some important points while using return statement . (b) Write short notes on scope of a variable.

uW

3. Write short notes on pointers.

[8+8] [16]

4. Write a program using structures to display the following information for each customer name, account number, street, city, old balance, current payment, new balance, account status. [16] 5. Write a program for indexed sequential file for the employee database for the following operation .

nt

(a) Add Record (b) Delete Record (c) Search Record based on the department

[16]

Aj

6. What do you mean by sorting? Mention the different types of sorting, give some examples and explain any one indetail. [16] 7. What are the advantages and disadvantages of stack ? Write a program to illustrate stack operation ? [16]

8. (a) (b) (c) (d)

What is a network? What is a spanning tree? Define minimal spanning tree . What are the various traversals in a tree? ⋆⋆⋆⋆⋆ 1 of 1

[16]

Set No. 2

Code No: 07A1EC01

Explain Explain Explain Explain

the the the the

working working working working

of of of of

Unary Operator with example. Binary Operator with example. assignment Operator with example. ternary Operator with example.

or

1. (a) (b) (c) (d)

ld .

in

I B.Tech Regular Examinations, May/Jun 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆

[4+4+4+4]

uW

2. What is the advantage of using functions. Write a ’C’ program to explain about built in functions with an example. [16] 3. What is the advantage of using arrays ? Give syntax for declaration , accessing and printing one - dimensional array ? [16] 4. Define Structure and write the general format for declaring and accessing members. [16] 5. Write a program to read the following data , to find the value of each item and display the contents of the file . [16]

nt

Item Pen Pencil

Code Price Quantity 101 Rs. 20 5 103 Rs. 3 100

Aj

6. Compare the advantage and disadvantage of bubble, insertion and selection sort. [16]

7. Define Abstract Data Type . Explain with an example . 8. (a) (b) (c) (d)

What is a network? What is a spanning tree? Define minimal spanning tree . What are the various traversals in a tree? ⋆⋆⋆⋆⋆ 1 of 1

[16]

[16]

Set No. 3

Code No: 07A1EC01

ld .

in

I B.Tech Regular Examinations, May/Jun 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆

or

1. What are the different types of control statements available ’C’. Explain them with an example? [16] 2. (a) Write short notes on auto and static storage classes. (b) Write short notes on call by reference .

[8+8]

uW

3. Define an array. What are the different types of arrays. Explain.

[16]

4. Define Structure and write the general format for declaring and accessing members. [16] 5. What is the purpose of library function feof() ? How feof() be utilized within a program that updates an unformatted data file. Explain [16]

nt

6. Write a program to sort the elements whose worst and average case are O(n log n). [16] 7. Give an algorithm / C program to reverse a singly linked circular list inplace. [16]

Aj

8. Write an algorithm to perform deletion operation in a Binary Search Tree. ⋆⋆⋆⋆⋆

1 of 1

[16]

Set No. 4

Code No: 07A1EC01

ld .

in

I B.Tech Regular Examinations, May/Jun 2008 C PROGRAMMING AND DATA STRUCTURES ( Common to Civil Engineering, Electrical & Electronic Engineering, Electronics & Communication Engineering, Computer Science & Engineering, Chemical Engineering, Electronics & Instrumentation Engineering, Bio-Medical Engineering, Information Technology, Electronics & Control Engineering, Computer Science & Systems Engineering, Electronics & Telematics, Electronics & Computer Engineering, Aeronautical Engineering, Instrumentation & Control Engineering and Bio-Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆

(b) What is the use of flowchart ?

or

1. (a) Define Algorithm.

(c) What are the different steps followed in the program development? [3+3+10] 2. Write a program to find sum of given series by using function with argument and return value e = 2 + 3/1! - 6/2! + 9/3! - 12/4! .....! [16]

uW

3. Write a program and explain the working of malloc and calloc function.

[16]

4. Define Structure and write the general format for declaring and accessing members. [16] 5. Describe types of files with an example .

[16]

6. Write a program to explain selection sort . Which type of technique does it belong. [16]

nt

7. What difference between queue and circular queue ? Explain about circular queue operations ? [16]

Aj

8. Explain tree traversals indetail .

[16] ⋆⋆⋆⋆⋆

1 of 1

Set No. 1 Accounts

I B.Tech Regular Examinations, May/Jun 2008 · C PROGRAMMING AND DATA STRUCTURES · ( Common to Civil Engineering, Electrical & Electronic ...

80KB Sizes 0 Downloads 41 Views

Recommend Documents

Set No.1 Accounts
(a) How do you explain tremors in hands ? (b) List out the types of tremors in hands. (c) What mechanical apparatus will suit the worker with tremors ? 7. Design ...

Set No. 1 Accounts
... the velocity of block A after it has moved 2 m. Assume that µ equals to 0.25 between block A and the plane and that the pulley · is weightless and frictionless.

Set No. 1 Accounts
(a) Maximum size of Aggregate - 20mm ... span of 5m to support an imposed load of 5kN/m. ... Design a M20 concrete Mix using IS method of Mix design.

Set No. 1 Accounts
(a) Differentiate fully between welding, brazing and soldering. (b) What is a flux? What is the use of a flux in a brazing process? Explain the various fluxes used ...

Set No. 1 Accounts
(b) An optical fibre has a NA of 0.20 and cladding refractive index of 1.59. De- · termine the refractive index of core and the acceptance angle for the fibre in.

Set No. 1 Accounts
PERFORMANCE EVALUATION OF COMPUTER SYSTEMS · (Computer ... 1. (a) Jobs arriving at a computer system have been found to require CPU time.

Set No. 1 Accounts
Write how blood PH is maintained. [16]. *****. 1 of 1 ... [6+5+5] · 8. Explain how blood biochemical analysis helps in confirmation of diseases. [16] · *****. 1 of 1.

Set No. 1 Accounts
(c) Toughness and resilience · (d) Endurance limit and fatigue strength · [4x4=16] · 6. Sketch time-strain curve for anelastic behavior and compare it with the time- ...

Set No. 1 Accounts
(b) Radiation carcinogenesis · 6. Discuss the various radiaton protection measures ? [16] · 7. (a) Explain how Nuclear Medicine is useful in the imaging of CNS?

Set No. 1 Accounts
Why does the Law of Diminishing Returns operate? Explain with the help of · assumed data and also represent in a diagram. [4+6+6] · 3. A company reported ...

Set No. 1 Accounts
1. Describe how the nutritive values of food can be sustained by using Biotechnology ... 4. Explain in detail how ultraradiation is used in food preservation? [16].

Set No. 1 Accounts
for the magnetic fields in the different regions of a coaxial cable, having inner .... Draw the directions of electric and magnetic fields in parallel plate and coaxial.

Set No. 1 Accounts
8. Discuss the different waves and rhythms in Electroencephalogram. ... 8. What are the alpha and beta rhythms in EEG? Give their normal frequency range.

Set No. 1 Accounts
[10] · (b) Write a note on “askarels”. [6]. 8. Give an account of the following properties of lime. [4x4=16]. (a) Slaking. (b) Setting and hardening of lime. 1 of 2.

Set No. 1 Accounts
Give various examples of capital budgeting decisions. Classify ... or other unit of Management among the activities of that unit. Explain. .... 100000 Fixed Assets.

Set No. 1 Accounts
(b) Three Brick wall in English bond. [8+8] · 6. (a) Name the different types of foundations you would recommend under different · situations and soils. Explain ...

Set No. 1 Accounts
lakhs and average variable cost of Rs.10 each . The selling price is to yield 20% · profit on cost. you are required to calculate · (a) P/V ratio. (b) Break even point.

Set No. 1 Accounts
i. crystal structure factor ... (a) Define and explain space lattice, unit cell and crystal. ... (b) What factors control the Quenching characteristics of liquid coolants?

Set No. 1 Accounts
(a) What is meant by page pinning in the buffer pool. Who is responsible for .... (b) Discuss the techniques for allocating file blocks on disk. [8+8] · 4. Consider the ...

Set No. 1 Accounts
Discuss the synthesis of r RNA in eukaryotes. Explain using TF ... DNA is made with both single (SS) and double strands (DS) of bases. Which · procedure will ...

Set No. 1 Accounts
Code No: RR310402. Set No. 1 ... it in the long distance transmission of radio signals in the HF band. 1 of 2 ... iii. Beam area, beam efficiency and resolution.

Set No. 1 Accounts
PLANT BIO-TECHNOLOGY ... 1. Discuss the importance of Plant tissue culture in India? [16] ... 7. What is meant by disease resistance and Susceptibility? [8+8].

Set No.1 Accounts
(a) What are the factors that lead to fading and attenuation in ionospheric prop- agation. (b) What is the wave tilt and how does it effect the field strength received ...

Set No. 1 Accounts
3. (a) How do you detect whether an organic reaction is going by free-radical mech- · anism or not ? (b) Describe the chlorination of ethane in the presence of ...