Sorting+a+List+-+Test

Sorting Assessment



1) Give the statement(s) required to declare a single dimensional array (list), that can hold 20 character strings.

2) Write the code required to fill a list declared by the following statement: Dim Santa(80) as integer,  with randomly generated integers from 5 to 300.

3) Write the code that would sort the list called Santa(80) into ascending order, (no need to place on screen).  Please use a "Bubble Sort", yes that is the one we used in our sorting program.

4) What would you have to modify in order for the sort routine to do a descending sort?

5) Name as many computer languages as you can.

Web Picture References: http://www.scientificcomponent.com/images/pc_vb_code.jpg