Code Readability Flashcards

OCR GCSE J277 Computer Science specification

Maintainability

The ease with which code can be understood, modified, and extended.

1 / 10

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 (10)

1

Maintainability

The ease with which code can be understood, modified, and extended.

2

Naming conventions

Using meaningful names for variables, constants, and subprograms to make code easier to understand.

3

Indentation

Structuring code visually to show the flow of control and make it easier to read.

4

Commenting

Adding notes within code to explain its purpose or functionality for future reference.

5

Subprograms

Functions or procedures that break code into smaller, manageable sections to improve readability and reusability.

6

Local variables

Variables declared within a subprogram, improving readability by limiting their scope.

7

Global variables

Variables accessible throughout the program, which can reduce readability if overused.

8

Defensive design

Anticipating misuse and designing code to handle errors gracefully, improving maintainability.

9

Indentation purpose

Helps programmers identify blocks of code, such as loops or conditionals, improving readability.

10

Commenting purpose

Explains complex sections of code to make it easier for others to understand and maintain.

Genie

Want to Learn More?

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

Start Learning