Flashcards
flash cards
Cards in this deck (21)
- 1Processgiving data a context
- 2Outputdata that now means something
- 3Constantlike a variable but it does not change for example pi the number would be the literal and the name you have set it as would be the identifier
- 4Variablesomething that changes during a program for example the score of a game
- 5Data typesthe type of data, how it is stored and what it can be used for
- 6Arrayone dimensional one dimensional is a linier list E.G first name last name, two dimensional a table
- 7SequencingGetting things in the right order (The sequence that statements are executed is normally the same order that there listed in the code.)
- 8SelectionA logical decision is made to determine which rought is taken through a program
- 9scope• The scope of variables or constants within computer programs is the place in which that variable or constant name can be used. extra If a variable or constant is not in scope, then it cannot be referred to by name or written into; it is effectively invisible to that part of the program.
- 10Sub-routineset of instructions to perform a certain task stored once and called upon many times
- 11Procedurea large sub-routine called to perform a task. May or may not retain a value
- 12Functiona series of instructions to perform a task. When called it executes, returns a value then continues with the next line of code
- 13• Built in functionsPresent common functions provided by the language developers
- 14Procedures and Functions (Repeated tasks)A series of statements that exist outside the main program and that can be called upon
- 15For loops WhileFor loops = run a set number (n) of times
While – Keeps going until user says stop - 16Program flow controlNeed to be structured because:
Makes it readable and reliable
Makes it understandable and easier to maintain
TO do this
Brake complex problems into a series of smaller and more practicable steps
Smaller jobs and problems or easier steps to understand - 17CharacterCharacter data type can store a single alphanumeric character, such as: digit, letter, symbol or any punctuation marks.
- 18IntegerInteger data type can store any whole number, such as: -115, 0, 2, 341
- 19RealReal data types are used when there is a decimal point with a fractional number, such as: -32.15678, 0.012, 59.00564, 72.0
- 20BooleanBoolean data types are used for logical operations and have the value True or False
- 21StringString can be used to store an alphanumeric character, such as letter, digit, symbol, space or punctuation mark. It is normally used as an array so that: String could contain the message ‘Hello World!’
Information
- Description
- GCSE Computering Flashcards on flash cards, created by callumyoung1197 on 11/03/2014.
- Created by
- callumyoung1197
- Views
- 15
- Tags
- History
-
- Created by callumyoung1197 · Mar 11, 2014
- Copied by callumyoung1197 · Mar 11, 2014
- Rating