Mind map
2.1 pseudocode and Flow Charts
Map content
2.1 pseudocode and Flow Charts
psuedo code
- number1=input()
- number2=input()
- if number 1>number 2 then
- print ("the largest number is" + number1)
- else
- print ("the largest number is" + number 2
- end
- print ("the largest number is" + number 2
- else
- print ("the largest number is" + number1)
- if number 1>number 2 then
- number2=input()
- number1=input()
global commands show variable can be used sub routines
CONST=constant variable in the programme that wont change
- iteration : while....=x
- (condition) endwhile
- iteration : for … 0 to 5:
- (count) next
- iteration : for … 0 to 5:
- (condition) endwhile
- iteration : while....=x
flow chart -
- terminators, arrows, yes/no,input/output, decision, sub routine
!= (not equal to) ==(equal to)
- <,<= (less than (or equal to))
- >,>= (more than (or equal to))
- MOD (6/2=3(no remainder)) shows the remainder ie 7/2=3 r1
- DIV integer division (7 DIV 2=3) whole number
- MOD (6/2=3(no remainder)) shows the remainder ie 7/2=3 r1
- >,>= (more than (or equal to))
- <,<= (less than (or equal to))
selection
- if x ==6 THEN
- ELSEIF
- ELSE
- SWITCH X:
- CASE "a":
- CASE "b":
- DEFAULT
- ENDSWITCH
- DEFAULT
- CASE "b":
- CASE "a":
- SWITCH X:
- ELSE
- ELSEIF
- if x ==6 THEN
Information
- Description
- Mind Map on 2.1 pseudocode and Flow Charts, created by connor Martin on 14/02/2019.
- Created by
- connor Martin
- Views
- 5
- Rating
More on Algorithms and Flowcharts