加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

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

時間:2025-11-30  來源:合肥網(wǎng)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

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

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

    麻豆91在线看| 蜜桃av在线| 福利片一区二区| 亚洲高清网站| 免费高清不卡av| 欧洲亚洲一区二区三区| 国产精品一区二区三区www| 三级成人在线| 日韩一级欧洲| 91精品国产福利在线观看麻豆| 国内黄色精品| 日韩综合小视频| 色偷偷色偷偷色偷偷在线视频| 91成人精品| 欧美日韩导航| 久久99成人| 国语精品视频| 美女视频黄久久| 精精国产xxxx视频在线野外| 狂野欧美一区| 影音国产精品| 亚洲性图久久| 日本精品影院| av动漫精品一区二区| 国产精品一区二区av交换| 亚欧美中日韩视频| 在线一区视频观看| 日韩综合在线| 亚洲自啪免费| 欧美午夜不卡影院在线观看完整版免费| www国产精品| 日韩电影一区二区三区四区| 成人在线精品| 99综合久久| 亚洲天堂免费| 日韩精品福利网| 国产一区二区三区成人欧美日韩在线观看 | 第四色在线一区二区| 亚洲动漫精品| 亚洲欧洲美洲国产香蕉| 欧美一级大片在线视频| 亚洲天天影视网| 麻豆成人在线观看| 日本在线不卡一区| 日日噜噜夜夜狠狠视频欧美人 | 麻豆久久一区二区| 国产日韩欧美一区在线 | 免费欧美在线| 三级欧美在线一区| 免费国产亚洲视频| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲欧美日韩视频二区| 99国产精品私拍| 欧美女激情福利| 99视频一区| 免费国产亚洲视频| 国产在线美女| 成人自拍av| 国产激情欧美| 影音先锋久久久| 欧美专区一区| 日韩中文字幕在线一区| 欧美色资源站| 伊人成综合网伊人222| 在线精品国产| 玖玖视频精品| 天堂中文av在线资源库| 亚洲精品一区三区三区在线观看| 日本成人在线网站| 国产精品久久久久久久免费软件| 日本在线观看不卡视频| 精品一区二区三区免费看| 日韩av一区二区三区| 精品国产不卡| 精品欧美久久| 噜噜噜91成人网| 神马久久午夜| 一区二区精品| 久久不见久久见免费视频7| 视频精品一区| 天天久久综合| 9999国产精品| 欧美影院一区| 亚洲精品亚洲人成在线| 欧美日韩麻豆| 午夜宅男久久久| 深夜成人福利| 久久综合另类图片小说| 久久久久久亚洲精品美女| 久久99偷拍| 视频在线观看一区二区三区| 欧洲美女精品免费观看视频| 国内视频精品| 1204国产成人精品视频| 婷婷久久综合| 人人草在线视频| 亚洲精品看片| 国产图片一区| 蜜臀久久99精品久久久久久9| 99精品国自产在线| 国产精久久久| 激情久久综合| 极品av在线| 亚洲一区二区小说| 欧美视频导航| 日韩精品一区第一页| 美女网站视频久久| 秋霞一区二区| 丝袜美腿亚洲一区| 青青国产91久久久久久| 超碰精品在线观看| 蜜桃精品在线观看| 国产精品videosex极品| 里番精品3d一二三区| 视频一区中文字幕| 日韩高清在线不卡| 青青草综合网| 韩国成人二区| 久久av电影| 国产精品婷婷| 亚洲国产日本| 欧美亚洲精品在线| 午夜精品成人av| 蜜桃在线一区| 久热精品视频| 一区二区蜜桃| 九九久久电影| 欧美成a人片免费观看久久五月天| 日韩av电影免费观看高清完整版| 伊人精品在线| 亚洲人metart人体| 激情婷婷综合| 日韩和欧美一区二区三区| 中文字幕av一区二区三区人| 日韩三级在线| 亚洲国产欧美在线观看| 国产免费拔擦拔擦8x在线播放| 国模精品一区| 久久亚洲电影| 国产激情综合| 爽好多水快深点欧美视频| 欧洲精品99毛片免费高清观看| av成人天堂| 欧美日本三级| 国产精品videosex性欧美| 国产一区二区三区四区五区传媒| 亚洲一区二区三区高清不卡| 欧美激情五月| 亚洲专区一区| 亚洲午夜久久| 91亚洲国产成人久久精品| 五月综合久久| 天堂网在线最新版www中文网| 91精品国产自产精品男人的天堂| av女在线播放| 日本不卡高清| 久久精品人人| 国产精品视频久久一区| 综合伊思人在钱三区| 日本一本不卡| 欧美调教在线| 亚洲国产日本| 久久亚洲国产精品一区二区| 日韩av成人高清| 国产精品久久亚洲不卡| 99久久久久| 一区二区影院| 97色伦图片97综合影院| 卡一精品卡二卡三网站乱码| 麻豆精品一二三| 免费在线观看一区二区三区| 一区二区三区免费在线看| 久久精品国产色蜜蜜麻豆| 亚洲女同另类| 日韩在线观看中文字幕| 国精品产品一区| 国产农村妇女精品一二区| 日韩欧美影院| 精品美女一区| 丝袜国产日韩另类美女| 粉嫩久久久久久久极品| 亚洲三级国产| 日韩欧美1区| 亚洲黄色在线| 欧美1区2区3| 亚洲国产免费看| 成人福利视频| 欧美福利影院| 久久丁香四色| 亚洲中无吗在线| 欧美gv在线观看| 欧美天天视频| 在线日韩成人| 午夜性色一区二区三区免费视频| 中文av在线全新| 亚洲激情网址| 久久国产日韩| 日韩丝袜视频| 久久久久97| 欧美sm一区|