What are the 3 types of errors?

  1. Syntax – like grammar errors, cannot be interpreted by computer
    (ex) forgetting a bracket
  2. Runtime/Exceptions – syntax is correct, but occurs during execution an after interpretation
    (ex)  calling a procedure that doesn’t exist
  3. Logic – most difficult to trace. Nothing wrong with code, something wrong with coder’s brain
    (ex) When you want to get income, you accidently add revenue and expenses, instead of subtracting expenses from revenue

Published by