Higher Computing Software Development -So Far 5/10/10
ADITDEM • Analysis – Program Specification • Design – Pseduocode, Top down design, Bottom up • Implementation – Visual Basic, Scratch • Testing – Normal, Extreme & Exceptional • Documentation – User guide, Technical guide • Evaluation – Robust………. . • Maintenance – Perfective, Corrective……
String Handling • Concatenation – Joining strings together & • Left, right, mid, Len function • vb. Cr. Lf – new line on a string
Variables • String – Text, numbers not used for calculation • Numeric – Integer – whole numbers – Single – Real numbers – Boolean – true/false • Array – a list of any data type • Variant – data type that is not defined, its is created “on the fly” by VB • Option Explicit – Gets rid of variant data types • DIM – set up a variable
Selection • Simple – IF with one comparator • Complex – IF with more than one comparator and logic operator • Else and ELIF – allows for changes in comparison • SELECT CASE – Simplifies IF. . ELSE
Unconditional Loops • Iteration (repetition) that happens a specific number of times. • Nesting for loops For Length = 1 to 10 For Breadth = 1 to 10 Area = length * breadth Next
Conditional Loops • Do. . . Loop Until – Loops until a condition is met – Must be executed at least once! – Condition is checked at the bottom • Do While…Loop – Loops while condition is true – May never be executed if condition is false – Condition is checked at the top