Computer Science Paper 1 Definitions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

GCSE AQA Computer science

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

Variable

A named storage location in memory that can hold a value which may change during program execution.

2
New cards

Constant

A named value that does not change during program execution.

3
New cards

Assignment

Giving a variable a value using the = symbol (e.g., x = 5).

4
New cards

Sequence

Instructions that are executed one after the other, in order.

5
New cards

Selection

Decision-making using conditions (e.g., if, elif, else).

6
New cards

Iteration

Repeating code (looping), using for or while loops.

7
New cards

Relational Operator (e.g. =, >=)

Used to compare values

8
New cards

Logical Operator

Used to combine or modify Boolean conditions (e.g. and, or)

9
New cards

Arithmetic Operator

Maths operators

10
New cards

Data Type

A data type defines the kind of data a variable can hold and what operations can be performed on it.

11
New cards

Data Structure

A data structure is a way of storing multiple data values under one variable name, often of the same or related types. This allows data to be accessed, searched, and looped through more easily and efficiently.

12
New cards

Algorithm

A sequence of steps/instructions that can be followed to complete a task.

13
New cards

Function

A named block of code that performs a specific task and can be reused.

14
New cards

Parameter

A variable in a function definition.

15
New cards

Argument

The value passed to a function when called.

16
New cards

Return

The value a function sends back after processing.

17
New cards

Syntax Error

Mistake in the structure of the code (e.g., missing parentheses or incorrect punctuation) that prevents the program from compiling or running.

18
New cards

Logic Error

Code runs but behaves incorrectly.

19
New cards

Runtime Error

Error occurs while the program is running (e.g., divide by 0).

20
New cards

Test Data – Normal

Expected, valid input.

21
New cards

Test Data – Boundary

Input at the edge of acceptable ranges. (can be both valid and erroneous)

22
New cards

Test Data – Invalid

Unexpected or incorrect input.