Explore

Debugging code Flashcards
OCR GCSE J277 Computer Science specification
Ready to master these flashcards?
Sign in to study with spaced repetition and track your progress.
Sign In to Track ProgressTerms in this set (20)
Debugging
The process of identifying and fixing errors in code.
Syntax error
An error that occurs when code breaks the rules of the programming language, preventing it from running.
Logic error
An error where the program runs but produces incorrect results due to flawed logic.
Iterative testing
Testing code repeatedly during development to identify and fix errors early.
Final/terminal testing
Testing the program at the end of development to ensure it meets requirements and works correctly.
Erroneous test data
Data of the wrong type used to test how the program handles incorrect input.
IDE (Integrated Development Environment)
A software application that provides tools for coding, debugging, and testing programs.
Code editor in an IDE
Allows programmers to write and edit code with features like syntax highlighting and auto-completion.
Error diagnostics in an IDE
Identifies mistakes in code, such as syntax errors, and provides feedback to fix them.
Run-time environment in an IDE
Allows programmers to execute and test their code within the IDE.
Example of an IDE: PyCharm
An IDE designed for Python programming, offering debugging tools and code analysis.
Example of an IDE: Visual Studio
A versatile IDE for multiple languages, including C#, with debugging and testing features.
Example of an IDE: IDLE
A simple IDE for Python, suitable for beginners, with basic editing and debugging tools.
Syntax error diagnostics
Identifies errors where code breaks the rules of the programming language, preventing it from running.
Logic error diagnostics
Helps identify errors where the program runs but produces incorrect results due to flawed logic.
Test plan
A document outlining the testing process, including test cases, expected outcomes, and actual results.
Normal test data
Typical valid data used to check if the program works as expected.
Boundary test data
Data at the edge of acceptable input ranges to test limits of the program.
Invalid test data
Correct data type but outside acceptable ranges, used to test error handling.
Erroneous test data
Data of the wrong type used to test how the program handles incorrect input.

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Start Learning