RA

Code No: RA210503

in

III B.Tech I Semester Regular Examinations, November 2007 ADVANCED DATA STRUCTURE (Computer Science & Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) What are the differences between a C++ struct and C++ class? (b) What does extern “C” int func(int ∗, Foo) accomplish?

ld .

(c) How do you access the static member of a class?

(d) What are the access privileges in C++? What is the default access level? [4+4+4+4] 2. (a) Explain the need for “Virtual Destructor”.

[8+8]

or

(b) Can we have “Virtual Constructors”?

3. (a) Explain about try, catch, throw keywords in C++?

(b) Write a program to illustrate the exception handling mechanism in C++. [8+8]

uW

4. Define the Abstract data type for Stack. Write a C ++ program to implement stack ADT using linked list. [16] 5. Develop a class for hash table using linear probing and neverUsed concept to handle an erase operation. Write complete C++ code for all the methods. Include a method to reorganize the table when (say) 60% of the empty buckets have never used equal to false. The reorganization should move pairs around as necessary and leave a properly configured hash table in which neverUsed is true for every empty bucket. [16]

Aj

nt

6. Define a class called binarySearchTree to represent a Binary search tree. Extend this class by adding a public method outputInRange (Low,High) that outputs, in ascending order of key, all elements in a binary search tree whose key lies between Low and High. Use recursion and avoid entering sub trees that cannot possibly contain any elements with keys in desired range. [16] 7. (a) Describe the B-trees? Explain the advantages of B-trees. (b) Prove that let T be a red black tree with n interval nodes then no node has depth greater than 2 log(n+1). [8+8] P 8. (a) Explain the KMP flow chart for the pattern ’ABAABA’ where = {A, B, C} (b) Explain the complexity of Brute Force pattern matching algorithm. ?????

1 of 1

[10+6]

RA210503 III B.Tech I Semester Regular Examinations, November ...

RA. III B.Tech I Semester Regular Examinations, November 2007 · ADVANCED ... (b) Prove that let T be a red black tree with n interval nodes then no node has.

39KB Sizes 1 Downloads 164 Views

Recommend Documents

RA210503 III B.Tech I Semester Supplimentary Examinations ...
(a) Give an overview of C++ class structure? (b) Compare the ... What is the difference between the C++ standard library, and the C++ standard · template library ...

RA310301 III B.Tech I Semester Regular Examinations, November ...
(b) Draw the block diagram of a biological control system when a human hand · approaches to an object to grip it. Discuss the functions of various elements.

RA311401 III B.Tech I Semester Regular Examinations, November ...
Code No: RA311401. RA. III B.Tech I Semester Regular Examinations, November/December 2005. COMPUTER GRAPHICS · (Mechatronics) · Time: 3 hours.

RA310501 III B.Tech I Semester Regular Examinations, November ...
It has G2A connected to A15, G2B to RD and G1 · and connected to +SV. Determine the memory map which the system can · address to using 8 number of Roms ...

RA310402 III B.Tech I Semester Regular Examinations, November ...
2. (a) Discuss the steps involved in the ordered edge list algorithm. (b) What are the ... (b) An object point P(x,y) is translated in the direction U = aI + bJ and simulta- · neously an observer ... object about an arbitrary plane. [8+8] · 6. (a) Gi

RA220205 III B.Tech II Semester Regular Examinations, November ...
Sketch the polar plot of the new system · & comment on how the stability of the system is affected as a result of this change. [16] · 7. (a) What is compensation?

410306 II B.Tech., I-Semester Regular Examinations, November-2003 ...
Derive the elemental mass matrix for 1-D bar element and 1-D plane truss · element? 8.a) Explain the mesh generation schemes for 3-D problems. b) State the ...

R05 III B.Tech I Semester Examinations,November 2010 AUTOMATA ...
R05 III B.Tech I Semester Examinations,November 20 ... logy, Computer Science And Systems Engineering.pdf. R05 III B.Tech I Semester Examinations ...

Code No:310553 III B.Tech., I-Semester Regular Examinations ...
The time required to serve a customer has an exponential distribution with · mean of 80 seconds. Determine the following : · a. Fraction of time the server is busy.

NR311103 III B.Tech I Semester Supplementary Examinations ...
(a) Explain the pre-anesthetic care and preparation undertaken in a hospital. Why it is important? Explain. [8] · (b) How the patients are monitored during surgery ...

NR310204 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. POWER ELECTRONICS · (Electrical & Electronic Engineering) · Time: 3 hours · Max Marks: 80 · Answer any FIVE Questions · All Questions carry equal marks · ***** · 1. (a) Explain the oper

NR311301 III B.Tech I Semester Supplementary Examinations ...
(c) Explain inverted paging method of memory management. [4+4+8] · 4. (a) Explain banker's algorithm for deadlock detection. (b) What are the criteria for a ...

NR311901 III B.Tech I Semester Supplementary Examinations ...
(a) Discuss the path sensitization in a combinational circuit. shown in figure1 · (b) Find the test set to detect A1- SA0 and A1- SA1 faults using Boolean difference.

NR311105 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311105. NR. III B.Tech I Semester Supplementary Examinations, November 2005. BIO-MEDICAL EQUIPMENT · (Bio-Medical Engineering).

NR311904 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311904. NR. III B.Tech I Semester Supplementary Examinations, November 2006 · COMPUTER GRAPHICS · (Electronics & Computer Engineering).

NR310405 III B.Tech I Semester Supplementary Examinations ...
8. The convolutional encoder is given below Figure1: · Figure 1: ... (b) Construct a code tree for the convolutional encoder for 3-bit input data. [10] · ⋆⋆⋆⋆⋆.

NR310305 III B.Tech I Semester Supplementary Examinations ...
i. plain carbon steel with 4% carbon and 0.8% manganese, ... (a) It is required to design a square key for fixing a gear on a shaft of 30 mm · diameter; to transmit ...

NR311803 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. HEAT TREATMENT TECHNOLOGY · (Metallurgy & Material Technology) · Time: 3 hours.

NR310105 III B.Tech I Semester Supplementary Examinations ...
(b) The ground water level in a deposit of fine sand is 1.5 m below ground level. Above the water table ... is 21 kN/m3. Calculate the total stress, the neutral stress.

NR311403 III B.Tech I Semester Supplementary Examinations ...
Code No: NR311403. NR. III B.Tech I Semester Supplementary Examinations, November 2005. FINITE ELEMENT ANALYSIS · (Mechatronics) · Time: 3 hours.

NR311802 III B.Tech I Semester Supplementary Examinations ...
(b) Explain the following particle size measurement techniques. i. Sedimentation ... compaction. [6]. (b) Define Sintering and how is it different from hot pressing.

NR312105 III B.Tech I Semester Supplementary Examinations ...
III B.Tech I Semester Supplementary Examinations, November 2005. AERO SPACE ... (b) Maximum energy theory. [16] ... plain with live examples. (b) Write a ...

NR311001 III B.Tech I Semester Supplementary Examinations ...
4. What are the objectives of wage and salary administration function? [4+6+6] · 5. Write short notes on: · [4x4=16] · (a) Speculative purchasing · (b) Rate contract ...

NR310202 III B.Tech I Semester Supplementary Examinations ...
(a) What are the different problems associated with measurement of low resis- · tances. Explain. (b) How these problems are eliminated by using Kelvins double ...