Debugging code Flashcards

OCR GCSE J277 Computer Science specification

Debugging

The process of identifying and fixing errors in code.

1 / 20

Ready to master these flashcards?

Sign in to study with spaced repetition and track your progress.

Sign In to Track Progress

Terms in this set (20)

1

Debugging

The process of identifying and fixing errors in code.

2

Syntax error

An error that occurs when code breaks the rules of the programming language, preventing it from running.

3

Logic error

An error where the program runs but produces incorrect results due to flawed logic.

4

Iterative testing

Testing code repeatedly during development to identify and fix errors early.

5

Final/terminal testing

Testing the program at the end of development to ensure it meets requirements and works correctly.

6

Erroneous test data

Data of the wrong type used to test how the program handles incorrect input.

7

IDE (Integrated Development Environment)

A software application that provides tools for coding, debugging, and testing programs.

8

Code editor in an IDE

Allows programmers to write and edit code with features like syntax highlighting and auto-completion.

9

Error diagnostics in an IDE

Identifies mistakes in code, such as syntax errors, and provides feedback to fix them.

10

Run-time environment in an IDE

Allows programmers to execute and test their code within the IDE.

11

Example of an IDE: PyCharm

An IDE designed for Python programming, offering debugging tools and code analysis.

12

Example of an IDE: Visual Studio

A versatile IDE for multiple languages, including C#, with debugging and testing features.

13

Example of an IDE: IDLE

A simple IDE for Python, suitable for beginners, with basic editing and debugging tools.

14

Syntax error diagnostics

Identifies errors where code breaks the rules of the programming language, preventing it from running.

15

Logic error diagnostics

Helps identify errors where the program runs but produces incorrect results due to flawed logic.

16

Test plan

A document outlining the testing process, including test cases, expected outcomes, and actual results.

17

Normal test data

Typical valid data used to check if the program works as expected.

18

Boundary test data

Data at the edge of acceptable input ranges to test limits of the program.

19

Invalid test data

Correct data type but outside acceptable ranges, used to test error handling.

20

Erroneous test data

Data of the wrong type used to test how the program handles incorrect input.

Genie

Want to Learn More?

Get personalised lessons, quizzes, and instant feedback from your AI tutor.

Start Learning