2.a) Define a data manipulation language. Write a syntax for the following and give an
example for each:
i) Select statement
ii) Update statement
iii) Delete statement
iv) Insert statement.
b) What are the insertion, deletion and update anomalies that occur in a database?
[12+4]
3.a) Define the following steps per execution, best case step count, worse case step
Count and average step count.
b) Prove that if f(n)= am nm + ......... a1 n + a0 then f(n)= O(nm). [8+8]
4.a) What is the solution generated by the function Js when n= 7, (P1, P2, .... , P7) = (3,
5, 20, 18, 1, 6, 30) and (d1, d2, ......... d7) = ( 1, 3, 4, 3, 2, 1, 2)?
b) Let n= 5, (P1, P2, ..... , P5) = ( 20, 15, 10, 5, 1) and (d1, d2, ........ d5) = ( 2, 2, 1, 3,
3). By using the feasibility rule, find out the optimal solution and profit. [8+8]
7. Suggest three measures, three metrics and corresponding indicators that might be
used to assess the service department of an LPG dealership. [16]