SIT102 - Introduction to Programming Structuring Code

Download Solution Order New Solution

Assignment Task

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 organizing 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 break down larger programs into smaller functions and procedures, allowing each to have a single purpose and a small amount of logic.

Coding: Focus on memorizing 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 compartmentalization using functions and procedures.

Your Task

A PDF document containing:

  • Summaries and reflections.
  • At least three (3) screenshots:
  • One each for the change calculator, guess that number, and the test your knowledge activity o Learning Journey and Resources

Source code for:

  • Revised Change Calculator o Code for Guess that Number
  • Your chosen program from the Test Your Knowledge activities

This SIT102IT and Computer Science has been solved by our PHD Experts at My Uni Paper.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.