Syntax and Logic Errors

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

Syntax Errors

Errors within the code causing program failure

2
New cards

Logic Errors

Errors altering program outcome, not causing failure

3
New cards

Suitable Test Data

Data types for testing program functionality

4
New cards

Normal Data

Accepted data without errors

5
New cards

Invalid Data

Correct data type but does not meet requirements

6
New cards

Erroneous Data

Data not of correct data type

7
New cards

Boundary Data

Data at the edge of specified range

8
New cards

Terminal Testing

takes place once the program has been completed. It tests the whole program at the end of its development

9
New cards

Iterative Testing

Testing sections of code throughout development to ensure it runs correctly throughout the code

10
New cards

Sub-program

Block of code with an identifier called when needed.
Using sub-programs helps in organizing and maintaining code efficiently.

11
New cards

Naming Conventions

General rules for creating identifiers in programming languages
Eg:
Separate words in identifiers using an underscore
ā€¢ Write constants that will be remain constant throughout the program in capital letters
ā€¢ When creating classes, start each word with a capital letter
ā€¢ When creating functions use lowercase letters and separate with an underscore

12
New cards

Maintainability

Ease of future program maintenance through structure and layout
Examples:
Comments
Indentation
Sub programs
Naming Conventions

13
New cards

Indentation

Forced in some languages like Python for program functionality

14
New cards

Input Sanitisation

Cleaning up user input for suitable processing

15
New cards

Validation

Checks if user input is in correct format, not correctness