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

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

代寫 DTS102TC Programming with C++ 程序設(shè)計(jì)
代寫 DTS102TC Programming with C++ 程序設(shè)計(jì)

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


XJTLU Entrepreneur College (Taicang) Cover Sheet Module code and Title DTS102TC Programming with C++ School Title School of Artificial Intelligence and Advanced Computing Assignment Title Coursework 1 (Assignment) Submission Deadline 5 pm China time (UTC+8 Beijing) on Fri. 28th. Nov. 2025 Final Word Count NA If you agree to let the university use your work anonymously for teaching and learning purposes, please type “yes” here. I certify that I have read and understood the University’s Policy for dealing with Plagiarism, Collusion and the Fabrication of Data (available on Learning Mall Online). With reference to this policy I certify that: • My work does not contain any instances of plagiarism and/or collusion. My work does not contain any fabricated data. By uploading my assignment onto Learning Mall Online, I formally declare that all of the above information is true to the best of my knowledge and belief. Scoring – For Tutor Use Student ID Stage of Marking Marker Code Learning Outcomes Achieved (F/P/M/D) (please modify as appropriate) Final Score A B C 1st Marker – red pen Moderation – green pen IM Initials The original mark has been accepted by the moderator (please circle as appropriate): Y / N Data entry and score calculation have been checked by another tutor (please circle): Y 2nd Marker if needed – green pen For Academic Office Use Possible Academic Infringement (please tick as appropriate) Date Received Days late Late Penalty ☐ Category A Total Academic Infringement Penalty (A,B, C, D, E, Please modify where necessary) _____________________ ☐ Category B ☐ Category C ☐ Category D ☐ Category E DTS102TC Programming with C++ Coursework 1 (Assignment) Deadline: 5:00 pm China time (UTC+8 Beijing) on Friday 28th. Nov. 2025 Percentage in final score: 50% Maximum score: 100 marks (100% individual marks) Learning outcomes assessed: A. Demonstrate knowledge and understanding of basic principles of C++ programming language. B. Demonstrate knowledge and understanding of basic software development process. Late policy: 5% of the total marks available for the assessment shall be deducted from the assessment mark for each working day after the submission date, up to a maximum of five working days. Notice: • Please read the coursework instructions and requirements carefully. Not following these instructions and requirements may result in loss of marks. • The assignment must be typed in an MS Word and converted to a PDF document. The document must be submitted via Learning Mall Online to the Gradescope. Only electronic submission is accepted and no hard copy submission. All submissions should be written in English. • All students must download their file and check that it is viewable after submission. Documents may become corrupted during the uploading process (e.g. due to slow internet connections). However, students themselves are responsible for submitting a functional and correct file for assessments. • Please download the Source Code Template from Learning Mall Online. Do not change the file name of each code script. • Academic Integrity Policy is strictly followed. Overview The objective of this assignment is to develop proficiency in C++ programming and software development skills. You are required to write a C++ program to address each question. For each question, you must write code to generate the required results and submit it via Gradescope for evaluation of program implementation. Additionally, for each question in your report, you will need to prepare a brief report analyzing your methods and discussing the results in conjunction with your test cases. Code quality—including variable naming conventions and function comments—will also be assessed. 2 3 Section A. Fundamental of C++ Programming (70marks) In this section, there are 9 questions. Please use the code template available on the Learning Mall and submit your code solutions via Gradescope to pass the test cases. Note that you are limited to 5 submissions per question on Gradescope; exceeding this maximum will result in a loss of full marks for that question. Question 1. Algebra: solve quadratic equations (5 marks) The two roots of a quadratic equation 2 xbxax =++ 0 can be obtained using the following formula: a acbb r 2 2 4 1 −+− = and a r acbb 2 2 = 2 −−− 4 2 − 4acb is called the discriminant of the quadratic equation. If it is positive, the equation has two real roots. If it is zero, the equation has one root. If it is negative, the equation has no real roots. Follow the code template to write a program that has values for a, b, and c and displays the result based on the discriminant. If the discriminant is positive, display two roots. If the discriminant is 0, display one root. Otherwise, display “The equation has no real roots.” Note that you can use pow(x, 0.5) to compute √𝒙𝒙 . Here are some sample examples. Sample Run Enter a, b, c: 1.0 -3 2 The roots are: 2.0 and 1.0 Enter a, b, c: 1 -2 1 The root is: 1.0 Enter a, b, c: 1 0 1 The equation has no real roots Question 2. Geometry: area of a regular polygon (5 marks) A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree (i.e., the polygon is both equilateral and equiangular). The formula for computing the area of a regular polygon is: where s is the length of a side. Follow the code template to write a program that has the number of sides and their length of a regular polygon and displays its area. Sample Run Enter the number of sides: 5 Enter the length of a side: 6.5 The area of the polygon is 72.69 Question 3. Count positive and negative numbers and compute the average of numbers (5 marks) Follow the code template to write a program that reads an unspecified number of integers, determines how many positive and negative values have been read, and computes the total and average of the input values (not counting zeros). Display the average as a floating-point number. Sample Run Enter an integer value, the input ends if it is 0: 1 2 -1 4 0 The number of positives is 3 The number of negatives is 1 The total value is 6 The average value is 1.50 Question 4. Binary to decimal (5 marks) Follow the code template to write a function that returns a decimal number from a binary string. For example, binaryString 10001 is 17 (1*2^4+0*2^3+0*2^2+0*2+1=17 ). So, the function solve_bin_to_dec("10001") returns 17. Question 5. Print distinct numbers (5 marks) Follow the code template to write a program that reads in 10 numbers and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). The numbers are displayed in the order of their input and separated by exactly one space. 4 (Hint: Read a number and store it to an array if it is new. If the number is already in the array, discard it. After the input, the array contains the distinct numbers.) Sample Run Enter ten numbers: 1 2 3 2 1 6 3 4 5 2 The number of distinct numbers is 6 The distinct numbers are: 1 2 3 6 4 5 Question 6. Sum elements in each column (10 marks) Write a function that returns the sum of all the elements in a specified column in a matrix using the following header: double sumColumn(const double m[][4], int rowSize, int columnIndex) Follow the code template to write a program that reads a matrix and displays the sum of each column. Sample Run Enter a 3-by-4 matrix row by row: 1.5 2 3 4 5.5 6 7 8 9.5 1 3 1 Sum of the elements at column 0 is 16.5 Sum of the elements at column 1 is 9 Sum of the elements at column 2 is 13 Sum of the elements at column 3 is 13 Question 7. The Rectangle class (10 marks) Design a class named Rectangle to represent a rectangle. The class contains: • Two double data fields named width and height that specify the width and height of the rectangle. • A no-arg constructor that creates a rectangle with width 1 and height 1. • A constructor that creates a rectangle with the specified width and height. • The accessor and mutator functions for all the data fields. • A function named getArea() that returns the area of this rectangle. • A function named getPerimeter() that returns the perimeter. Implement the class. Write a test program that creates two Rectangle objects. Assign width 4 and 5 height 40 to the first object and width 3.5 and height 35.9 to the second. In the report, display the width, height, area, and perimeters of the first object and then the second object. Question 8. Geometry: The Rectangle2D class (15 marks) Define the Rectangle2D class that contains: • Two double data fields named x and y that specify the center of the rectangle with constant get functions and set functions. (Assume that the rectangle sides are parallel to x- or y-axes.) • The double data fields width and height with constant get functions and set functions. • A no-arg constructor that creates a default rectangle with (0, 0) for (x, y) and 1 for both width and height. • A constructor that creates a rectangle with the specified x, y, width, and height. • A constant function getArea() that returns the area of the rectangle. • A constant function getPerimeter() that returns the perimeter of the rectangle. • A constant function contains(double x, double y) that returns true if the specified point (x, y) is inside this rectangle. See Figure (a). • A constant function contains(const Rectangle2D &r) that returns true if the specified rectangle is inside this rectangle. See Figure (b). • A constant function overlaps(const Rectangle2D &r) that returns true if the specified rectangle overlaps with this rectangle. See Figure (c). In the report, draw the UML diagram for the class. Implement the class with the testing cases. Question 9. Geometry: find the bounding rectangle (10 marks) A bounding rectangle is the minimum rectangle that encloses a set of points in a two-dimensional plane, as shown in Figure (d). Write a function that returns a bounding rectangle for a set of points in a two-dimensional plane, as follows: const int SIZE = 2; Rectangle2D getRectangle(const double points[][SIZE]); Write another function that returns a pointer to the bounding rectangle as follows: 6 Rectangle2D* getRectanglePointer(const double points[][SIZE]); The Rectangle2D class is defined in Question 8. Follow the code template to write a program that enters five points and displays the bounding rectangle’s center, width, and height. Sample Run Enter five points: 1.0 2.5 3 4 5 6 7 8 9 10 The bounding rectangle’s center (5.0, 6.25), width 8.0, height 7.5 The bounding rectangle’s center (5.0, 6.25), width 8.0, height 7.5 Section B. Assignment Report (30 marks) 1) For all questions, correctly describe and analyse the key functions. Provide the program testing and execution which performs the calculation and arrives at the correct answer for the test cases (2 marks * 9 = 18 marks) 2) For all questions, provide clear and concise code with meaningful variable names and comments (1 marks * 9 = 9 marks) 3) Report quality: logical structure follows the template, adherence to 5-page limit, PDF format, no major grammar/spelling errors, etc. (3 marks) Submission Each individual student must submit the following files:  Report: A Student Name_ID.pdf file contains a cover letter with your information. This is a short report involves the program design, test results, and analysis comments for each question. The report should not exceed 5 pages.  Code: A Student Name_ID.zip file should include your program implementation, with all source code files. Please do not change the file names from the source code template. You must submit this source code on Gradescope, including all questions, even if you have not answered some of them.  You are allowed 5 resubmission attempts for your code on Gradescope. If you exceed this limit, your score will be based on your last submission. End of Coursework 、 請(qǐng)加QQ:99515681 郵箱:99515681@qq.com WX:codinghelp

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代寫 Analyze 2G/3G/4G traffic using Wireshark 網(wǎng)絡(luò)安全
  • 下一篇:代寫股票指標(biāo) 代做股票公式 一陽(yáng)指破天公式
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
    2025年10月份更新拼多多改銷助手小象助手多多出評(píng)軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設(shè)計(jì)優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
  • 短信驗(yàn)證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 目錄網(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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品视频99| 亚洲成人精品电影在线观看| 国产精品自拍网| 国产视频一视频二| 国产综合视频在线观看| 免费无遮挡无码永久视频| 欧美丰满熟妇xxxxx| 三级三级久久三级久久18| 少妇av一区二区三区无码 | 日本一区二区三区四区五区六区| 亚洲色图自拍| 午夜精品短视频| 日本高清不卡三区| 色婷婷av一区二区三区久久| 国产精品无码av无码| 国产精品成人aaaaa网站| 欧美成aaa人片免费看| 久久99视频精品| 中文字幕在线中文 | 久久精品国产96久久久香蕉| 俺去亚洲欧洲欧美日韩| 国产精品久久久久久久久久久不卡| 国产精品男人的天堂| 欧美成人精品一区二区| 亚洲一区二区在线免费观看| 天堂av一区二区| 欧美精品久久久久久久久久久 | 欧美激情网站在线观看| 午夜精品久久久久久久99热| 欧美一级视频免费看| 欧美日韩国产一二| 国产中文字幕91| 91九色在线观看视频| 日韩中文字幕在线精品| 久久999免费视频| 日本三级中国三级99人妇网站 | 国产女人18毛片水18精品| 97精品视频在线| 久久久噜噜噜久久中文字免| 国产精品女人网站| 一区二区三区四区免费视频 | 欧美精品成人一区二区在线观看| 精品免费一区二区三区蜜桃| 国产精品专区第二| 久久久久久久久久久久久9999 | 久久精品中文字幕| 自拍视频一区二区三区| 日韩精品最新在线观看| 国产一区二区三区色淫影院| 久久这里只有精品18| 国产精品成人一区二区| 日本婷婷久久久久久久久一区二区| 欧美日韩高清免费| 波多野结衣精品久久| 日韩亚洲一区二区| 亚洲在线视频福利| 美女亚洲精品| 久久久久久亚洲精品| 中文字幕在线乱| 欧美激情亚洲天堂| 久久综合久久综合这里只有精品| 国产精品国产亚洲精品看不卡 | 欧美最猛黑人xxxx黑人猛叫黄| 国产人妖伪娘一区91| 久久久久免费精品| 欧美一区二区三区免费观看| 国产免费一区二区三区香蕉精| 久久99精品久久久久久秒播放器 | 久久久影院一区二区三区| 精品国产一区二区三区在线| 欧美一二三视频| 7777精品伊久久久大香线蕉语言| 精品国产乱码久久久久久88av | 性色av香蕉一区二区| 国产精品亚洲不卡a| 国产精品久久婷婷六月丁香| 日韩免费av在线| 国产经品一区二区| 亚洲综合国产精品| 国产免费亚洲高清| 久久成人免费视频| 免费久久99精品国产自| 久久人人爽亚洲精品天堂| 日本成人黄色| 久久久久久久久综合| 色中色综合成人| 91精品成人久久| 一道本在线观看视频| 国产视频999| 精品久久久久亚洲| 国产欧美自拍视频| 九九热在线精品视频| 国产伦精品一区二区三区| 欧美激情视频三区| 粉嫩高清一区二区三区精品视频| 插插插亚洲综合网| 国产女主播一区二区三区| 久久99热精品| www.久久草| 痴汉一区二区三区| 久久国产欧美精品| 欧洲精品久久| 国产成人精品亚洲精品| 欧美性大战久久久久xxx| 国产精品丝袜一区二区三区| 国产一区二区视频免费在线观看| 久久电影一区二区| 高清在线观看免费| 性欧美精品一区二区三区在线播放| 国产成人一区二区三区别 | 五月天综合婷婷| 久久综合九色综合久99| 日韩av电影免费在线| 欧美日韩系列| 国产精品裸体一区二区三区| 国产欧美日韩视频一区二区三区| 一区二区三区四区久久| 久久青青草综合| 欧美午夜精品久久久久免费视| 国产精品第8页| 97久久超碰福利国产精品…| 热门国产精品亚洲第一区在线 | 国产精品久久久久久久久久久不卡 | 国产精品亚洲激情| 天天成人综合网| 久久色在线播放| 国产婷婷一区二区三区| 亚洲av综合色区| 日韩有码在线播放| 精品无人乱码一区二区三区的优势 | 欧美精品www| 91精品久久久久久久久久久久久| 日韩精品伦理第一区| 欧美伦理91i| 国产成人精品久久亚洲高清不卡 | 国产无限制自拍| 日韩av免费一区| 国产精品久久国产精品| 97干在线视频| 国内精品视频久久| 一区二区免费在线观看| 日韩视频在线观看免费| 97人人模人人爽人人喊38tv| 欧美日韩性生活片| 亚洲第一页在线视频| 国产精品嫩草在线观看| 国产精品18毛片一区二区| 免费日韩中文字幕| 日本精品视频在线观看| 欧美日韩xxxxx| 国产成人精品一区二区三区福利| 成人福利视频网| 免费久久99精品国产自| 亚洲a成v人在线观看| 国产精品久久久久久久久久免费 | 草莓视频一区| 欧美日韩一区在线视频| 午夜精品视频网站| 欧美日韩成人黄色| 国产精品第一页在线| 国产成人精品自拍| 国产不卡在线观看| av免费观看国产| 国产日韩欧美视频| 国模视频一区二区| 日本久久91av| 亚洲精品久久久久久一区二区| 不卡毛片在线看| 国产精品美女久久久久av福利| 国产freexxxx性播放麻豆| 成人免费在线网址| 国产女主播一区二区| 国产一区二区在线网站| 狠狠色综合一区二区| 欧美黄色直播| 欧美极品欧美精品欧美图片| 日韩精品另类天天更新| 色大师av一区二区三区| 亚洲精品高清国产一线久久| 伊人色综合久久天天五月婷| 国产精品国产一区二区| 精品国产欧美成人夜夜嗨| 久久男人资源视频| 91高清视频免费| 91精品在线影院| 99久久精品免费看国产四区| 国产乱肥老妇国产一区二| 国产欧美日韩伦理| 国产精品一区久久| 白嫩少妇丰满一区二区| 91久久精品美女| 久久亚洲国产成人精品无码区| 99国产在线观看| 久久久天堂国产精品女人 | 久久伊人91精品综合网站| 国产精品乱码一区二区三区| 国产精品福利久久久| 久久资源免费视频| 在线免费观看一区二区三区| 亚洲国产精品一区在线观看不卡|