CPSC 333: In What Order Should Things be Listed?

Location: [CPSC 333] [Assignments] [Clarifications of Instructions for Assignment #1] Order of Listings


Question:

In what order should attributes be listed, in the ``type'' definitions of entities, etc., in a data dictionary?

In what order should be definitions be given?

Answer:

I don't care what order you use to list the names of attributes, when you list them in the ``type'' definition of an entity (or when you list the attributes of anything else with multiple attributes, in its type definition, when it is being defined in the data dictionary). I usually list the ``key'' attributes before the ``non-key'' attributes, but that's just because of my personal preference, and not because this is required.

The definitions themselves should be listed in alphabetical order (by order of the name of what is being defined), as has been mentioned already.


Department of Computer Science
University of Calgary

Office: (403) 220-5073
Fax: (403) 284-4707

eberly@cpsc.ucalgary.ca