Upgrade to remove ads
2.2 Programming Techniques
Terms in this set (36)
- Refers to the process of simply carrying out the instructions in order, step by step.
- Linear step-by-step commands. A always leads to B and B always leads to C...
- Refers to the program choosing what to do next by evaluating a condition.
- A branch in the program. Code will be run only if a condition is met. Example: IF Statements or Case statements (Switches).
Loops. Repeating code for a specific number of times (for loops) or while a condition remains true (while loops).
An array is used to store a group of similar items together as a single structure.
The functional type of data held by a computer - determines what can be done with it in programming.
Usually text, a collection of characters in a set of speech marks. This can be a word, sentence, password, telephone number...
A whole number - no decimal place.
Real (aka Float)
A number with a fractional value, such as 2.37.
A state of True or False
A single letter or character
Changing a value from one datatype to another.
Examples are add, subtract, multiply and divide.
Examples are NOT, OR and AND
Works out a number to the power of something
Returns the whole number part of a division only
Is equal to
<> or !=
Is not equal to
A value that stays the same throughout the program and has to be declared at the beginning of the program
A value that can change throughout a program
These store data in fields. Multiple fields make rows. Rows make up the database structure
The 'heading' of a category (name/age/address)
A collection of fields
A field which is a unique identifier for the row. There can only be one per table
SQL (Structured Query Language)
Can be used to create, update and search databases
A command in SQL to tell the database what information you want it to retrieve
A command in SQL that tells the database which tables to look in
A command in SQL that is used to specify conditions that a record must satisfy before it's returned
A command in SQL used to sort records into ascending or descending order
Sets of instructions stored under one name
Sets of instructions stored under one name that will always return a value
A mini program within a bigger program
Can be used anywhere in the code
Can only be used where they have been declared/created (E.g. in an IF statement)
Good for where instructions need to be repeated, help give a program structure, makes code more efficient
THIS SET IS OFTEN IN FOLDERS WITH...
2.3 Robust Programs
GCSE Computer Science J276- 2.1 Algorithms
GCSE Computer Science Unit 2.2 Programming techniq…
YOU MIGHT ALSO LIKE...
2.2 Programming Techniques
Python - Chapter 2
Programming Logic - Chapter 2
SP Vocab Programming Basics
OTHER SETS BY THIS CREATOR
OCR GCSE Computer Science 9 - 1 (Component 1)
1.8 Ethical, legal, cultural and environmental con…
1.7 Systems software