Flashcards
Algorithms
Cards in this deck (15)
- 1What are the 3 main constructs of an algorithm?Sequence
Iteration
Selection - 2Explain the term sequenceA sequence is the step by step instructions that need to be followed to complete a task
- 3Explain the term iterationAn iteration is a term that needs to be met, and if it isn't it's the start of a loop.
- 4Explain the term selection.A selection is a question, and the computer takes two courses of action
- 5what does: the decision icon look like and mean?The decision is a choice of options, an iteration. It looks like a diamond.
- 6What does: the terminator look like and mean?The Terminator is the start or the end of a flow chart. it is an oval
- 7What does: an input/output box look like and do?The input/output box is a Rhombus, and it signifies a point where the flow-chart asks for user input, or outputs something to the user.
- 8What does: a process box look like and do?The Process box is a rectangle, and it is used to signify and operation
- 9what is a variable?A variable is a container used to store changeable values
- 10how do we name a variable?we give it an identifier
- 11what is the Camel form of variable naming?No Underscores, just a capital to separate the words LikeThis
- 12what is the snake form of variable naming?Words separated by an underscore
Like_This - 13True or False: a shorter variable name is better than a longer one.True, but only if it gets the point across, longer variables can easily have spelling errors.
- 14what is pseudo-code?Pseudo-code is an amalgamation of english and code.
- 15why do we use pseudo-code?we use pseudo-code because it is easy to translate it into code and it is easier to spot errors in pseudo-code than in code.
Information
- Description
- GCSE Computing Flashcards on Algorithms, created by Brandon Beckett on 16/09/2016.
- Created by
- Brandon Beckett
- Views
- 20
- Tags
- History
-
- Created by Mrs H. Noble · Sep 15, 2016
- Copied by Brandon Beckett · Sep 16, 2016
- Rating