” 写作159100留学生程序、 写作Programming程序、C++编程Course: 159100 Introduction to ProgrammingAssessment: 01 Computer Programmes 02 Computer ProgrammesCourse Learning Outcomes Assessed: Define variables and perform input/output operations. Control program flow with conditional and iteration statements. Write, compile and debug C++ programs.Weighting: 30 %Due Date: 6 September, 5:00 PMThis is an individual Assessment.IntroductionMassey Universitys School of Food and Advanced Technology (SFAT) has a water jet cutter (seebelow). It is commonly used to cut 2D shapes out of metal sheets. The water jet uses water and garnetto cut through the metal. The garnet is a consumable material that needs to be topped-up after thewater jet cutter has been used.Figure 1: SFATs water jet cutter.SFATs Technical Services Manager, Mr Sean Rasmussen, wants to know the following: How frequently is the water jet cutter used each month? What day of the week is the water jet cutter most used on? What is the shortest, average, and longest times the water jet cutter is operated for eachmonth? What is the smallest, average, and largest amount of garnet used each month?You are required to write a C++ program that answers these questions using the data provided.Aims 写作159100留学生作业、 写作Programming作业The assessments aims are to demonstrate proficiency in: Writing, building, and running a C++ program. Defining a variable and using it. Loading data into a variable and displaying its value. Using statements to control the flow of a program. Using functions.ObjectivesThe assessments objective is to: Write a C++ program that answers Seans questions.The program should be able to: Load the given data into appropriate arrays. Use functions to Compute the minimum, average, and maximum values in an array. Display the computed results.The program should define and use functions named: minimum(). average(). maximum().You need to define the type of the variable each function returns and the type/s of its parameter/s.The programs output should be formatted similar to the following:FrequencyTimes used in month 1 10Times used in month 2 20Most common day in month 1 MondayMost common day in month 2 TuesdayShortest Average LongestRun time in month 1 1.0 h:m:s 2.0 h:m:s 3.0 h:m:sRun time in month 2 2.5 h:m:s 4.5 h:m:s 6.5 h:m:sSmallest Average LargestGarnet used in month 1 1.0 kg 2.0 kg 3.0 kgGarnet used in month 2 3.2 kg 4.2 kg 5.2 kgRequirementsYou are required to: Write a C++ program that addresses the assessments objectives. Write a report detailing what you did, how, and why.ResourcesYou will be provided with the following: Historical Data collected from the SFATs water jet cutter.Submission InstructionsAdd all your source code files and report to a .zip archive and name it in the following format:FIRSTNAME_LASTNAME_ID.zip. Do not include your build directory.Upload your submission to Stream before the due date.Hints01/02/2020 was a Saturday.01/03/2020 was a Sunday.You may find the following headers helpful: array. string. iomanip. iostream.The following code shows how to read in a line of input;std::cout Enter the date (D/M/Y); start time (H/M/S);end time (H/M/S); and material used (KG): std::endl;std::string line {};std::getline(std::cin, line);You could store a date or time value in an array container or a string. For example, the date01/01/2020 could be stored as follows:std::arrayint, 3 dateArray {1, 1, 2020};std::string dateString {01/01/2020};You may find the array containers at() function helpful.You may find the strings find() and substr() functions helpful.The following code shows how to display an array containers elements values and a stringsvalues as a date:std::cout dateArray.at(0) / dateArray.at(1) / dateArray.at(2) std::endl;std::cout dateString std::endl;Frequently Asked QuestionsQ. How long Should the report be?A. It should be between 1000 1500 words.Q. What Integrated Development Environment (IDE) should I use?A. You should use Qt Creator.Q. What compiler should I use?A. You should use Qts MinGW kits compiler.Q. Can I get an extension?A. Yes, but only if its for a good reason. Extensions will be granted at course or offeringcoordinators discretion.Program Marking RubricThe program is worth 2/3 of the assessments final grade.D Range (40 49.99) C Range (50 64.99) B Range (65 79.99) A Range (80 100) WeightingPoor Adequate Good Excellent.ProgramThe programs Source code doesntcompile.Each variable is named poorly. Eachvariables data type matches the data itis supposed to store poorly.Functions are partially used.Each function is named poorly. Eachfunctions return type and input andoutput parameters matches the data it issupposed to work with poorly.A common naming convention ispartially used. The source codesformatting is poor.The programs source code compiles,but it has a lot of warning messages.Each variable is named adequately. Itspurpose can be partially deduced fromits name. Each variables data typematches the data it is supposed to storeadequately.A modular style of programming ispartially used throughout the programssource code. Functions are partiallyused.Each function is named adequately. Itspurpose can be partially deduced fromits name. Each functions return type andinput and Output parameters matchesthe data it is supposed to work withadequately.Comments are used adequately todocument the source code. A commonnaming convention is partially used. Thesource codes formatting is adequate.The program run, but has major issues. Itpartially displays output in the formatspecified.The programs source code compiles, butit has some warning messages.Each variable is named well. Its purposecan be deduced from its name. Eachvariables data type matches the data itis supposed to store well.A modular style of programming islargely used throughout the programssource code. Functions are largely used.Each function is named well. Its purposecan be deduced from its name. Eachfunctions Return type and input andoutput parameters matches the data it issupposed to work with well.Comments are used well to documentthe source code. A common namingconvention is largely used. The sourcecodes formatting is good.The program Rruns, but has minor issues.It largely displays output in the formatspecified.The programs source code compileswith no warnings or errors.Each variable is named extremely well.Its purpose can easily be deduced fromits name. Each variables data typematches the data it is supposed to storeextremely well. Each variable is initialisedwhen defined.A modular style of programming is usedthroughout the programs source code.Functions are used extremely well. Eachfunction does one task very well.Each function is named extremely well.Its purpose can easily be deduced fromits name. Each functions return type andinput and output parameters matchesthe data it is supposed to work withextremely well. Arguments are passed byvalue or passed by reference, whereappropriate.Comments are used extremely well todocument the source code. A commonnaming convention is used consistently.The source codes formatting isexcellent.The program runs without any issues.It displays output in the format specified.100 %Report Marking RubricThe report is worth 1/3 of the assessments final grade.D Range (40 49.99) C Range (50 64.99) B Range (65 79.99) A Range (80 100) WeightingPoor Adequate Good Excellent.IntroductionThe reports introduction is poor. Itsummarises the assessmentsmotivation, Aim, and objectives. Itsummarises the work contained in thereport.The reports introduction is adequate. Itpresents the assessments motivation,aim, and objectives. It presents the workcontained in the report. It summarisesthe reports structure.The reports introduction is good. Itdescribes the assessments motivation,aim, and objectives. It describes thework contained in the report. It presentsthe reports structure.The reports introduction is excellent. Itdiscusses the assessments motivation,aim, and objectives. It discusses the workcontained in the report. It presents thereports Structure.5 %AlgorithmThe reports algorithm section is poor. Itsummarises the developed algorithm.The reports algorithm section isadequate. It presents the developedalgorithm. It relates the algorithm to theassessments motivation, aims, andobjectives. A figure is used to illustratethe algorithm.The reports algorithm section is good. Itdescribes the developed algorithm andits key stages. It discusses the algorithmin relation to the assessmentsmotivation, aims, and objectives. A figureis used to illustrate the algorithm.The reports algorithm section isexcellent. It discusses the developedalgorithm; justifying its key stages, andhighlighting its advantages anddisadvantages. It discusses the algorithmin relation to the assessmentsmotivation, aims, and objectives.Appropriate figures are used to illustratethe algorithm.30 %MethodologyThe reports methodology is poor. Itsummarises what was done. Some codesnippets are presented. A few tables,figures, and listings are used to helpexplain the work done.The reports methodology is adequate. Itdescribes what was done. The tools,libraries, And language used arepresented. Code snippets are presented.A few tables, figures, and listings areused to help explain the work done.The reports methodology is good. Itdescribes what was done and how. Thetools, libraries, and language used aredescribed. Relevant code snippets areexplained. Some relevant tables, figures,and listings are used to help explain thework done.The reports methodology is excellent. Itdiscusses what was done, how, and why.The tools, libraries, and language usedare discussed. Relevant code snippetsare explained in detail. A lot of relevanttables, figures, and listings are used tohelp explain the work done.30 %ResultsThe reports results section is poor. Itsummarises the implementedalgorithms output.The reports results section is adequate.It presents a limited analysis of theimplemented algorithms output;critiquing it in terms of a few relevantmetrics.The reports results section is good. Itpresents an analysis of the implementedalgorithms output; critiquing it in termsof some relevant metrics.The reports results section is excellent.It presents a detailed analysis of theimplemented algorithms output;critiquing it in terms of relevant metrics.20 %ConclusionThe reports conclusion is poor. Itsummarises the assessments outcome.The reports Conclusion is adequate. Itpresents the assessments outcome. Itrelates the outcome to the assessmentsmotivation, aims, and objectives.The reports conclusion is good. Itdescribes the assessments outcome. Itdiscusses the outcome in relation to theassessments motivation, aims, andobjectives.The reports conclusion is excellent. Itdiscusses the assessments outcome. Itdiscusses the outcome in relation to theassessments motivation, aims, andobjectives, and other relevant works.5 %OverallThe report is poor. It includes a fewtables, figures, or listings. It summariseswhat was done. It has a lot of spelling,grammar, and punctuation issues. Itsfluency is poor.The report is adequate. It includes a fewrelevant Tables, figures, and listings. Itdescribes what was done. It has a lot ofspelling, grammar, or punctuation issues.Its fluency is good.The report is good. It includes somerelevant tables, figures, and listings. It iseasy to read. It describes what was doneand how. It has some Spelling, grammar,or punctuation issues. Its fluency is good.The report is excellent. It includes a lot ofrelevant tables, figures, and listings. It isvery easy to read. It discusses what wasdone, how, and why. It has a fewspelling, grammar, or punctuation issues.Its fluency is excellent.10 %如有需要,请加QQ:99515681 或邮箱:99515681@qq.com
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。