pseudocode

Cards (7)

  • data type - 

    e.g DATE
  • common command
    DECLARE (variable) : (data type)
    CONSTANT (variable) = (value)
    / division (result is REAL datatype)
    DIV() find quotient (int number before decimal point): perform integer division
    • MOD() remainder
  • ROUND()
    return value rounded to specified number of decimal places
    • result will rounded to next highest/lowest value depending whether value of preceding digit is >=5 or <5
  • boolean
    <=
    <>
  • arrays, function
    a
  • functions
    1. LCASE(String): lowercase
    2) UCASE(String)
    3) LENGTH(STRING)
    4) SUBSTRING(String, starting index, how many chars since index)
  • alg: find capitalised letter