Methods for creating algorithms and the processing steps necessary to achieve the transformation from a design to a solution Flashcards
Data dictionary
A data dictionary is used to plan storage structures. A data dictionary should list every structures name and data type however can also include the data’s purpose, source, size etc.
Object naming
By using the method of object naming you allow yourself to create clear and obvious names for your storage structures.
Hungarian notation- Hungarian notation involves adding an objects type to the beginning of the name (temperature turns into intTemperature)
CamelCase naming- CamelCase naming involves using capital letters to mark the beginning of a new word in a file or object name (inttemperaturecelcius turns into intTemperatureCelcius)
Data structure diagram
A data structure diagram shows the structure and relationships within and between the data in the dictionary
IPO chart
An IPO chart helps programmers to design formulas and algorithms. First enter the information required into the output column (eg Age), then ask what is needed to calculate the output (DOB, current date) which should be entered in the input column, and finally enter the kind of processing (algorithm) which needs to be done using the input to calculate the desired output [(Current date - DOB) / 365]
Object description
An object description is a way of describing all the relevant properties, methods and events of an object
Pseudocode
Pseudocode is a cross between English and source code and is a way to write an algorithm
Interface mock-up
An interface mock-up is a sketch showing how a screen or printout will look. Interface mock-ups are made to ensure that the interface is created to be usable and clear