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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          美女日韩欧美| 亚洲无线视频| 久久成人在线| 亚洲美女少妇无套啪啪呻吟| 国产精品视频xxxx| 蜜桃精品久久久久久久免费影院| 国产午夜精品全部视频在线播放| 亚洲一区二区三区视频| 在线观看视频亚洲| 欧美激情一区二区三区成人 | 亚洲网站在线看| 国产精品福利在线观看网址| 麻豆精品视频| 卡一卡二国产精品| 亚洲清纯自拍| 欧美日韩国产综合网| 欧美成人福利视频| 一区二区欧美亚洲| 亚洲毛片在线| 日韩小视频在线观看专区| 悠悠资源网久久精品| 国产中文一区二区| 国产亚洲一区二区三区在线播放 | av成人免费在线| 国产美女精品免费电影| 国产精品久久久亚洲一区| 欧美日韩亚洲高清| 欧美午夜片欧美片在线观看| 欧美日韩精品免费看| 欧美日韩视频免费播放| 国产精品不卡在线| 国产精品美女久久久久久久| 老色批av在线精品| 免费一区二区三区| 亚洲欧美综合网| 欧美一区二区在线视频| 亚洲精品久久久久久一区二区| 欧美日韩一区二区三区免费| 欧美一区二区三区日韩视频| 在线观看视频一区| 亚洲国产精品va在线看黑人动漫| 在线播放不卡| 一区二区三区 在线观看视频| 99re在线精品| 精品999日本| 亚洲日韩欧美一区二区在线| 一片黄亚洲嫩模| 在线观看欧美激情| 一区二区日韩精品| 在线观看日韩| 国产一区二区三区久久久| 欧美精品久久99| 国产精品毛片在线| 国产一本一道久久香蕉| 日韩视频中文| 亚洲国产精品久久久久婷婷884| 国产精品一区二区你懂的| 激情久久久久久久| 国产一区二区三区网站| 国产精品美女xx| 在线精品视频一区二区| 亚洲一二三区精品| 久久亚洲春色中文字幕| 亚洲欧美国产高清va在线播| 久久久99免费视频| 久久久噜噜噜久久久| 欧美三级视频在线观看| 国产日韩精品在线播放| 国产欧美日韩视频一区二区三区| 亚洲成人在线视频网站| 亚洲欧美亚洲| 欧美精品三区| 亚洲国产精品999| 欧美专区18| 欧美午夜精彩| 国产精品―色哟哟| 国产精品久久77777| 国产精品激情| 亚洲日本中文字幕| 免费一区二区三区| 欧美精品激情| 亚洲黄色影片| 一本到高清视频免费精品| 可以免费看不卡的av网站| 久久一区二区三区国产精品 | 亚洲尤物视频在线| 午夜久久电影网| 欧美三级日韩三级国产三级| 91久久精品网| 亚洲女同精品视频| 国产精品激情偷乱一区二区∴| 亚洲日本一区二区| 欧美国产日韩一区| 亚洲三级电影在线观看| 欧美福利视频| 亚洲美女区一区| 欧美一区午夜视频在线观看| 国产精品日韩专区| 午夜日韩福利| 欧美精品v国产精品v日韩精品| 欧美午夜激情视频| 亚洲校园激情| 国产精品一二三四区| 在线观看国产日韩| 欧美不卡激情三级在线观看| 亚洲国产精品久久久久婷婷884| 久久疯狂做爰流白浆xx| 欧美日韩国产一级| 黄色成人在线网站| 在线亚洲观看| 国产九区一区在线| 99热免费精品| 狼人社综合社区| 亚洲激情女人| 国产精品久久久久久影院8一贰佰 国产精品久久久久久影视 | 国产一区二区三区久久悠悠色av| 欧美在线网站| 亚洲黄色精品| 久久久天天操| 亚洲裸体视频| 欧美a级片网站| 好吊成人免视频| 欧美激情精品久久久久久黑人| 国产在线拍揄自揄视频不卡99| 久久久久国色av免费观看性色| 亚洲激精日韩激精欧美精品| 欧美丝袜一区二区| 亚洲精品欧美极品| 国产日产高清欧美一区二区三区| 日韩午夜黄色| 国产一区二区三区视频在线观看| 欧美激情中文字幕乱码免费| 午夜精品视频在线| 国产精品日日摸夜夜摸av| 久久综合国产精品| 亚洲一区激情| 国产精品美女在线| 欧美**人妖| 久久成人精品无人区| 亚洲深夜av| 亚洲黄一区二区| 伊人婷婷久久| 欧美 日韩 国产在线| 亚洲欧美日韩另类| 亚洲人成艺术| 在线精品国产成人综合| 欧美成人官网二区| 亚洲欧洲精品一区二区| 欧美高清在线| 中文欧美在线视频| 亚洲精品婷婷| 国产精品成人免费| 欧美日韩国产91| 亚洲性夜色噜噜噜7777| 日韩一区二区福利| 国产精品扒开腿做爽爽爽软件| 亚洲欧美国产精品va在线观看| 国产精品毛片大码女人| 久久久久久国产精品mv| 亚洲女人天堂成人av在线| 国外成人网址| 欧美日韩网址| 欧美一区二区三区视频免费播放| 国内精品一区二区| 国产一区二区0| 蜜桃伊人久久| 亚洲一区二区三区影院| 国外成人在线视频网站| 国产欧美一区二区三区久久 | 一区二区免费在线视频| 99视频+国产日韩欧美| 99视频精品| 亚洲欧美激情精品一区二区| 中文国产成人精品| 午夜精品久久久久久久99水蜜桃| 国内精品久久久久伊人av| 国产三区二区一区久久| 国产午夜亚洲精品不卡| 黑人巨大精品欧美黑白配亚洲 | 老司机凹凸av亚洲导航| 亚洲一二三级电影| 在线播放国产一区中文字幕剧情欧美| 国内精品久久久久久久97牛牛| 含羞草久久爱69一区| 亚洲国产黄色| 国产一区二区剧情av在线| 欧美日韩亚洲视频一区| 国产精品v日韩精品| 国产欧美亚洲一区| 欧美日韩成人| 国产精品色婷婷久久58| 影音先锋久久资源网| 日韩视频二区| 欧美一区二区三区在| 免费在线一区二区| 欧美一区二区三区久久精品茉莉花| 久久成人精品视频| 亚洲字幕在线观看| 麻豆免费精品视频| 国产精品日产欧美久久久久|