2.3.2

Cards (8)

  • Syntax errors-
    • Getting the 'grammar' or rules of the programming language wrong
    • It will not run
    • When the compiler or interpreter doesn't understand something
  • Logic errors-
    • Code will run
    • Output/outcome is not what expected
    • Misplaced brackets in calculations
    • Iterations that loop incorrectly
    • Variables in wrong locations
  • Iterative testing:
    • Tests that are carried out during the development of the program
    • Often a programmer will test a module, fix any errors they find then test it again. They will repeat the process until the module is working correctly
  • Final testing:
    • Carried out at the end of the programs completion
    • The whole program is tested at the same time to check that it's working properly
  • Normal data:
    Things that the user is likely to input into the program
  • Boundary data:
    Values at the limit of what the program should be able to handle
  • Invalid data:
    Inputs with a correct data type that should be rejected by the program
  • Erroneous data:
    Inputs with an incorrect data type that should be rejected by the program