Flashcards
Untitled
Cards in this deck (9)
- 1Algorithmsa simple set of instructions to complete a task
- 2terminatorthis marks start or end of a process
- 3flow lineDenotes the direction of flow
- 4input/ outputRepresents either an input or output operation
- 5processDenotes a process to be carried out
- 6decisionRepresents a decision or branch. the result should follow one of two paths("yes" or "no")
- 7`pseudo codeii a simple set of near English instructions that can by readily converted into code.
notably each instruction must be in its simplest form. imagine a robot having to follow your instructions literally. - 8pseudo-code/Flowchart why do we need to develop an algorithm before coding a solution?to identify the problem and outline a set of simple instructions that will solve the problem. to ensure the code will solve the problem save time recoding the program avoid making errors.
- 9if statement if (expression true ): run- statements else: run- statements. if (2>1): print ("2 is greater them 1") else: print ("this will not print")condition
if condition is false
else code
if condition it true
if code
Information
- Description
- Flashcards on Untitled, created by Elleisha Doerr on 03/11/2015.
- Created by
- Elleisha Doerr
- Views
- 0
- Rating