Exercise 4


 * 1) Discuss the following VB functions: (a) Len, (b) AllTrim, (c) DateAdd, (d) DateDiff ..... 12 Marks
 * 2) Define the following terms: a. Insertion sort, b. Selection sort, c. Binary search...... 6 Marks
 * 3) Write a VB procedure to sort data in a one dimension array using the insertion sort...4 Marks
 * 4) Write a VB procedure to search data in an array using Binary Search. ....5 Marks
 * 5) Write a VB program to store Name, CAT1, CAT2 and Exam marks of 50 students, compute the total and ward grades ...... 10 Marks
 * 6) Write a VB program to compute the volume of a sphere ... 3 Marks