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

  What interventions should the nurse expect to provide

what interventions should the nurse expect to provide, What child/family teaching would the nurse be expected to provide

  What would be the procedures for data collection

Identify one or two research questions based on the rationale.What topics would have to be covered in your literature review?

  What would you say to convince your roommate

You are trying to convince your roommate that flexibility is important. S(he) is asking you why it is important. What would you say to convince your roommate?

  Give the answer of muliple choice question

Daniel is an engineer at Temple Engineering, Inc. in Temple, Texas. He has worked there for two years and has gotten consistently good performance reviews. In the Fall, he comes to work wearing a "University of Oklahoma" polo shirt on casual Fri..

  What is the role of health care reform in shifting the focus

What is the role of health care reform in shifting the focus from a disease-oriented health care system toward one of wellness and prevention.

  Identify the strengths of related research studies

Synthesize and evaluate the research articles summarized in the assignments in Units 2 and 3. Make sure to identify the strengths and weakness es of related.

  Evaluate how the tool can be used with clients

Using measurement constructs, describe how the assessment is scored, interpreted, and linked to the practice of counseling. Evaluate how the tool can be used with clients as part of an ethical assessment process

  Discuss a person who is injured in a motor vehicle accident

A person who is injured in a motor vehicle accident can file suit against the other driver in the Nevada Supreme Court

  Discuss should osama bin laden have been taken alive

Who should pay the burden for investigating, apprehending, prosecuting, convicting, sentencing, and incarcerating terrorists

  Summarize the case of the misguided supervisors

Summarize the case of the Misguided Supervisors and your research that relates to the case. However, the NLRB and the court both upheld the union.

  Would this change require a cultural change

Based on your original definition of leadership, the assigned readings, and any other related readings, what are some of the major traits of a leader? Would this change require a cultural change

  An increased understanding of psychological theory

Consider how specific psychological concepts or theories covered, pertain to your life or to the lives of the people around you.

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