Demonstrate the use of custom procedures

Assignment Help Other Subject
Reference no: EM132130531

Instructions

Quiz 1 will have three separate sections:

1. Questions related to programming terminology, associated artefacts and actions.

2. Hand execution questions, where you demonstrate what changes in memory as some code runs.

3. One code writing question, where you build a small program Do the following to prepare for this quiz:

Complete the 1.x, 2.x, and 3.x pass tasks

Revise the following programming terminology, artefacts, and actions

Identifier, Statement, Expression, Local Variable, Global Variable, Parameter Procedure, Function, Variable, Constant, Procedure Call, Assignment Statement, If Statement, Switch/Case Statement, While Loop, Do White Loop

Review your Hand Execution tasks from weeks 2 and 3
Try coding up the Sample Code Writing Question that follows. Make sure you can print a web page to PDF.

When you are ready, connect to the Cloud Deakin Unit Site and locate Quiz 1. Once you start the Quiz you will have 90 minutes to complete it. At the end of this time you will still be able to submit your answers, but they will be marked as late.

Once you submit your quiz and upload your submission to OnTrack it will be checked by your tutor. You will get an opportunity to fix and resubmit if there are any issues, otherwise the task will be marked as Complete as normal.

Sample Code Writing Question

Write code for a program that will allow the user to convert between feet and metres.

Show the user a menu: 1: Feet to Metres 2: Metres to Feet 3: Quit Ask the user to choose an option.
Based on their selection perform the necessary conversion and output the result to the terminal Repeat this until they choose to quit

Metres to Feet is calculated as Feet = Metres * 3.28 Feet to Metres is calculated as Metres = Feet / 3.28

Make sure to demonstrate the use of custom procedures and functions in your code. For example display_menu can be used to output the menu each time within the loop, and metres_to_feet can be used to perform one of the calculations.

Note: There are multiple ways to structure this solution. However, in each case things like names of identifiers, sequences of instructions, and indentation will be important.

During the quiz

Try to relax and do your best, with this quiz you will have an opportunity to fix any issues and resubmit.

Remember to keep your hand execution - you will need to capture and submit this to OnTrack after you complete the Quiz.
With the code question:

Feel free to use VS Code to help write and test your program.

You can use your user input function - if you have these in their own header+cpp files then just #include the header as we can look at the other task for the implementation of these

Put the code in the text area on the Quiz, and upload to OnTrack once you are finished.

After submitting the quiz, login to OnTrack and: Submit this task for feedback

Upload an image of your hand execution (combine into one image) Upload your code from the code writing question

Present an explanation of your code using audio comments, or in person.

Explain each artefact (function/procedure/variable) you created, what it does, and why you created it.

Talk through the program execution - explaining the sequence of actions and how you use these to achieve the required features.

This can be presented in a casual tone, as if you are having a conversation between yourself and someone you know who wants to understand the program you have created. You can assume that the person has some knowledge of programming, but wants to know specifically about how you have structured your solution.

Assume you are talking with your tutor, and are explaining how the code works to them. This means you can focus on what you have done, and don't need to introduce programming ideas in general.

Attachment:- Quiz.rar

Reference no: EM132130531

Questions Cloud

How do historians look at the indian removal act : How do historians look at the Indian Removal act. Discuss your reaction to the "Trail of Tears" documentary.
Intellectual property protection to small businesses : Begin by reading the article linked below. This article discusses the value of intellectual property protection to small businesses; specifically
Enhance the social responsibility goals : The effective management of diversity can enhance the social responsibility goals of an organization. Other areas where sound management of diverse workforces
What role do they play in the promotion of public health : What role do they play in the promotion of public health? What mechanisms do they use? Do any publish a peer-reviewed journal?
Demonstrate the use of custom procedures : Questions related to programming terminology, associated artefacts and actions - Hand execution questions, where you demonstrate what changes in memory as some
How an organization did or did not use social media : Be sure to read the comments people have left on the news stories and in social media. Be sure to discuss how an organization or individual did or did not use.
In what ways do you think that a womens rights movement : What (if anything) do you think has remained consistent about the movement over time and what do you think has changed the most?
Create and communicate a thoughtful argument : Write one paragraph concluding your essay. Restate your initial position on the Electoral College
What makes a quote in your essay relevant : What makes a quote in your essay relevant? How should you choose quotes to insert into your paragraph? What does it mean to "frame your quotations"?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd