Fun of Structured Prog - 2021
Fun of Structured Prog - 2021
Fundamentals of structured
programming
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Before /5
Fundamentals of structured programming
After /5
Success Criteria
• Explain what is structured programming and the reasons for it
Success Criteria
Todaywhat
Explain we are practising the
is structured ACP of Analysing
programming and thebyreasons
the ability
fortoit work
Demonstrate how effectively
to writewithin
good, the rules and
efficient of a easy
domain
to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Indenting your work example
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Commenting example
• Some of the best written code doesn't need comments because if you
have structured it correctly and used all the proper naming
conventions it should be pretty easy to read. However for the code
you are writing you should put some comments to explain what each
section does.
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
• List three reasons for using functions and procedures to structure your
code:
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
• List three reasons for using functions and procedures to structure your
code:
• Answer :
• You can re-use the code
• You can test parts of the code individually
• The code is easier to read and understand
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Give three structured programming
techniques that could be used to improve the
code…
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
• Use comments
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Activity 01
• Read and complete the tasks from pages 28 -34 and answer all task
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Activity 2
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
• Your peer will now respond and give advice based on the structure
programming
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Challenge Activity
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Challenge Extension
• The rest of the record should include; Name, Address, BMI, height,
weight and goal.
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.
LO: Structure programming, the concepts of efficient code
Plenary
Success Criteria
Explain what is structured programming and the reasons for it
Demonstrate how to write good, efficient and easy to read code.