Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Kindly provide me witth code and screenshots as well. Structuring Code Control flow has allowed us to create dynamic programs that can use conditions within
Kindly provide me witth code and screenshots as well. Structuring Code
Control flow has allowed us to create dynamic programs that can use conditions
within the code to create branches and loops. This has given you a lot of capability,
but the code can quickly get out of hand without a better way of organising things.
In this module, learn about how to structure your code to better organise the logic
and your thoughts.
Learning Goals
To complete this task, you need to demonstrate that you can do the following:
Create, work with, and describe functions and procedures and how they
operate.
Use parameters to accept data into functions and procedures.
Return data from functions.
Focus
As you work through this task, focus on the following aspects of the unit:
Programming concepts: Focus on how functions and procedures allow
you to modularise your code, and how parameters allow you to send data
around your program.
Programming process: Focus on how we can breakdown larger programs
into smaller functions and procedures, allowing each to have a single
purpose and a small amount of logic.
Coding: Focus on memorising the language rules for creating functions and
procedures, parameters, and returning data.
Professional Characteristics: Continue focusing on building your
attention to detail, and in this topic, how you can supercharge
compartmentalisation using functions and procedures.
SIT Introduction to Programming P Structuring Code
Page of
Your Task
For this task you will need to submit the following:
A PDF document containing:
o Summaries and reflections.
o At least three screenshots:
One each for the change calculator, guess that number, and
the test your knowledge activity
o Learning Journey and Resources
Source code for:
o Revised Change Calculator
o Code for Guess that Number
o Your chosen program from the Test Your Knowledge activities
Complete Learning Activities
Work through these steps to develop and demonstrate your understanding. Aim
to demonstrate, to yourself and others, that you have achieved the learning goals.
Everything your need is in Chapter Structuring Code from Part of the
Programmers Field Guide.
Build at least two small programs to test out how functions and
procedures work
a Create a program with a procedure test out calling it multiple
times. See this age for examples.
b Create functions to read a string, read an integer, and read an
integer within a range eg an integer between and and a
program to test these. Include parameters for the prompt and
the range in read integer range. For help with the logic see the
Read Functions page
SIT Introduction to Programming P Structuring Code
Page of
Build the revised Change Calculator, Guess that Number, and the
updated Fly Catch program. Capture notes on your learning as you
progress, indicating if and where you need to review the existing
solutions.
Complete one of the Test Your Knowledge activities.
Prepare your summary, making sure to cover all learning goals and
related concepts. Remember that this is a personal summary that
demonstrates your understanding of the concepts.
Prepare your reflections by responding to the following:
o How do you know you have achieved the learning goals?
o What is the most important thing you learned from this and why?
Capture your learning journey and collate your evidence of study and
practice.
Upload Your Submission & Engage with Feedback
Mark the task as Ready for Feedback and upload the required files. Make sure
to keep copies of these in case you need to resubmit. Then engage with the
feedback you receive and get the task Complete!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started