159100留学生程序 写作、 辅导Programming程序、C++编程

” 159100留学生程序 写作、 辅导Programming程序、C++编程Course: 159100 Introduction to ProgrammingAssessment: 04 Computer Programmes 05 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. Construct suitable Graphical User Interfaces and generate beginner-level graphics. Write, compile and debug C++ programsWeighting: 30 %Due Date: 18/10/2020, 5:00 PMThis is an individual assessment.IntroductionIts common for engineering projects to require parts and items to be purchased, especially by a thirdparty. One way to make it easy for them to get what you want, and from where you want them to getit from, is to collate all The parts details into a single document – a Bill of Materials (BOM). A BOM is ashopping list for parts that are required to create a product.You are required to write a C++ program that allows a user to interactively create a BOM and exportit to a file.AimsThe assessments aims are to demonstrate proficiency in: Writing, building, and running a C++ program. Defining a class and using its member variables and member functions. Creating Graphical User Interfaces. Using the Qt framework.ObjectivesThe assessments objective is to: Write a C++ program that allows a user to interactively create a BOM and export it to a file.The program should be able to: Let the user enter an items description, how many units are needed, the suppliers partnumber, where to get it from, and how much it costs. Let the user add multiple items to the BOM. Display the current BOM, the number of items, and the current total cost to the user. Let the user export the BOM to a text file.Your program must use an Item class. The class should have private member variables that store159100留学生作业 写作、 辅导Programming作业the items description, the suppliers part number, where it can be purchased from, and how much itcosts. The class should have public accessor and mutator functions that get and set the privatemember variables values. Choose appropriate names and data types for the classs membervariables. Choose appropriate names for the classs member functions; choose appropriate namesand data types for Their returned data and parameters.RequirementsYou are required to: Write a C++ program that addresses the assessments objectives. Write a report detailing what you did, how, and why.ResourcesUse the following Data to test your program: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.HintsThe following figures should give you an idea of how data could be captured, how it could bepresented, how it could be exported, and how it could be saved:1. An example interface 2. An item being entered.3. An item being added to the Bill ofMaterials.4. The Bill of Materials being exported.5. The exported files contents.Name Part Number Units Source Cost10k Ohm 1 Watt Carbon Film Resistors – Pack of 2 RR2798 100 httpss://www.jaycar.co.nz/10k-ohm-1-watt-carbon-film-resistors-pack-of-2/p/RR2798 0.080.71mm Duratech Solder – 200gm NS3005 1 httpss://www.jaycar.co.nz/0-71mm-duratech-solder-200gm/p/NS3005 19.940W Soldering Iron with LEDs TS1470 1 httpss://www.jaycar.co.nz/40w-soldering-iron-with-leds/p/TS1470 28.9Deluxe Soldering Iron Stand TS1507 1 httpss://www.jaycar.co.nz/deluxe-soldering-iron-stand/p/TS1507 21.9Total$78.70You may find the following headers helpful: QFile QFileDialog QTextStream QVectorThe following code shows how to create an instance of the QVector class and push a value to its end:QVectorint myVector {};myVector.push_back(1);The following code shows how to create an instance of the QTextStream class and use it to writedata to a string:QString string {};QTextStream stream {string};stream Hello World;The following Code shows how to get a file name using the QFileDialog:QString filename = QFileDialog::getSaveFileName(this, Save,C:/, Text (*.txt));Frequently Asked QuestionsQ. How long should the report be?A. It should be between 1000 1500 words.Q. How should I structure my report?A. You should include the following sections: Introduction, Algorithm, Methodology, Results, andConclusion. You should discuss your programs high-level operation in the Algorithm section; youshould discuss your programs implementation in the Methodology section; and you should discussyour programs results in the Results section. Be sure to include your programs results in yourResults section.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 for exceptional circumstances, e.g. cases of illness, injury, bereavement or othercritical personal circumstances beyond your immediate control. Extensions will be granted at courseor offering Coordinators discretion. Last minute computer failure and loss of data/files is a verycommon excuse and generally not acceptable. Plan to complete the assessment a few days beforethe deadline. Start early! Do not underestimate the time it will take to get a working application andwrite a good report.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.Classes and functions are partially used.Each class and function is named poorly.Each functions return type and inputand output parameters matches the datait is supposed to work with poorly.The GUIs presentation is poor.A common Naming convention ispartially used. The source codesformatting is poor.The programs source code compiles. Ithas 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. Classes and functions arepartially used.Each class and function is namedadequately. Its purpose can be partiallydeduced from its name. Each functionsreturn type and input and outputparameters matches the data it issupposed to work with adequately.Comments are Used adequately todocument the source code. A commonnaming convention is partially used. Thesource codes formatting is adequate.The GUIs presentation is adequate.The program run, but has major issues. Itpartially displays output in the formatspecified.The programs source code compiles. Ithas 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. Classes and functions arelargely used.Each class and function is named well. Itspurpose can be deduced from its name.Each functions return type and inputand output parameters matches the datait is supposed to work with well.Comments are used well to documentthe source code. A common namingconvention is largely used. The sourcecodes formatting is good.The GUIs presentation is good.The program runs, but has minor issues.It largely displays output in the formatspecified.The Programs source code compiles. Ithas 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.Classes and functions are used extremelywell. Each function does one task verywell.Each class and function is namedextremely well. Its purpose can easily bededuced from its name. Each functionsreturn type and input and outputparameters matches the data it issupposed to work with extremely well.Arguments are passed by value or passedby reference, Where appropriate.Comments are used extremely well todocument the source code. A commonnaming convention is used consistently.The source Codes formatting isexcellent.The GUIs presentation is excellent.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) Weighting如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导