Module # 5.2.4


Use sorting and searching techniques to solve a specific problem

Getting there

Lets start with some basics:

SORT does HIGHEST and LOWEST really well.
QUERY does "has" really well.

Now look at the graphic:524.gif (3338 bytes)
If the RED circle represents the whole database, the blue circle are the records that meet a criteria (second graders for example).  The purple lines are the individual records.  Notice that some are longer than others. 

FIND THE SHORTEST SECOND GRADER.

You would do that by querying for second graders and then sorting by height.

 

Exercise #1

Design the way to find the widest blue square below.524a.gif (2597 bytes)


  • Return to Competency 5
  • Return to CUIN-101 homepage
  • Return to CUIN-101 Major Competencies
  • Return to Cobitz.com
  • Copyright 1998 by Christopher I. Cobitz

    Questions regarding this page may be sent to Christopher I Cobitz