Explore

Code Readability 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 (10)
Maintainability
The ease with which code can be understood, modified, and extended.
Naming conventions
Using meaningful names for variables, constants, and subprograms to make code easier to understand.
Indentation
Structuring code visually to show the flow of control and make it easier to read.
Commenting
Adding notes within code to explain its purpose or functionality for future reference.
Subprograms
Functions or procedures that break code into smaller, manageable sections to improve readability and reusability.
Local variables
Variables declared within a subprogram, improving readability by limiting their scope.
Global variables
Variables accessible throughout the program, which can reduce readability if overused.
Defensive design
Anticipating misuse and designing code to handle errors gracefully, improving maintainability.
Indentation purpose
Helps programmers identify blocks of code, such as loops or conditionals, improving readability.
Commenting purpose
Explains complex sections of code to make it easier for others to understand and maintain.

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