null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
16611595
2.2 - Programming Techniques
Description
Mind Map on 2.2 - Programming Techniques, created by Sam Haynes on 01/02/2019.
No tags specified
gcse
Mind Map by
Sam Haynes
, updated more than 1 year ago
More
Less
Created by
Sam Haynes
over 5 years ago
18
0
0
Resource summary
2.2 - Programming Techniques
Variables
Should not contain spaces and they shouldn't start with a number.
If the inputs come from the console, from a file or from elsewhere in a modular program.
AKA parameters.
Booleans
And, or, not, larger, smaller, equal, not equal.
String/characters
Slicing, length, format.
Modular division
Finding a remainder.
5MOD2 would give 5.
Integer division
5DIV2 would give 2
Stores values whilst a program is running.
Values can change.
String Features
Slicing
LEFT("Monkey") gives "Monk"
Length
LEN("Monkey") gives 6
Change case
Monkey ---> MONKEY ---> monkey
Sequencing
Allows a programmer to solve complex tasks through a number of simple steps.
Benefits
Each line follows the next.
Creates simple programs very quickly.
Easy to follow for a small program.
Fundamental principals of a program.
Starts at the top, finishes at the bottom.
Disadvantages
Not at all efficient.
Becomes very difficult to follow with large programs.
Extremely hard to maintain.
Selection
Changes the flow of a program, depending on a set of decisions.
Used for validation, calculation and making sense of a user's choices.
Nested Selection
A statement within a statement.
Constants
Store values whilst program is running.
Values remain the same.
Basic Programming Constructs
Sequence
Selection
Iteration
2 dimensional array
Has rows and columns.
Each row/column/index holds data.
Features of a table
Fieldname
Title of each column.
Primary Key
A unique number to identify an object.
Record
Each individual cell's data.
Subroutines
Can be repeated in different parts of code.
Work can be split between programmers.
Functions return a value.
Procedures DO NOT return a value.
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
transition metals
Ella Wolf
Trigonometry Mind Map
rory.examtime
Geography - Population
bohcass
Physical Geography
littlegoulding
Cory & Manuel
Prudensiano Manu
P4: Explaining motion
thegeekymushroom
med chem 2
lola_smily
Plant and animal cells
Tyra Peters
Penson
Roslyn Penson
CCNA Security 210-260 IINS - Exam 3
Mike M
Unit 1 Chapter 1 Items
Gene G. Dydasco
Browse Library