91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

代寫DTS203TC、C++,Java程序語言代做

時間:2024-03-05  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



XJTLU Entrepreneur College (Taicang) Cover Sheet
Module code and Title DTS203TC Design and Analysis of Algorithms
School Title School of AI and Advanced Computing
Assignment Title Coursework
Submission Deadline Sunday, March 24th 23:59 (UTC+8 Beijing), 2024
Final Word Count
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
1
st 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
2
nd 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
DTS203TC Design and Analysis of Algorithms
Coursework
Deadline: Sunday, March 24th 23:59 (UTC+8 Beijing), 2024
Percentage in final mark: 40%
Learning outcomes assessed:
A. Describe the different classes of algorithms and design principles associated with them;
Illustrate these classes by examples from classical algorithmic areas, current research and
applications.
B. Identify the design principles used in a given algorithm, and apply design principles to produce
efficient algorithmic solutions to a given problem.
C. Have fluency in using basic data structures in conjunction with classical algorithmic problems.
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
Risks:
• Please read the coursework instructions and requirements carefully. Not following these
instructions and requirements may result in loss of marks.
• The assignment must be submitted via Learning Mall to the correct drop box. Only electronic
submission is accepted and no hard copy submission.
• 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.
• Academic Integrity Policy is strictly followed.
• The use of Generative AI for content generation is not permitted on this assessed coursework.
Submissions will be checked through Turnitin.
Overview
In this coursework, you are expected to design and implement algorithms to produce solutions to
four given problems (Tasks **4) in Python. For Tasks **4, you should have function(s) to receive
task input as parameters, implement your algorithm design and return results. You also need to
write a short report answering a list of questions in Task 5 that are related to the given four
problems.
Task 1 (15 marks)
You have n coins and a balance. Among the coins, there is one fake coin which has different weight
than the other coins. All the coins, except the fake coin, have exactly the same weight. Utilizing
the balance, you can compare the weight of any number of coins on each pan. The balance will
indicate whether the set of coins on one pan weighs the same as the set on the other pan. Assume
the number of coins is a power of 3 (n = 3k
). Implement an efficient algorithm to find the fake coin.
Input: coins = [10, 10, 10, 9, 10, 10, 10, 10, 10]
Output: 4
Explanation: In the given example, there are 9 coins, with the genuine coins weighing 10 units
each and the fake coin weighing 9 units. The fourth (output) coin is identified as the fake coin.
You should have a function named findFakeCoin to receive a list of integers and return the index
of fake coin (int). Please consider the time complexity when you design your algorithm. A naïve
approach will result in loss of marks.
Task 2 (15 marks)
Consider a d-ary heap as a generalization of the binary heap, where each node has d children
instead of 2. Implement a d-ary max heap and performs heap sort on a given array.
Example:
Input: nums = [7, 6, 5, 9, 8], d = 3
Output: [5, 6, 7, 8, 9]
You should create a function named dHeapSort that takes a list of integers to be sorted and an
integer d indicates d-ary as parameters. The function should return a list containing the sorted
integers based on the d-ary heap sort algorithm.
Task 3 (15 marks)
You’re driving an electric car from Shanghai to Beijing, where there are charging stations along
the way at distances x1, x2, …, xn from Shanghai. Due to varying wait times c and charge speeds g,
charging k kilometers worth of electric at station xi takes ci +kgi minutes. Your car has a capacity
sufficient to travel 400 kilometers on a single charge. Assume car battery begin with 0 at the first
station x1 in Shanghai and xn is your destination in Beijing. Design an efficient algorithm that finds
where you should stop to spend the minimum amount of time at charging stations during your trip.
Example:
Input: x = [0, 100, 300, 600, 800, 1000], c = [0, 10, 0, 20, 10, 0], g = [0.05, 0.2, 0.1, 0.2, 0.1, 0]
Output: [20,0,30,40,30,0]
Explanation: In the provided example, there are a total of 6 stations. The objective is to drive
from the first station to the final one, optimizing the time spent at each station. The output details
the time spent at each station, aiming to minimize the overall time during the trip. For instance,
the time spent at the first station is calculated as 0 + 400 * 0.05 = 20 minutes.
You should have a function named timeSpent to receive the information of distance x (List[int]),
wait time c (List[int]), charge speed g (List[int]) and return the time spend at each station t
(List[int]). Please consider the time complexity when you design your algorithm. A naïve
approach will result in loss of marks.
Task 4 (15 marks)
Consider an undirected graph G = (V, E) with distinct weights assigned to each edge. Your task is
to find the minimum spanning tree (MST), denoted as T, on G. Anticipating the potential removal
of one edge in the future, implement an efficient algorithm to compute the MST T along with a
backup edge, denoted as r(e), for each edge e in T. This ensures that if any edge e is removed,
adding its corresponding backup edge r(e) to the tree will quickly create a new minimum spanning
tree in the modified graph.
Example:
Input: graph = {'A': {'B': 4, 'C': 8},
 'B': {'A': 4, 'C': 2, 'D': 3, 'E': 5},
 'C': {'A': 8, 'B': 2, 'D': 1, 'E': 6},
 'D': {'B': 3, 'C': 1, 'E': 7},
 'E': {'B': 5, 'C': 6, 'D': 7}}
Output: {('A', 'B'): ('A', 'C'), ('B', 'C'): ('B', 'D'), ('C', 'D'): ('B', 'D'), ('B', 'E'): ('C', 'E')}
Explanation: The input graph (as shown in figure) can be represented as a dictionary where the
keys are vertices, and the values are dictionaries representing the edges going out of that vertex
and the weights of those edges. The output can also be represented as a dictionary where the keys
are the edges of the minimum spanning tree T, and the values are the corresponding backup edge
of each edge in T. For example, if edge ('A', 'B') is removed from the graph G, adding backup edge
('A', 'C') will form a new minimum spanning tree.
You should have a function named modifiedMST to receive the graph represented as a dictionary
and return the minimum spanning tree T with backup edges represented as a dictionary. Please
consider the time complexity when you design your algorithm. A naïve approach will result in
loss of marks.
Task 5 (40 marks)
Answer the following questions in your report. Maximum 800 words for Task 5. (Clarity and
brevity are valued over length).
T5-1: For Task 1, give a recurrence of the running time of your algorithm and solve the recurrence
with two different methods.
T5-2: For Task 2, what is the running time of d-ary heap’s insert and heapify operations? Will dary heap sort faster than binary heap sort? Justify your answer.
T5-3: For Task 3, explain the design, show the correctness, and analyse the time and space
complexity of your algorithm.
T5-4: Given the same graph G from Task 4, is it possible to have more than one minimum spanning
tree T? Justify your answer.
Submission
Electronic submission on Learning Mall is mandatory. You need to submit a zip file (named
DTS203TC-CW-YOUR_NAME.zip) containing the following documents.
1. Cover letter with your student ID.
2. Your source code for Tasks **4: Solutions.ipynb
3. A pdf file contains all the source code (should be the same as the submitted ipynb file)
and your report (task 5). You can also write the report in jupyter notebook and export as a
pdf file.
Generic Marking Criteria
Grade Point
Scale
Criteria to be satisfied
A 81+ First ➢ Outstanding work that is at the upper limit of
performance.
➢ Work would be worthy of dissemination under
appropriate conditions.
➢ Mastery of advanced methods and techniques at a
level beyond that explicitly taught.
➢ Ability to synthesise and employ in an original way
ideas from across the subject.
➢ In group work, there is evidence of an outstanding
individual contribution.
➢ Excellent presentation.
➢ Outstanding command of critical analysis and
judgment.
B 70 - 80 First ➢ Excellent range and depth of attainment of intended
learning outcomes.
➢ Mastery of a wide range of methods and techniques.
➢ Evidence of study and originality clearly beyond the
bounds of what has been taught.
➢ In group work, there is evidence of an excellent
individual contribution.
➢ Excellent presentation.
➢ Able to display a command of critical thinking,
analysis and judgment.
C 60 - 69 Upper
Second
➢ Attained all the intended learning outcomes for a
module or assessment.
➢ Able to use well a range of methods and techniques
to come to conclusions.
➢ Evidence of study, comprehension, and synthesis
beyond the bounds of what has been explicitly
taught.
➢ Very good presentation of material.
➢ Able to employ critical analysis and judgement.
➢ Where group work is involved there is evidence of a
productive individual contribution
D 50- 59 Lower
Second
➢ Some limitations in attainment of learning
objectives but has managed to grasp most of them.
➢ Able to use most of the methods and techniques
taught.
➢ Evidence of study and comprehension of what has
been taught
➢ Adequate presentation of material.
➢ Some grasp of issues and concepts underlying the
techniques and material taught.
➢ Where group work is involved there is evidence of a
positive individual contribution.
E 40 - 49 Third ➢ Limited attainment of intended learning outcomes.
➢ Able to use a proportion of the basic methods and
techniques taught.
➢ Evidence of study and comprehension of what has
been taught, but grasp insecure.
➢ Poorly presented.
➢ Some grasp of the issues and concepts underlying
the techniques and material taught, but weak and
incomplete.
F 0 - 39 Fail ➢ Attainment of only a minority of the learning
outcomes.
➢ Able to demonstrate a clear but limited use of some
of the basic methods and techniques taught.
➢ Weak and incomplete grasp of what has been
taught.
➢ Deficient understanding of the issues and concepts
underlying the techniques and material taught.
➢ Attainment of nearly all the intended learning
outcomes deficient.
➢ Lack of ability to use at all or the right methods and
techniques taught.
➢ Inadequately and incoherently presented.
➢ Wholly deficient grasp of what has been taught.
➢ Lack of understanding of the issues and concepts
underlying the techniques and material taught.
➢ Incoherence in presentation of information that
hinders understanding.
G 0 Fail ➢ No significant assessable material, absent, or
assessment missing a "must pass" component.
Marking Criteria
Tasks 100 Components Description Maximum
Credit Mark
Task 1 15
Implementation
6 marks
Correct function definition [0/1 mark] 1
Correct algorithm design [0/2 marks] 2
Algorithm implementation [0-3 marks] 3
Evaluation
8 marks
Time complexity [0/3 marks] 3
5 test cases will be used to evaluate the
correctness of the function. 1 mark for each
test case.
5
Code quality
1 mark Readability, Formatting, Comments 1
Task 2 15
Implementation
9 marks
Correct function definition [0/1 mark] 1
Data structure implementation [0/2/4
marks] 4
Algorithm implementation [0/2/4 marks] 4
Evaluation
5 marks
5 test cases will be used to evaluate the
correctness of the function. 1 mark for each
test case.
5
Code quality
1 mark Readability, Formatting, Comments 1
Task 3 15 Implementation Correct function definition [0/1 mark] 1
6 marks Correct algorithm design [0/2 marks] 2
Algorithm implementation [0-3 marks] 3
Evaluation
8 marks
Time complexity [0/3 marks] 3
5 test cases will be used to evaluate the
correctness of the function. 1 mark for each
test case.
5
Code quality
1 mark Readability, Formatting, Comments 1
Task 4 15
Implementation
6 marks
Correct function definition [0/1 mark] 1
Correct algorithm design [0/2 marks] 2
Algorithm implementation [0-3 marks] 3
Evaluation
8 marks
Time complexity [0/3 marks] 3
5 test cases will be used to evaluate the
correctness of the function. 1 mark for each
test case.
5
Code quality
1 mark Readability, Formatting, Comments 1
Task 5 40
Task 5-1
9 marks
Recurrence of the algorithm is correct [0/3
marks] 3
Solve recurrence with method 1 [0/3 marks] 3
Solve recurrence with method 2 [0/3 marks] 3
Task 5-2
9 marks
Running time of insert operation [0-3
marks] 3
Running time of heapify operation [0-3
marks] 3
Analysis of d-ary heap sort [0-3 marks] 3
Task 5-3
9 marks
Algorithm design [0/2 marks] 2
Correctness [0/3 marks] 3
Time and space complexity [0/2/4 marks] 4
Task 5-4
9 marks
‘Yes/No’ answer correct 3
Number of minimum spanning tree on G is
well justified [0-6 marks] 6
Report quality
4 marks
Fluency and readability [0/2 mark]
Formatting and conciseness [0/2 mark] 4
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:代寫CSE 231、代做Python設計程序
  • 下一篇:代寫CMPSC 221 UML and Class Creation
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    777a∨成人精品桃花网| 国产精品激情| 免费亚洲婷婷| 中文字幕精品一区二区三区精品 | 狠狠色狠狠色合久久伊人| 欧美三级特黄| 欧美成人高清电影在线| 蜜臀av性久久久久蜜臀aⅴ| 极品av少妇一区二区| 久久人人超碰精品| 日韩精品一级二级| 日韩午夜免费视频| 国产视频在线观看一区二区三区| 精品一区免费av| 免费日韩av片| 久久久久九九视频| 国产精品一区免费视频| 色狠狠色狠狠综合| 亚洲成人激情社区| 亚洲理论在线| 欧美va亚洲va国产综合| 久久精品噜噜噜成人av农村| 久久精品五月| 亚洲精品va在线观看| 影音先锋久久资源网| 欧美大片在线观看一区二区| 另类小说欧美激情| 欧美一a一片一级一片| 日韩国产一区二| 一本久久精品一区二区| 国产精品水嫩水嫩| 99麻豆久久久国产精品免费优播| 91超碰这里只有精品国产| 蜜桃视频在线观看一区二区| 久久精品一区二区三区中文字幕| 一区二区在线免费| 在线综合视频| 亚洲午夜精品网| 亚洲在线电影| 亚洲第一久久影院| 丁香亚洲综合激情啪啪综合| 欧美日韩精品一本二本三本| 久久久久久毛片| 不卡的av中国片| 久久婷婷久久一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 欧美曰成人黄网| 韩国欧美国产1区| 3atv在线一区二区三区| 伊人开心综合网| 亚洲一区综合| 青青草伊人久久| 欧美性生交片4| 蜜桃视频在线观看一区| 欧美老人xxxx18| 久久精品国产亚洲一区二区三区| 欧美日韩视频专区在线播放| 日本欧美大码aⅴ在线播放| 在线观看日产精品| 国产美女一区二区三区| 欧美成人女星排行榜| 欧美在线看片| 亚洲欧美国产三级| 亚洲一区二区三区四区中文| 美女久久久精品| 日韩欧美亚洲国产精品字幕久久久| 不卡免费追剧大全电视剧网站| 国产午夜三级一区二区三| 91视频.com| 亚洲欧美国产77777| 亚洲自拍高清| 国产在线精品一区二区| 欧美视频精品在线观看| 成人一区二区三区中文字幕| 中文字幕亚洲电影| 色哟哟一区二区| 成人黄色综合网站| 一区二区中文字幕在线| 久久免费国产| 成人毛片老司机大片| 亚洲精品五月天| 欧美三级中文字幕在线观看| www.亚洲免费av| 国产欧美日韩亚州综合| 久久精品日产第一区二区三区| 国产精品一区久久久久| 欧美mv和日韩mv的网站| 亚洲一区网站| 白白色亚洲国产精品| 亚洲国产精品视频| 久久亚洲一级片| 久久精品五月婷婷| 91浏览器打开| 日韩激情视频网站| 久久久美女毛片| 老司机午夜精品视频| 激情婷婷亚洲| 99久久久国产精品免费蜜臀| 美腿丝袜亚洲色图| 亚洲综合一区二区三区| 国产亚洲精品福利| 91精品国产91久久久久久一区二区 | 欧美浪妇xxxx高跟鞋交| 午夜在线播放视频欧美| 午夜亚洲福利老司机| 3d成人动漫网站| 欧洲av一区二区嗯嗯嗯啊| 一区二区三区三区在线| 国产一区二区三区四区hd| 成人性生交大片免费| 蜜臀精品久久久久久蜜臀| 亚洲综合色噜噜狠狠| 国产精品乱人伦一区二区| 精品国产一区久久| 在线电影国产精品| 欧美视频在线一区| 色香色香欲天天天影视综合网| 亚洲激情网站| 国产精品v欧美精品v日韩| 91亚洲国产成人精品一区二三| 国产高清视频一区| 国产一区二区伦理| 久久不见久久见中文字幕免费| 五月婷婷久久丁香| 亚洲国产精品麻豆| 亚洲综合精品久久| 一区二区三区在线播放| 自拍偷拍国产精品| 国产精品二区一区二区aⅴ污介绍| 久久综合av免费| 久久影院电视剧免费观看| 2014亚洲片线观看视频免费| 日韩三级精品电影久久久| 欧美一区二区三区不卡| 欧美一区二区在线观看| 777奇米四色成人影色区| 在线电影一区二区三区| 日韩写真欧美这视频| 精品黑人一区二区三区久久| 久久久精品国产99久久精品芒果| 精品美女在线观看| 久久久久久免费网| 国产精品欧美一级免费| 中文字幕在线不卡视频| 亚洲精品成人精品456| 亚洲一区av在线| 青青青伊人色综合久久| 精品一区二区三区免费播放| 国产美女精品一区二区三区| 成人永久aaa| 欧美一区二区三区久久精品茉莉花| 色综合天天综合网天天狠天天 | 91在线码无精品| 激情久久一区| 国产精品免费一区二区三区观看| 久久亚洲高清| 精品视频一区二区三区免费| 日韩一区二区麻豆国产| 国产喂奶挤奶一区二区三区| 亚洲欧美在线另类| 五月婷婷激情综合| 国产一区亚洲一区| 97精品超碰一区二区三区| 亚洲一级一区| 色婷婷av一区二区三区之一色屋| 欧美裸体bbwbbwbbw| 久久影院视频免费| 亚洲激情自拍视频| 久久精品噜噜噜成人av农村| 成人激情文学综合网| 亚洲高清资源| 欧美系列一区二区| 久久久久国产免费免费| 一区二区三区四区高清精品免费观看 | 99久久久久久99| 亚洲精品影院| 精品1区2区3区| 欧美精品一区二区三区四区| 成人欧美一区二区三区在线播放| 亚洲午夜日本在线观看| 国产高清在线精品| 激情一区二区三区| 欧美系列亚洲系列| 国产欧美久久久精品影院| 午夜精品一区二区三区免费视频| 国产精品91一区二区| 激情综合久久| 在线播放中文一区| 亚洲柠檬福利资源导航| 老司机精品视频在线| 午夜不卡av免费| 日本欧洲一区二区| 欧美成人日韩| 欧美在线一二三四区| 久久久久久免费网| 奇米影视在线99精品| 你懂的亚洲视频| 欧美午夜免费电影| 国产精品第13页| 国产精品99久久久久|