DAA - ASSIGNMENT - Unit-3 Practice Questions
DAA - ASSIGNMENT - Unit-3 Practice Questions
11
Show the result of inserting the keys F, S, Q, K, C, L, H, T, V, W, M,
R, N, P, A, B, X, Y, D, Z, E in order into an empty b-Tree. use t=3,
where t is the minimum degree of B-tree.
12
What are the differences in Binomial and Fibonacci Heap?
Write down the algorithm for decrease key operation in
binomial heap also write its time complexity.
13 Explain Job Scheduling (Task Scheduling) with deadlines with suitable Example.
14 Discuss and write algorithm of Strassen Matrix Multiplication. Also, Discuss how Strassen
Matrix Multiplication is better than Standard
15 What is skip list? Explain the search operation in skip list with suitable example. Also write
its algorithm.
16 Discuss task scheduling problem with the help of greedy strategy and develop an algorithm
to solve the following problem. We are given 9 tasks T1, T2,…T9. The execution of each task
requires one unit time. We can execute one task at a time. Ti has a penalty Pi and a deadline
Di. Penalty Pi is paid if task is not completed before the end of the Di unit of time.
Task T1 T2 T3 T4 T5 T6 T7 T8 T9
Penalty 15 20 30 18 18 10 23 16 25
Deadline 7 2 5 3 4 5 2 7 3