To Lecture Notes

LSP 121 -- 10/26/10

 

Review Questions

  1. Why is using Filter usually better than using Find to locate data in an Access table?

    Ans: When using find, the format of the field value must be exact, for example 90.0 instead of 90. If the format is not exact, the value might not be found. However, Find is easier to use than a filter when the filter involves many columns.

  2. Give a reason reason why you might prefer the Text datatype over the Number datatype for a column.

    Ans: Values of a field containing Text values can be any string of characters. For example "34544-1002" might be entered as a zip code. This value would not be possible for a Number datatype.

  3. Give a reason why you might prefer the Number datatype over the Text datatype for a column.

    Ans: One cannot do arithmetic on Text values. Also, numbers will not sort in numerical order if they are Text values.

  4. In the StateTemperatures Example that you used in Activity 2, how would you create a filter to show all of the rows where the average temperature in January was greater than or equal to 88 degrees or less than or equal to 0 degrees?

    Ans: Use this Advanced Filter/Sort:
    Field: January
    Sort:  
    Criteria: >=88
    or: <=0

  5. True or False. When typing a column name into a filter, put the name in double quotes.

    Ans: False, you put values of a Text field in double quotes. You put a column name in square brackets like this [Age] or [PersonData.Age].

  6. Define these terms:

    Ans:

  7. Describe the process of normalizing a table with repeated groups.

    Ans: (a) Keep the data that is not part of a repeated group in the original table. (b) Move the repeated group to a new table. (c) Choose primary keys in the original and new tables. Add new id variables, if necessary, for primary keys. (d) Add the primary key of the original table to the new table as a foreign key.

 

Access Queries

 

Activity 10