日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

代寫 DTS102TC Programming with C++ 程序設計
代寫 DTS102TC Programming with C++ 程序設計

時間:2025-11-30  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


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 、 請加QQ:99515681 郵箱:99515681@qq.com WX:codinghelp

掃一掃在手機打開當前頁
  • 上一篇:代寫 Analyze 2G/3G/4G traffic using Wireshark 網絡安全
  • 下一篇:代寫股票指標 代做股票公式 一陽指破天公式
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體 / 電磁 / 光學CAE代做
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
  • 豆包網頁版入口 Trae 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        内射国产内射夫妻免费频道| 二区三区中文字幕| 欧美婷婷久久| 另类专区欧美| 欧美日韩高清不卡| 日韩1区在线| 中文欧美字幕免费| 国产成人va亚洲电影| 一二三区精品福利视频| 亚洲第一精品在线| 91麻豆精品国产91久久久使用方法| 欧洲一级精品| 亚洲综合在线电影| 91精品国产高清91久久久久久| 精品九九久久| 精品亚洲成a人片在线观看| 99视频精品全国免费| 色综合婷婷久久| 欧美精品一区二区三区在线播放| 国产资源中文字幕| 国产日韩av一区| 欧美一级在线免费| 亚洲女人天堂a在线播放| 国产无遮挡在线视频免费观看| 午夜国产欧美理论在线播放| 日韩国产一区三区| 久久精品夜夜夜夜久久| www..com日韩| 日韩av在线中文字幕| 日韩视频中文字幕| 视频一区中文字幕国产| 中文字幕在线视频日韩| 中文字幕欧美日韩在线| a天堂在线资源| 日韩中文字幕在线一区| 国产不卡精品在线| 国产v日产∨综合v精品视频| www.xxxx精品| 亚洲国产欧美久久| 国产在线欧美日韩| 中文字幕欧美日韩| 亚洲v中文字幕| 中文在线а√在线8| 日韩视频中文| 久久91精品国产91久久小草| 国产黄在线观看免费观看不卡| 精品视频—区二区三区免费| 在线国产三级| 中文字幕久久av| 日韩中文字幕在线观看视频| 成年人看的羞羞网站| 日韩欧美中文字幕公布| 国产高清大尺度一区二区不卡| 亚洲精品欧美二区三区中文字幕| 国产综合成人久久大片91| 天堂精品高清1区2区3区| 国产999精品在线观看| 91精品国产丝袜白色高跟鞋| 国产综合成人久久大片91| 日本中文字幕在线观看| 精品精品久久| 91精品综合久久久久久| 日韩在线视频观看正片免费网站| 国产视频二区| 91精品国产综合久久久久久| 国产黄色高清在线| 亚洲视频资源在线| 午夜伦欧美伦电影理论片| 中文字幕在线观看亚洲| 国产综合成人久久大片91| 亚洲欧美中文字幕在线观看| 亚洲一区三区在线观看| 日韩三级在线播放| 欧美中文字幕视频在线观看| 国产一卡2卡3卡四卡网站| 一级网站免费观看| 欧美日韩三级视频| 日韩一级在线视频| 亚洲社区在线| 日韩三级视频在线播放| 色屁屁一区二区| 尤物av一区二区| 日韩亚洲欧美中文三级| 久久视频在线免费观看| 久久中文免费视频| 日本精品福利视频| 国产一卡2卡3卡4卡网站免费| 视频一区二区国产| 国产色综合网| 欧美日韩夫妻久久| 国产第一页在线播放| 内射国产内射夫妻免费频道| 欧美在线日韩在线| 国产又粗又猛又爽又黄91精品| 国产一区精品| 欧美另类久久久品| 伊人永久在线| 日韩视频在线一区二区| 91精选在线| 日韩中文字幕| 国产欧美日韩在线播放| 欧美 日韩 国产在线观看| 国产在线精品国自产拍免费| 日本不卡视频一区| va中文字幕| 国产成人精品综合久久久| 亚洲va韩国va欧美va精品| 精品日韩在线| 中文字幕在线观看播放| 亚洲小说春色综合另类网蜜桃| 欧美日韩精品在线视频| 日本不卡视频一区| 欧美区高清在线| 亚洲福利视频专区| 国产农村妇女精品一二区| 一区二区中文字幕在线| 亚洲乱码一区av黑人高潮| 欧美婷婷精品激情| 久久精品在线免费观看| 中文在线一区| 91麻豆精品国产91久久久使用方法| 国产v日产∨综合v精品视频| 国产 日韩 欧美 综合 一区| 日韩欧美亚洲国产一区| 欧美乱大交xxxxx另类| 99视频精品全国免费| 欧美日韩亚洲综合在线| 欧美一级日韩不卡播放免费| 国产亚洲福利| 日韩视频一区二区在线观看| 欧美日韩性视频一区二区三区| 久久99精品国产| a视频免费在线观看| 日韩欧美色综合| 欧美日韩不卡在线视频| 欧美日韩在线精品成人综合网| 免费视频国产一区| 欧美日韩视频免费看| 日韩视频 中文字幕| 二区视频在线观看| 欧美国产亚洲一区| 久久精品国产91精品亚洲| 91精品视频观看| 日韩精品在线观看视频| 国产专区中文字幕| 久久麻豆视频| www.三级.com| 国产www在线观看| 精品色蜜蜜精品视频在线观看| 91精品久久久久久久久久入口| 日韩一级视频在线观看| 国产一区二中文字幕在线看| 在线视频不卡一区二区| 欧美中日韩在线| 欧美日韩综合在线观看| aaa欧美日韩| 国内不卡的二区三区中文字幕| 中文字幕一区二区三区精品| www.狠狠| 日韩精品在线第一页| 欧美在线亚洲一区| 91av久久久| 国产福利一区二区| 亚洲精品中文字幕乱码三区不卡|