Professional Documents
Culture Documents
Daa Terst Paper2
Daa Terst Paper2
Q1. Given 10 activities along with their start and finish time as
S ={ a1,a2,a3,a4,a5,a6,a7,a8,a9,a10}
Si ={1,2,3,4,5,6,7,8,9,10}
Fi ={5,3,4,6,7,8,11,10,12,13}
.
Q2. Explain Matrix Chain Multiplication with example.
Q3. Find the longest common subsequence from the given two sequence of
Characters.
P={A,B,C,D,B,C,D,C}
Q={B,C,D,C,D}
Q4. Find optimal schedule for the following task with given weights(penalties) and
dead lines.
T(i) 1 2 3 4 5 6 7
D(i) 4 2 4 3 1 4 6
W(i) 30 40 25 40 15 60 35