GoConqr has a new look! Let us know what you think.

Flashcards

Syntax, logic errors and test data

Anisha Rai Computing GCSE English 14 cards

Cards in this deck (14)

  1. 1What is debugging?Identifying and correcting errors in a program
  2. 2What is syntax?The set of rules for the coding language:
    Words and symbols that can be used
    How they should be used in commands and statements
  3. 3What are syntax errors?Mistakes made in the use of the words and symbols
  4. 4Give some examples of syntax errorsSpelling mistakes
    Use of commands not actually in the language
    Words not in the correct order
    Missing quote marks or brackets
  5. 5What is a logic error?They result in unexpected or incorrect outcomes when a program is run
  6. 6Give an example of a logic errorConditions and incorrect use of comparative operators
    e.g. > and =>
  7. 7What is testing?It is essential to check there are no syntax and logic errors. Especially important for life or safety critical systems
  8. 8When should testing be done?During development and not just at the end
  9. 9What should be included in a test plan?Stating test
    Why done
    The test data to be used
  10. 10What is a valid test?Enter an expected value that should be acceptable to the program
  11. 11What are in-range and out-of-range tests?They test what happens when acceptable and unacceptable numbers are entered
    An error message should be displayed
  12. 12What is a boundary test?When you a enter a number at the limit of what is acceptable
    Should also test numbers just outside the boundary
  13. 13What is a null value test?Checks what happens if an entry is not made or a field is left blank
  14. 14What is an invalid test?When you enter totally unexpected data
    e.g. of a different data type

Information

Description
GCSE Computing (7 Programming) Flashcards on Syntax, logic errors and test data, created by Anisha Rai on 20/04/2016.
Created by
Anisha Rai
Views
4
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?