EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
C语言代写
您的位置: 主页 > 编程案例 > C语言代写 >
代写C语言:CS代写做之-C++ Programming and Software Engineering II - C语言代写
发布时间:2021-07-25 14:25:11浏览次数:
(MUST be submitted through ICE so that the TAs can run your programs during marking.) Make sure your name and ID are printed on the cover page of your report.Assessment OverviewThis assessment aims at testing some basic concepts of C++ programming and initiates the routine of code development using the software development process (SDP), namely the five main steps of the software development process:1.Problem statement: formulate the problem.2.Analysis: determine the inputs, outputs, variables, etc3.Design: define the list of steps (the algorithm) needed to solve the problem.4.Implementation: the C++ code has to be submitted as a separate file. Just indicate here the name of the file.5.Testing: explain how you have tested and verified your C++ program.You will need to apply this methodology to each one of the following simple exercises.What should be submitted?A short report(up to a few pages of texts plus C++ source codes) detailing for all the questions of the assignment. The answer for each question should follow the SDP method:a)SDP steps 1 to 3. (30% of the total marks for that question)b)SDP step 4 (implementation): your C++ source code including the comments. (50%)c)SDP step 5 (testing): you will explain how you have tested the correctness of your C++ program and will include some sample runs of your C++ Programs. (20%).Testing result must be shown by screenshot.The report in either Microsoft Word format (.DOCX file)or PDF formattogether with C sourcecode for all questions should be zipped intoa single file. (For maintenance purposes, it isalways a good practice to comment your code as you go. The comments state the aim of the program, what are the inputs, what are the outputs, which algorithm is used, who is the author and so on.)EXERCISE 1 (7 POINTS OUT OF 15)Derive a sub-class iFraction from the base class Fraction, which was designed by you in Exercise 2 of Assessment 2. The iFraction class represents the mixed fractionslikePart 1:1)Using operator overloading to rewrite all the operators defined for the Fraction class in the previous assignment if you have not done so.2)Design the sub-class iFraction:a.It should have a constructor for initialization;b.It should contain a method to display the mixed fraction on screen;Part 2: Design an external functionconvertF(not function member of class Fraction andiFraction) to convert the improper fractions to mixed fractions.Hint: convertF can be the friend function of those two classes.EXERCISE 2 (8 POINTS OUT OF 15)This is a computer game with different types of player. Take the code provided for the container class (container.h), player class (player.h) and the swordsman class (swordsman.h), and the main function (main.cpp).Part 1:1.Read the source codes, understand the meaning and fill the blank (shown as ?????????) to make it work;2.Generate the CRC cards of the classes: clarify the responsibilities of each class, illustrate the collaboration with others and label all the members’ as public, protected and private. Then draw the hierarchy chart of them;Part 2:3.Design another two classes, archer and mage. Generate their CRC card and put them in the hierarchy chart drew above. Write the code for these two classes and make them work (cooperate with main function);4.Modify main function, to have enemies with all three professions (could be randomly chosen).Part 3 (Optional):5.Can you involve another attribute – luck, in this game?Notes: The factors are imperfect, make the fight too hard or too easy. Change whatever you want, but leave hints for reviewers to know what you have done.代写CS Finance|建模|代码|系统|报告|考试编程类:C++,JAVA ,数据库,WEB,Linux,Nodejs,JSP,Html,Prolog,Python,Haskell,hadoop算法,系统 机器学习金融类:统计,计量,数据科学,风险投资,金融工程,R语言,Python语言,Matlab,建立模型,数据分析,数据处理服务类:Lab/Assignment/Project/Course/Qzui/Midterm/Final/Exam/Test帮助代写代考辅导E-mail:[email protected]微信:BadGeniuscs 工作时间:无休息工作日-早上8点到凌晨3点如果您用的手机请先保存二维码到手机里面,识别图中二维码。如果用电脑,直接掏出手机果断扫描。

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。