2.3.2 Testing

Cards (14)

  • What is the primary purpose of testing in software development?
    To find defects/problems so they can be fixed before the program is used.
  • Why is it important to ensure that end results meet user requirements?
    To ensure that the software fulfills the needs and expectations of the users.
  • What is the significance of ensuring calculations are done correctly in testing?
    It prevents incorrect outputs that could lead to user dissatisfaction or errors in functionality.
  • How does testing contribute to user/customer confidence?
    By identifying and fixing issues before the software is released, it assures users of its reliability.
  • What are the two main types of testing in software development?
    • Iterative Testing: Testing during development.
    • Final Testing: Testing after the majority of development has been completed.
  • What is a logic error in programming?
    An error that results in incorrect output but does not crash the program.
  • What is a syntax error?
    An error in the grammar of the program that prevents it from running.
  • What types of test data are used in software testing?
    • Normal: Data the program expects.
    • Boundary: Data on the boundary of expected values.
    • Invalid: Data beyond the expected range.
    • Erroneous: Data the program does not expect.
  • How would you categorize the test data of 25 kg for luggage in the OCR Airlines example?
    Boundary test to check borderline free baggage.
  • What is the purpose of testing with 30 kg of luggage in the OCR Airlines example?
    To test normal values for paid luggage.
  • What does testing with 50 kg of luggage aim to achieve in the OCR Airlines example?
    To test borderline disallowed luggage.
  • Why is testing with 60 kg of luggage considered invalid in the OCR Airlines example?
    Because it exceeds the maximum allowed weight of 50 kg.
  • What is the purpose of testing with non-numeric data like "Bananas" in the OCR Airlines example?
    To test that erroneous/non-numerical data is rejected.
  • What does testing with -1 kg of luggage aim to achieve in the OCR Airlines example?
    To test that erroneous negative values are rejected.