Professional Documents
Culture Documents
College of Engineering Roorkee (COER) Tutorial Sheet-2:, Uttarakhand
College of Engineering Roorkee (COER) Tutorial Sheet-2:, Uttarakhand
(COER), Uttarakhand
Tutorial Sheet- 2
SUBJECT: Data Structures Using C++ (TCS-607) Issue Date: - Friday, February 22, 2013
FACULTY: Sachin Kumar Saxena Last Submission Date: - Monday, March 04, 2013
∗[ ∗( )]
a). X= b). X = [(A*B) + (C-D)]
∗( )
Q.2.Show the each step of Tower of Hanoi Problem for n=5 completely.
Q.3. Explain Abstract Data Type in terms of Object Oriented Program in detail.
L(n) = 0 if n=1
S(R,P) = 5 if R<P
Q.6. For the following array find out the location (value of LOC) for 14 using Binary Search: