OR

Code No: 310556

III B.Tech. I-Semester Supplementary Examinations, November-2003.

2.a) b)

or ld

.in

DESIGN AND ANALYSIS OF ALGORITHMS (Common to Computer science and Engineering and Computer Science and Information Technology) Time: 3 hours Max. Marks: 70 Answer any FIVE Questions All Questions carry equal marks ---1.a) While executing each UNION instruction, the root of the tree with fewer vertices (ties are broken arbitrarily) is made a son of the larger. Then no tree in the forest of trees will have height greater than or equal to h unless it has at least 2h vertices. Prove this lemma by induction. b) Compute the order of the worst-case execution time for n UNION and n FIND instructions for the above case. c) Now introduce path compression. Then sketch the forest of trees before path comparison and after path compression.

Write a recursive binary search procedure SEARCH (b,f,l ) which looks for element b in locations f,f+1,f+2,….,l of an array A with n elements in set S. Explain how the above algorithm works, and analyze the complexity of the algon. Explain the “Job Sequencing with dead line algorithm”, applying that find the solution for the instance n=7, (P1 P2……P7) = (3, 5, 20, 18, 1, 6) and (d1, d2…d7) = (1, 3, 4, 3, 2, 1, 2).

4.

Write an algorithm for heap sort. Analyze its complexity.

5.a) b)

Show that the computing time of algorithm OBST is O(n2). Write an algorithm to construct the optimal binary search tree T given the roots R(i, j), 0 ≤ I ≤ J ≤ n . Show that this can be done in time O(n).

6.

Consider the hypothetical game tree

Aj

nt

uW

3.

(Contd…2)

Code No:310556

:: 2 ::

OR

a) Using the minimax technique obtain the value of the root node. b) What move should player A make? c) What is α - β cutoff? Clearly show the α - β cutoff in the above tree? Define the following terms: state space, explicit constraints, implicit constraints, problem state, solution states, answer states, live node, E-node, dead node, bounding functions.

8.a)

Present a back tracking algorithm for solving the knapsack optimization problem using the variable tuple size formulation. Obtain a knapsack instance for which more nodes are generated by the back tracking algorithm using a static tree than using a dynamic tree.

b)

Aj

nt

uW

or ld

-*-*-*-

.in

7.

Code No: 310556 III B.Tech. I-Semester Supplementary ...

(Common to Computer science and Engineering and Computer Science and · Information Technology) · Time: 3 hours · Max. Marks: ... Explain the “Job Sequencing with dead line algorithm”, applying that find the · solution for the instance n=7 ...

102KB Sizes 0 Downloads 207 Views

Recommend Documents

310556 III-B.Tech I-Semester Supplementary Examinations May/June ...
Present a program schema for a FIFO branch and bound search for a Least – Cost · answer node. 8. Explain in detail how the technique of backtracking can be ...

Code No. 320358 III-B.Tech II-Semester Supplementary Examinations ...
1.a) Explain with a neat sectional view the operation and advantages of hot blast · cupola. b) Discuss the various types of refractories used for cupola lining.

Code No.320353 III-B.Tech. II-Semester Supplementary-Examination ...
W/mk] followed by a 25mm layer of fiber-glass insulation [k=0.048 W/mk]. ... boundary layer thickness in the heat transfer over a flat plate tested over its entire ...

Code No. 321452 III B.Tech. II-Semester Supplementary Examinations ...
5.a) What is sine bar. Sketch an arrangement for any one of the applications. b) Describe the constructional features and working of optical collimator.

Code No: 310853 III B.Tech. I-Semester Supplementary Examinations ...
Explain in detail gas liquid contact in mechanically agitated vessels. ... b) Derive the expression for height of a water cooling tower by using HTU and NTU.

Code No: 320356 III B.Tech. II-Semester Supplementary Examinations ...
b) With the help of a neat sketch of psychometric chart show the various psychrometric · processes naming them clearly. c) Explain what effective temperature is ...

Code No.310251 III B.Tech. I-Semester Supplementary ...
Code No.310251. III B.Tech. I-Semester Supplementary Examinations, November-2003 · MANAGERIAL ECONOMICS AND PRINCIPLES OF ACCOUNTANCY · (Electrical and Electronics Engineering, Production Engineering, Mechatronics, · Mechanical Manufacturing Engineer

Code No: NR321401 III B.Tech II Semester Supplementary ...
The maximum tensile or compressive stress is not to exceed 56 MPa. 2. (a) Discuss the effect of keyways on shafts . (b) A 15kW , 960 rpm motor has a mild steel ...

Code No: NR320802 III B.Tech II Semester Supplementary ...
Code No: NR320802. NR ... 1. (a) Define reaction rate constant. Develop an expression that facilitates calcula- · tion of units of rate constant for any order.

Code No.320251 III-B.Tech. II-Semester Supplementary-Examination ...
c) Determine the symmetrical components of currents in the following circuit · (contd…3) · AjntuWorld. ... a) Synchronous phase modifiery · b) Insulating materials.

Code No.:320256 III-B.Tech. II Semester Supplementary Examinations ...
320256. III-B.Tech. II Semester Supplementary Examinations December 2002/January 2003 · MODELLING OF POWER SYSTEM COMPONENTS · (Electrical and Electronics Engineering) · Time: 3 hours · Max. Marks: 70 · Answer any FIVE questions · All questions carry

Code No.320554 III-B.Tech. II-Semester Supplementary-Examination ...
Explain the following top-down parsing methods with example. a) Recursive-Descent parsing · b) Predictive parser · 5.a) Explain about the specification of a ...

Code No:311253 III B.Tech I-Semester Supplementary Examination ...
system? Explain briefly about the various instructions used and also the possible · variations in each ... d) Storage mechanism and (e)Data transfer rate. ... b) Explain the direct memory access (DMA) mechanism of transfer of date between.

Code No: NR310305 III B.Tech I Semester Supplementary ...
(b) the limiting value of the wind pressure so that no point in the base is under ... pitches of the rivets in the two rows if the working stresses are not to exceed.

Code No. 320451 III-B.Tech. II Semester Supplementary Examinations ...
1011. 7.a) Discuss the generation and detection of pulse width modulation. b) Explain the principle transversal equiliber. 8. Write short notes on the following:.

Code No: 320360 III B.Tech. II-Semester Supplementary Examinations ...
II-Semester Supplementary Examinations, November-2003. MATHEMATICS-III · (Common to Mechanical Engineering, Production Engineering, Mechanical.

Code No.311052 III B.Tech I-Semester Supplementary Examinations ...
... plate capacitor is · equal to the conduction current in the leads. b) Investigate the vector magnetic potential for the infinite, straight, current element · L in free space. 3. Find the magnetic field intensity due to the presence of a finite st

Code No: 311453 III B.Tech., I-Semester Supplementary Examinations ...
2.a) With a neat sketch explain the operation of a cupola, its charge composition and · control of the melt composition. b) Briefly explain the pressure die casting ...

Code No. 310352 III-B.Tech I-Semester Supplementary Examinations ...
b) Explain heat treatment given to high speed tool steels. 7. Explain structure, properties and applications of any THREE of the following: · (a) Al-Si alloys (b) ...

Code No.321056 III B.Tech. II Semester Supplementary Examinations ...
b) Draw a graph showing the refractive index distribution of central core cladded · optical fibre and explain the plot. 2.a) Give any three applications of optical ...

Code No.320457 III-B.Tech. II-Semester Supplementary Examination ...
mutual exclusion may be violated. b) Discuss the timestamp-based protocol for concurrent atomic transactions. 7.a) Differentiate protection and security.

Code No: 320453 III-B.Tech II-Semester Supplementary Examination ...
signed 16-bit numbers. n xi · 2 · b) Write an 8086 assembly language program to compute Σ ------ · i=1 n · where xi is represented in 16-bits. 4.a) List and ...

Code No: 311252 III B.Tech- I-Semester Supplementary Examination ...
uncertainity was high and the search for alternatives is randomized in nature”. Explain how the simulation modelling technique with a man-machine interaction.

Code No: 320256 III B.Tech. II-Semester Supplementary Examinations ...
A 2 pole-50 Hz Turbo alternator has a rating of 50 MVA. Its rotor has a moment · of inertia 9000 Kg-m · 2 . Calculate its inertia constant in MJ/MVA and its.