n5 computing science structure diagrams

16
Structure Diagrams

Upload: forrester-high-school

Post on 22-Jan-2018

198 views

Category:

Education


4 download

TRANSCRIPT

Structure Diagrams

Structure DiagramsA structure diagram is a way to graphically represent the steps required to solve a problem.

Structure DiagramsStructure diagrams are read from the top down and then left to right.

Structure DiagramsA program is required to:get 2 numbersadd themdisplay the result

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:get 2 numbersadd themdisplay the result

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:get first nameget last namejoin them (concatenate) display the full name

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:get first nameget last namejoin them (concatenate) display the full name

Produce a structure diagram to solve this problem.

Structure DiagramsStructure diagrams use 4 notations:

Structure DiagramsA program is required to:Show the 6 times table

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:Show the 6 times table

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:Ask for and validate a password

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:Ask for and validate a password

Produce a structure diagram to solve this problem.

Structure DiagramsA program is required to:Calculate the average age of 10 people

Structure DiagramsA program is required to:Calculate the average age of 10 people

Structure DiagramsA program is required to:Calculate and round the average age of 10 people

Structure DiagramsA program is required to:Calculate the average age of 10 people