A451 Theory
Monday, 5 October 2015
Data Types
- Integer - An integer is a positive or negatvie whole number
- Real - A real is not a whole number, it contains a decimal
- Boolean - Boolean stores only two positive values, true and false
- String - A string of characters, text
Thursday, 17 September 2015
Algorithms
Flow chart for Area of a Triangle. Inputs Base length, then height, then calculates area, finally it outputs value. |
Flowchart calculates area & circumference of circle. Inputs radius, Asks if area or circumference, calculates it, outputs answer |
Flowchart, calculates average. Inputs number of values they intend to put it, then inputs values, then calculates the average and outputs answer. |
Subscribe to:
Posts (Atom)