美文网首页
代写EEE102作业、代写C++ Programming作业、代

代写EEE102作业、代写C++ Programming作业、代

作者: nr53104 | 来源:发表于2019-04-21 15:23 被阅读0次

    EEE102 Assessment 31EEE102 C++ Programming and Software Engineering IIAssessment 3Assessment Number 3Contribution to Overall Marks 35%Submission Deadline Wednesday, 01-May-2019, 23:59How the work should be submitted?SOFT COPY ONLY !(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 ofcode development using the software development process (SDP), namely the five main steps of thesoftware 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 thename 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 ofthe 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. (40%)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%). Testingresult must be shown by screenshot.Besides, the overall quality of report will account for 10% of the total marks.The report in either Microsoft Word format (.DOCX file) or PDF format together with C sourcecode for all questions should be zipped into a single file. (For maintenance purposes, it is alwaysa 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.)EEE102 Assessment 32EXERCISE (35 POINTS OUT OF 35)MonopolyYou are asked to program a game called Monopoly in C++. This game is played by two players (youand computer in this assignment). The game and its rules are described as the follows. To play this game, every player must set up an account first with positive balance say the startingdeposit is 5000. This means that you have to set up a data base (a file) which records the players’information, for example, name, gender and account balance etc. and the program is supposed to beable to track the balance changes as the game is going. This game is played on a game board as shown in Fig. 1. This game board consists of 38 squares.Each square has a price tag (this price may be generated randomly within a price range say from 10to 300) for the ownership except for the left top corner square which is the starting square (“GO”square, each game starts from here). Each player’s account balance will be increased by 200 foreach time the player passes this square (the “GO” square). You and the computer take turns to roll a dice. The outcome of each rolling (a random numberwithin the range of 1 to 6) decides how many squares you/computer can advance in a clockwisedirection on the board. After you have landed on a square:- if this square is unoccupied (so this means each square except “GO” and “JAIL” has anownership attribute): you can decide whether or not you should buy it;- if this square is occupied by you (you’ve already bought it), then nothing needs to be done;- if this square is occupied by your opponent and the adjacent squares are unoccupied or occupiedby you: you will be fined by 10% of the square price;- if this square and one of its adjacent squares are both occupied by your opponent (which meansyou opponent has purchased 2 consecutives squares): you will be fined by 20% of the squareprice;- The fine is topped at 20% of the square price even if more than 2 consecutive squares have beenoccupied by your opponent. The fine for each square can be further increased by 5% if the owner decides to invest on the squarehe/she has just bought off. The size of investment is half of the square price (which means the ownerneeds to pay 1.5×price to buy and invest the square). If the player lands on the “JAIL” square (the right bottom square), he/she needs to wait for a roundbefore continue moving; The game ends when either one of the players declares bankruptcy (the balance chosen to quit the game.You should design and implement at least 3 classes (objects).EEE102 Assessment 33Fig. 1. Game board本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com 微信:codehelp

    相关文章

      网友评论

          本文标题:代写EEE102作业、代写C++ Programming作业、代

          本文链接:https://www.haomeiwen.com/subject/amhjgqtx.html