国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    91精品国产91| 亚洲.欧美.日本.国产综合在线| 精品日韩美女| 欧美亚洲国产日本| 欧美少妇在线观看| 日本在线高清视频一区| 日韩一级特黄毛片| 欧美一区二区三区综合 | 国产精品免费看一区二区三区| 91精品久久久久久| 91久久嫩草影院一区二区| 成人中文字幕av| 91久久夜色精品国产网站| 91精品国产99| 国产黄色特级片| 久久精品国产精品亚洲精品色| 国产精品777| 国产高清www| 久久久99国产精品免费| 久久精品国产综合精品| 久久手机精品视频| 久久夜色精品国产亚洲aⅴ| 久久婷婷国产麻豆91天堂| 欧美大片va欧美在线播放| 一本—道久久a久久精品蜜桃| 亚洲欧美精品| 热久久美女精品天天吊色| 黄色一级片在线看| av一区二区三区免费| 国产va免费精品高清在线 | 久久综合一区| 精品国产自在精品国产浪潮| 国产成人精品一区二区在线| 久久国产精品久久久久| 亚洲第一在线综合在线| 秋霞毛片久久久久久久久| 蜜桃视频日韩| 8050国产精品久久久久久| 色婷婷av一区二区三区久久| 美女精品视频一区| 日本精品国语自产拍在线观看| 黄色成人在线免费观看| 97精品在线视频| 久久精品99久久久久久久久| 中文字幕精品—区二区日日骚| 日本精品免费观看| 国产精品一区二区三区精品| 国产精品av在线播放 | 欧美成人性色生活仑片| 无码免费一区二区三区免费播放| 欧洲精品久久| 高清国产在线一区| 久久久久久久激情| 麻豆成人在线看| 色综合久久88色综合天天提莫| 激情视频在线观看一区二区三区| 97国产在线观看| 久久伊人精品视频| 热99精品里视频精品| 成人精品久久一区二区三区 | 国产日本在线播放| 久久久久久久久一区| 欧美成人精品三级在线观看| 日本www在线播放| 国产日本在线播放| 久久精品国亚洲| 日本一区高清在线视频| 91极品视频在线| 国产aaa精品| 国内伊人久久久久久网站视频| 国产传媒久久久| 亚洲午夜高清视频| 国产日韩精品电影| 国产精品久久久久久久久男 | 成人免费毛片播放| 国产精品大片wwwwww| 欧美一区二区.| 国产精品99久久久久久大便| 欧美精品video| 国产在线精品二区| 国产精品三级一区二区| 奇米影视首页 狠狠色丁香婷婷久久综合| 99久久99久久精品国产片| 精品久久久久久久免费人妻| 免费一级特黄毛片| 国产精品日本精品| 国内精品视频免费| 国产精品久久久av| 国产在线高清精品| 色中色综合影院手机版在线观看 | 日本丰满少妇黄大片在线观看| 99在线国产| 中文字幕日韩精品无码内射| 国产免费一区视频观看免费| 欧美激情在线有限公司| 国产精品一国产精品最新章节| 一区二区三视频| 99在线热播| 欧美一区二区.| 日韩在线国产精品| 激情内射人妻1区2区3区| 国产精品久久久久久av福利 | 国产日韩在线视频| 国产精品国产一区二区 | 不卡视频一区| 少妇久久久久久被弄到高潮| 国产a级全部精品| 欧美在线视频一区二区三区| 国产精品高清免费在线观看| 国产精品一二三在线观看 | 亚洲在线视频一区二区| 116极品美女午夜一级| 日韩女优在线播放| 国产精品第3页| 国产欧美韩日| 亚洲精品视频一二三| 国产成人一区二| 欧美v在线观看| 一本色道久久综合亚洲精品婷婷 | 国产精品入口免费| 国产一区二区三区高清视频| 中文字幕无码精品亚洲35| 国产福利一区二区三区在线观看| 日韩欧美亚洲天堂| 国产精品久久网| 99热国产免费| 欧美一级欧美一级| 久久九九全国免费精品观看| 国产欧美va欧美va香蕉在线| 日韩在线电影一区| 国产精品国模大尺度私拍| 91精品国产一区| 欧美亚洲丝袜| 亚洲综合色av| 久久视频国产精品免费视频在线| 国产乱人伦精品一区二区| 日韩人妻精品一区二区三区 | 国产99视频精品免视看7| 久久久综合香蕉尹人综合网| 欧美自拍大量在线观看| 欧美成人免费在线观看| 国产激情综合五月久久| 麻豆一区区三区四区产品精品蜜桃| 一区二区三区四区不卡| 俺去了亚洲欧美日韩| 99视频精品免费| 欧美精品99久久| 亚洲xxxx做受欧美| 国产精品久久久久久久7电影| 久久综合九九| 国产裸体免费无遮挡| 欧美不卡1区2区3区| 日韩一区国产在线观看| 精品乱色一区二区中文字幕| 国产精品99导航| 国产一区免费观看| 日本视频一区在线观看| 欧美激情极品视频| 久久久久www| 久久国产成人精品国产成人亚洲| 国产精品自产拍在线观看| 欧美另类一区| 日韩中文字幕组| 亚洲精品中字| 色中色综合影院手机版在线观看 | 国产一级二级三级精品| 日韩 欧美 高清| 国产精品成人va在线观看| 国产成人97精品免费看片| av日韩中文字幕| 国产日韩欧美中文| 激情伦成人综合小说| 欧美精品自拍视频| 日韩视频在线免费看| 欧美一区二区视频在线| 无码中文字幕色专区| 亚洲精品一区二区三区四区五区| 欧美激情视频在线观看| 国产精品免费小视频| 精品久久久av| 日韩少妇与小伙激情| 国产a一区二区| 国产freexxxx性播放麻豆| 久久久亚洲精选| 久久综合九色欧美狠狠| 91久久久亚洲精品| 国产精品96久久久久久| 久久琪琪电影院| 国产高清视频一区三区| 久久99九九| 色偷偷噜噜噜亚洲男人| 久久精品91久久香蕉加勒比 | 久久国产精品电影| 久久中文字幕视频| 国产精品高清在线观看| 国产精品天天av精麻传媒| 国产精品人人做人人爽| 美女精品视频一区| 亚洲精品无码久久久久久| 日日橹狠狠爱欧美超碰|