99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

RBE104TC代做、C/C++設計編程代寫
RBE104TC代做、C/C++設計編程代寫

時間:2024-10-31  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



RBE104TC C/C++ Programming Language
Assignment 2
Contribution to the Overall Marks 70%
Issue Date
Submission Deadline 3rd November 2024
Assignment Overview: 
This assignment is geared towards assessing fundamental coding concepts in C/C++ and 
initiating the process of code development using the software development process (SDP) 
discussed in relevant lectures.
In composing the SDP report [in English], we request you to fulfil the following criteria:
• Design: Clearly explain your understanding of the given problem and specify a sequence of 
steps necessary to accomplish the task (illustrated through flowcharts).
• Coding Progress: Attach 3-5 screenshots that show the code and running results as evidence, 
particularly highlighting any errors or situations you believe are valuable to document. The 
corresponding 3-5 versions of the C code should also be saved. All files must clearly 
demonstrate the progression of your programming task from the initial stage to the final version.
(Multiple versions of C code are only required for the individual project)
• Analysis: Describe the files submitted in the Coding Progress section. Discuss the expected 
results, any encountered or unexpected errors, and your solutions to those issues.
• Implementation: The C code must be submitted in a separate file. Please specify the file 
name and provide instructions for user operation.
• Testing: Describe how you tested and validated your code for required functionalities, as 
well as its robustness.
Exercise 1 (30%):
Design a new class to represent a fraction (a combination
of two integer values). The data members of the class
Fraction are two integers, top and down, denoting the 
numerator and denominator, respectively.
Part 1: Fundamental requirements for the class Fraction.
1. Fractional numbers can be declared with both a numerator and denominator, or simple 
numerator:
2. Fractions should be able to act just like other numbers.
Add, subtract, multiply, and divide;
Compare based on values;
Input and output.
Part 2: Advanced requirements 
3. Fractional number is normalized to ensure that only the numerator can be negative and 
the value is in the least common denominator form:
• 2/-3 would be converted into -2/3 automatically;
• 15/21 would be converted into 5/7 automatically.
4. Write methods to convert between decimals and fractions.
Exercise 2 (35%):
You're now a baseball game point recorder. 
Given a list of strings, each string can be one of the 4 following types: 
• Integer (one round's score): Directly represents the number of points you get in this 
round. 
• "+" (one round's score): Represents that the points you get in this round are the sum of 
the last two valid round's points. 
• "D" (one round's score): Represents that the points you get in this round are the doubled 
data of the last valid round's points. 
• "C" (an operation, which isn't a round's score): Represents the last valid round's points 
you get were invalid and should be removed. 
Each round's operation is permanent and could have an impact on the round before and the 
round after. 
You need to return the sum of the points you could get in all the rounds. 
Note: 
• The size of the input list will be between 1 and 1000. 
• Every integer represented in the list will be between -30000 and 30000. 
Example: 
• Input: ["5","2","C","D","+"] Output: 30 Explanation: 
• Round 1: You could get 5 points. The sum is: 5. 
• Round 2: You could get 2 points. The sum is: 7. 
• Operation 1: The round 2's data was invalid. The sum is: 5. 
• Round 3: You could get 10 points (the round 2's data has been removed). The sum is: 15. 
• Round 4: You could get 5 + 10 = 15 points. The sum is: 30.
Exercise 3 (35%):
This is a Group Project!!!
You are asked to program a game called Monopoly in C++. This game is played by two players (you 
and computer in this assignment). The game and its rules are described as the follows. 
• Account Setup:
Each player must establish an account with a positive balance, starting with a deposit of 5000 units.
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 be able to track the 
balance changes as the game is going. 
• Game Board:
This game is played on a game board as shown in Fig. 1, consisting of 38 squares. Each square, 
except for the four corner squares (the "GO" square, two "CASSINO" squares, and the "JAIL" 
square), has a price tag for ownership, with prices randomly generated within the range of 10 to 300.
All players begin at the "GO" square, and each time a player passes the "GO" square, their account 
balance is increased by 200 units.
• Gameplay Mechanics:
You and the computer take turns to roll a dice. The outcome of each rolling (a random number within 
the range of 1 to 6) decides how many squares you/computer can advance in a clockwise direction 
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 an 
ownership 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 
occupied by 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 
means you opponent has purchased 2 consecutives squares): you will be fined by 20% of the 
square price; 
- The fine is topped at 20% of the square price even if more than 2 consecutive squares have 
been occupied by your opponent.
• Special Squares:
Landing on the "JAIL" square requires the player to wait for one round before moving again;
Landing on a "CASSINO" square prompts the player to decide whether to gamble. If the player 
declines, nothing happens. If the player accepts, they must place a bet, and the casino rolls a dice. 
The player must predict if the outcome will be greater than 3 or not. A correct prediction results in 
a reward of twice the bet, while an incorrect prediction results in the loss of the bet;
• Game End Conditions:
The game ends under three scenarios:
- A player declares bankruptcy (balance is less than or equal to 0);
- A player's account balance exceeds 15,000 units;
- The player chooses to quit the game.
Fig. 1 Game Board
Hint:
1. The computer's logic can be straightforward. For example, it could continuously purchase 
squares until it runs out of funds. Additionally, when landing on a "CASSINO" square, the 
computer could gamble a fixed amount, such as 100 points, each time. Alternatively, the 
computer 's actions could be determined by pre-defined probabilities to introduce variability in 
its behavior.
2. Employ the concept of Object-Oriented Design (OOD) to structure your game development. 
This involves utilizing distinct classes to encapsulate various aspects of the game. For instance, 
a Player class to manage player attributes and behaviors; a Map class to represent the game 
board and its properties, etc.
What should be submitted? 
• You should submit the followings two: 
1. A concise report (with text spanning a few pages) accompanied by C source codes. This 
report should delve into the specifics for each question: 
- Detail SDP steps 1 to 3 within the report (Design + Coding Progress + Analysis), 
accounting for 30% of the evaluation. 
- Encompass SDP step 4 (Implementation + Robustness) with your source code. Your code 
should correspond with the final screenshot provided in the Coding Progress section and 
include appropriate comments. Implementation contributes 35% while Robustness adds 
5%. 
- Elaborate on SDP step 5 (Testing), elucidating how you validated the correctness, 
robustness, and thoroughness of your codes. Employ screenshots and ample explanations 
as verification, encompassing 20% of the evaluation. 
- The overall quality of the report accounts for 10% of the evaluation.
2. All C/C++ source code files, including files from different stages corresponding to the 
screenshots.
• For a comprehensive grading scheme, please consult the Marking Guidelines available on
the Learning Mall system.
• The report must be saved in PDF format. Place the report in the same folder with source code 
files and compress the folder into a single zipped file. Your final submission should include:
- Zipped file containing:
- The report
- The source codes
• The naming convention for the submitted Report and source code files should adhere to the 
subsequent format: 
- StudentID_LastName_FirstName_AssignmentID.pdf 
- StudentID_AssignmentNumber_ExerciseID_SSScreenShotNumber.c/cpp 
- StudentID_LastName_FirstName_AssignmentID.zip 
What should be submitted for Group Projects?
1. A concise report, similar to the individual project report, to demonstrate their individual 
work to the group project.
2. Since different group members may be responsible for different code components, it is not 
required to submit multiple versions of the code. However, all code components, including ‘.c’, 
‘.cpp’, ‘.h’, or ‘.hpp’ files created by the entire group, should be placed in a single folder for 
submission. The folder should be named as follows:
- StudentID_AssignmentNumber_ExerciseID
3. An introduction file, saved in PDF format, that explains how to compile the submitted 
source code. This guide will be used to compile your source code for testing, and the testing 
results will be used to assess the 'Implementation & Robustness' of the group project.
4. A contribution statement signed by all group members. The format for this statement can 
be found in the Marking Guidelines. It looks like:
As an illustration: 
The report and C source files for individual projects, along with the folder for group projects, 
should be placed together in the same directory as follows:
This directory should then be compressed into a final zipped submission file, named as follows:
• 1234567_Albert_Einstein_2.zip
How the work should be submitted? 
Submission should take place electronically through the Learning Mall system, enabling us to 
execute your software during the assessment. Additionally, feedback will be provided via the 
same Learning Mall system.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機打開當前頁
  • 上一篇:COMP 3811 代寫、代做 java /c++編程
  • 下一篇:代寫G6077程序、代做Python編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                国产精品国产三级国产aⅴ中文 | 欧美一区二区三区思思人| 日韩中文字幕麻豆| 午夜成人在线视频| 欧洲一区二区三区在线| 风流少妇一区二区| 欧美系列在线观看| 欧美三级电影在线看| 色综合天天综合狠狠| 一本色道久久综合亚洲91| 成人福利在线看| 91在线观看一区二区| 91在线精品一区二区三区| av在线播放成人| 欧美亚男人的天堂| 精品成人在线观看| 一区在线播放视频| 天天影视色香欲综合网老头| 亚洲电影在线免费观看| 亚洲男女毛片无遮挡| 亚洲成人在线免费| 国产成人精品一区二| 99久久综合精品| 欧美三片在线视频观看| 337p日本欧洲亚洲大胆色噜噜| 日本一区二区三区dvd视频在线| 国产三级欧美三级| 一区二区三区在线影院| 美日韩一区二区三区| 91丨porny丨国产入口| 91精品国产一区二区三区香蕉| 久久精品一二三| 亚洲韩国精品一区| 蜜桃视频一区二区三区| 九九国产精品视频| 在线一区二区三区做爰视频网站| 欧美电视剧在线看免费| 亚洲欧美精品午睡沙发| 国产精品正在播放| 久久综合资源网| 日本不卡不码高清免费观看 | 日本在线不卡一区| 欧美日韩视频专区在线播放| 国产精品久久久久三级| jizz一区二区| 亚洲六月丁香色婷婷综合久久| jlzzjlzz欧美大全| 久久国产成人午夜av影院| 成人爱爱电影网址| 国产嫩草影院久久久久| 国产成人精品1024| 亚洲欧美福利一区二区| 91精品福利在线| 青椒成人免费视频| 中文字幕高清一区| 99re热视频这里只精品| 日韩经典中文字幕一区| 国产亚洲欧洲一区高清在线观看| 成人动漫av在线| 日韩电影在线观看电影| 久久综合色综合88| 97精品久久久久中文字幕| 一区二区三区中文字幕| 欧美久久久久久久久中文字幕| 日韩va欧美va亚洲va久久| 欧美探花视频资源| 韩国女主播一区| 亚洲一区二区精品视频| 久久久综合激的五月天| 欧美精品久久久久久久多人混战| 国产一区二区主播在线| 亚洲一二三区不卡| 国产精品久久看| 国产三级精品视频| 91精品国产免费| 欧美日韩夫妻久久| 4438x成人网最大色成网站| 国产成人精品三级麻豆| 国产一二三精品| 激情五月激情综合网| 男女男精品视频网| 日韩综合小视频| 亚洲男同性视频| 一区二区三区日韩精品视频| 国产精品三级久久久久三级| 国产精品视频第一区| 久久久91精品国产一区二区精品| 日韩欧美国产综合| 一区二区三区四区av| 国产精品毛片久久久久久久| 国产精品美女一区二区三区| 国产精品久久夜| 亚洲一区二区高清| 美女网站视频久久| 国产传媒日韩欧美成人| 色婷婷久久久久swag精品| 欧美性xxxxxx少妇| 日韩视频国产视频| 日韩欧美一级片| 26uuu精品一区二区| 国产精品电影院| 亚洲风情在线资源站| 国产精品自拍三区| 欧美高清视频在线高清观看mv色露露十八 | 日韩欧美不卡一区| 日本一区二区在线不卡| 中文字幕精品三区| 美女视频一区二区三区| 97超碰欧美中文字幕| 欧美在线观看视频一区二区三区| 欧美三级蜜桃2在线观看| 久久久久久免费网| 五月婷婷激情综合| 在线亚洲免费视频| 91麻豆精品国产自产在线观看一区| 久久久久久久久岛国免费| 亚洲精品欧美激情| 国产91在线|亚洲| 欧美va日韩va| 麻豆成人久久精品二区三区红| 色婷婷久久久综合中文字幕| 国产亚洲精品福利| 极品少妇xxxx精品少妇| 69堂亚洲精品首页| 天天av天天翘天天综合网色鬼国产| 91色在线porny| 激情深爱一区二区| 日韩久久免费av| 国产呦萝稀缺另类资源| 国产午夜精品久久久久久久 | 五月婷婷欧美视频| 色哟哟精品一区| 亚洲一区在线视频| 欧美调教femdomvk| 免费看欧美美女黄的网站| 日韩欧美一级二级三级久久久 | 成人午夜激情片| 亚洲国产人成综合网站| 日韩精品专区在线| 成人高清视频在线观看| 一区二区三区四区国产精品| 欧美色欧美亚洲另类二区| 麻豆精品一区二区综合av| 精品国产免费久久 | 国产农村妇女精品| 色呦呦日韩精品| 亚洲精选免费视频| 91精品国产综合久久精品图片 | 亚洲欧美综合色| 亚洲精品在线三区| 欧美中文字幕不卡| 91麻豆精品在线观看| 韩国精品主播一区二区在线观看| 日韩一区中文字幕| 欧美刺激脚交jootjob| 色综合久久综合| 成人18视频在线播放| 国产精品夜夜爽| 国产一区二区三区观看| 日韩主播视频在线| 亚洲综合一二区| 亚洲国产精品自拍| 亚洲精品第一国产综合野| 91精品国产综合久久小美女| 欧美三级资源在线| 日韩欧美你懂的| 久久久久高清精品| 国产欧美一区二区三区沐欲 | 亚洲激情网站免费观看| 国产精品免费免费| 亚洲另类中文字| 婷婷夜色潮精品综合在线| 亚洲最大的成人av| 丝袜美腿亚洲色图| 国产xxx精品视频大全| 国产v日产∨综合v精品视频| 99久久精品99国产精品| 欧美精品久久天天躁| 国产视频视频一区| 亚洲观看高清完整版在线观看| 五月综合激情婷婷六月色窝| 蜜桃在线一区二区三区| 91在线视频免费观看| 91在线观看成人| 欧美大胆人体bbbb| 伊人夜夜躁av伊人久久| 免费在线观看日韩欧美| 99久久精品国产麻豆演员表| 在线精品视频免费播放| 久久精品视频网| 精品在线亚洲视频| 欧美色综合久久| 亚洲色图视频网站| 精彩视频一区二区| 6080日韩午夜伦伦午夜伦| 亚洲欧美视频在线观看视频| 久久国产免费看| 91精品国产一区二区三区| 亚洲成人三级小说| 日本韩国精品在线|