Monday 5 October 2015

PowToons, Syntax Definitions


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

Flowcharts


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.
Flowchart, calculates average. Input values, asks whether they have finished entering values, if not then you continue inputting values, if yes then calculates average and outputs answer.