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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

RBE104TC代做、C/C++設(shè)計(jì)編程代寫(xiě)
RBE104TC代做、C/C++設(shè)計(jì)編程代寫(xiě)

時(shí)間:2024-10-31  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



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.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:COMP 3811 代寫(xiě)、代做 java /c++編程
  • 下一篇:代寫(xiě)G6077程序、代做Python編程設(shè)計(jì)
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷(xiāo)助手小象助手多多出評(píng)軟件
    2025年10月份更新拼多多改銷(xiāo)助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶(hù)要求/設(shè)計(jì)優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開(kāi)團(tuán)工具
    出評(píng) 開(kāi)團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場(chǎng)巴士4號(hào)線(xiàn)
    合肥機(jī)場(chǎng)巴士4號(hào)線(xiàn)
    合肥機(jī)場(chǎng)巴士3號(hào)線(xiàn)
    合肥機(jī)場(chǎng)巴士3號(hào)線(xiàn)
  • 短信驗(yàn)證碼 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

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

          9000px;">

                国产精品久久久久久亚洲毛片 | 色综合视频一区二区三区高清| 亚洲精品成人天堂一二三| 日韩视频在线一区二区| 成人h精品动漫一区二区三区| 亚洲电影激情视频网站| 国产欧美日韩另类一区| 欧美一区二区精品久久911| 91在线视频18| 国产一区二区在线免费观看| 亚洲精品成人在线| 国产精品无人区| 日韩亚洲欧美中文三级| 91久久精品一区二区三| 国产不卡免费视频| 久久精品国产一区二区三区免费看| 中文字幕日韩一区| 国产色91在线| 欧美不卡一区二区三区四区| 欧亚一区二区三区| 99久久久精品| 丁香五精品蜜臀久久久久99网站| 奇米四色…亚洲| 亚洲国产精品欧美一二99| 最新欧美精品一区二区三区| 精品国产自在久精品国产| 欧美精品久久天天躁| 日本精品一区二区三区高清| av不卡免费在线观看| 国产精品亚洲综合一区在线观看| 免费人成在线不卡| 热久久国产精品| 午夜电影网亚洲视频| 亚洲老司机在线| 亚洲精品视频在线| 亚洲精品国产无天堂网2021| √…a在线天堂一区| 中文久久乱码一区二区| 中文字幕av一区 二区| 中文字幕av一区二区三区免费看 | 喷水一区二区三区| 秋霞国产午夜精品免费视频| 婷婷综合久久一区二区三区| 亚洲大片精品永久免费| 性感美女极品91精品| 亚洲一区av在线| 午夜精品一区二区三区三上悠亚| 亚洲图片有声小说| 亚洲午夜影视影院在线观看| 亚洲成人免费视频| 三级不卡在线观看| 美女国产一区二区| 国内精品第一页| 国产精品久久久久久久久免费樱桃 | 18成人在线观看| 亚洲卡通动漫在线| 亚洲一区欧美一区| 午夜精品免费在线| 麻豆91精品视频| 黄一区二区三区| 风流少妇一区二区| 日本高清不卡一区| 在线观看91av| 欧美成人精品1314www| 精品粉嫩aⅴ一区二区三区四区 | 自拍偷拍国产亚洲| 午夜日韩在线观看| 久久99这里只有精品| 懂色一区二区三区免费观看| 99精品偷自拍| 91精品国产91久久综合桃花| 久久精品亚洲国产奇米99| 日韩美女久久久| 肉肉av福利一精品导航| 国产传媒久久文化传媒| 91黄色免费网站| 日韩欧美国产成人一区二区| 国产丝袜欧美中文另类| 亚洲一区国产视频| 精品一区二区免费看| 99re在线精品| 日韩一区二区在线免费观看| 国产亚洲欧美日韩在线一区| 一区二区在线看| 极品少妇xxxx精品少妇| 91美女片黄在线| 日韩欧美一区在线| 中日韩免费视频中文字幕| 亚洲第一激情av| 成人在线视频一区二区| 这里只有精品电影| 国产精品免费看片| 日韩精品电影一区亚洲| a美女胸又www黄视频久久| 日韩欧美电影一二三| 亚洲精品伦理在线| 久久99精品久久久久久国产越南 | 午夜激情一区二区| 不卡的av中国片| 欧美成人伊人久久综合网| 亚洲欧美一区二区三区极速播放| 麻豆91在线观看| 欧美午夜精品一区| 日本一区二区三级电影在线观看 | 成人午夜精品在线| 精品国产免费一区二区三区四区| 一区二区三区四区不卡视频| 国产精品一级二级三级| 3751色影院一区二区三区| 亚洲色欲色欲www在线观看| 国内精品久久久久影院一蜜桃| 欧美午夜精品一区| 日韩理论片在线| 国产成人自拍网| 精品日本一线二线三线不卡| 亚洲va在线va天堂| 99re这里都是精品| 久久久久九九视频| 奇米色一区二区| 91精品国产综合久久精品性色| 亚洲男同性视频| yourporn久久国产精品| 国产无人区一区二区三区| 久88久久88久久久| 欧美一区二区性放荡片| 婷婷丁香久久五月婷婷| 在线看国产一区| 一区二区三区中文字幕电影| 99精品黄色片免费大全| 国产精品久久久久久久久搜平片| 国产精品一二三四| 国产偷国产偷精品高清尤物| 国产精品资源网| 国产亚洲精品精华液| 国产乱对白刺激视频不卡| 久久久久久夜精品精品免费| 国产综合久久久久影院| 久久婷婷久久一区二区三区| 极品销魂美女一区二区三区| 欧美成人猛片aaaaaaa| 久久99精品国产91久久来源| 欧美大片在线观看一区| 久久99精品久久久久久动态图| 日韩欧美一区二区免费| 玖玖九九国产精品| 久久久综合精品| 国产福利一区二区三区视频| 日本一区二区三区在线观看| av一区二区三区在线| 一区二区三区在线免费视频| 欧美日韩亚洲综合| 免费成人在线影院| 久久久久久久av麻豆果冻| 国产成人日日夜夜| 亚洲欧美国产毛片在线| 欧美丝袜自拍制服另类| 午夜不卡av免费| 精品少妇一区二区三区| 国产成人av一区二区三区在线观看| 亚洲国产高清不卡| 欧美在线观看一二区| 久久se这里有精品| 国产欧美一区二区精品忘忧草| 成人免费观看视频| 亚洲在线视频免费观看| 欧美一区午夜视频在线观看 | 99免费精品在线| 午夜视频在线观看一区| 欧美成人综合网站| av激情综合网| 亚洲国产精品久久久久婷婷884 | 亚洲精品第一国产综合野| 5566中文字幕一区二区电影| 国产精品中文有码| 亚洲乱码国产乱码精品精小说| 欧美一级精品在线| 不卡区在线中文字幕| 日韩和欧美一区二区三区| 久久精品视频一区二区| 欧美综合久久久| 国产精品一区二区视频| 依依成人精品视频| 欧美精品一区二区三区一线天视频| 99热精品一区二区| 九色porny丨国产精品| 亚洲欧美乱综合| 精品国产成人系列| 欧美做爰猛烈大尺度电影无法无天| 狠狠色狠狠色综合日日91app| 亚洲日本丝袜连裤袜办公室| 精品欧美乱码久久久久久1区2区| 色婷婷一区二区三区四区| 九九九精品视频| 午夜欧美一区二区三区在线播放| 国产精品人人做人人爽人人添| 欧美日韩一级片网站| www.亚洲色图.com| 精东粉嫩av免费一区二区三区| 亚洲一区自拍偷拍| 亚洲欧美综合在线精品|