Back to 课程

Computer Science GCES OCR

0% Complete
0/0 Steps
  1. Cpu Architecture Performance And Embedded Systems Ocr
    5 主题
  2. Primary And Secondary Storage Ocr
    6 主题
  3. Data Storage And Compression Ocr
    12 主题
  4. Networks And Topologies Ocr
    6 主题
  5. Wired And Wireless Networks Protocols And Layers Ocr
    6 主题
  6. Identifying And Preventing Threats To Computer Systems And Networks Ocr
    2 主题
  7. Operating Systems And Utility Software Ocr
    2 主题
  8. Ethical Legal Cultural And Environmental Impact Ocr
    2 主题
  9. Computational Thinking Searching And Sorting Algorithms Ocr
    3 主题
  10. Designing Creating And Refining Algorithms Ocr
    5 主题
  11. Programming Fundamentals And Data Types Ocr
    5 主题
  12. Additional Programming Techniques Ocr
    7 主题
  13. Defensive Design And Testing Ocr
    6 主题
  14. Boolean Logic Diagrams Ocr
    2 主题
  15. Programming Languages And Integrated Development Environments Ides Ocr
    3 主题
  16. The Exam Papers Ocr
    2 主题
  17. Structuring Your Responses Ocr
    3 主题
课 Progress
0% Complete

Exam code:J277

The Purpose of Testing

What is the purpose of testing programs?

  • Testing is carried out for many reasons, however, 4 main areas are:

    • To ensure there are no errors or bugs in the code

    • To ensure that the code performs as it was intended

    • To ensure no one can gain unauthorised access to the system

    • To check the program solves the initial problem and meets all requirements

Types of Testing

What are the different types of testing?

  • There are two types of tests that developers and teams will do to ensure their programs are robust and meet the requirements that have been set out, they are: 

    • Iterative testing

    • Final testing

Iterative Testing

  • Each part of a program is tested

  • Every pathway through the program is tested

    • This includes each branch/pathway inside of IF statements

  • This is done during the development of the program

  • Iterative testing means repeatedly testing the program whilst continuing to make changes and make improvements

  • This method of testing ensures that the program is fully functional and working as intended

Examiner Tips and Tricks

If you get asked anything about iterative testing, just remember each time you ran your code when you were working on a program. Every time you ran the code, you were testing the program using iterative testing.

Final Testing

  • Testing that all parts (modules) of a program work together

  • Checking the program against real data to ensure it meets all of the requirements

    • Testing the program using normal, boundary and erroneous data

  • Final testing is done towards the end of the development cycle, once the entire program is complete

  • Final testing can include

    • Alpha testing

    • Beta testing

Worked Example

Describe the difference between iterative testing and final testing. [2]

Answer: 1 mark per bullet to max 2

  • Iterative is during development // repeatedly testing while making changes

  • Final is when the development is (almost) complete // done after iterative testing

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注