爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

CHC5223代寫、Java/c++編程設計代做

時間:2024-03-30  來源:  作者: 我要糾錯



CHC5223 Data Structures and Algorithms 2023–2024 Semester 2
1 of 4
Assignment 1
Value 40% of Coursework
Individual work
Learning outcomes
Students will be able to understand:
1.1 Data structures
1.2 The applications of data structures
1.3 Object-oriented programming concepts
1.4 Methods for program testing
Students will have acquired skills in:
2.1 Data abstraction
2.2 The use of data structures
2.3 Programming at a more advanced level in a high-level object-oriented language
2.4 Program testing and documentation
Students will have acquired skills in:
3.1 Self-management
3.2 Learning
3.3 Communication
3.4 Problem solving
3.5 Information technology
Submission requirements
The assignment submitted should be compressed into a .zip file, the following files should be
contained in the compressed file:
• a report as a Microsoft Word document containing the code of all your classes.
filename format: student ID+CHC5223_CW1_Report.docx
• a .zip file containing the project: the runnable jar file (if available) and all the program’s
source code (.java).
filename format: student ID+CHC5223_ CW1_Files.zip
General requirements
All your programming must conform to “Java Conventions and Programming Guidelines” – see
module Moodle site.
You must paste the key source code of your implementation into your report, as text or as
screenshots.
Introduction
The topics of this assignment are array, linked list, and hash table. The objective of this
assignment is to develop a hash table data structure utilizing a double-linked list as the
underlying mechanism.
Requirements
Basic rules
You must create one executable project after completing all tasks.
One Java class should be defined in one .java file respectively.
CHC5223 Data Structures and Algorithms 2023–2024 Semester 2
2 of 4
In the report, the source code of each task, together with the corresponding explanation, should
be presented separately.
Failure to comply with these rules will result in zero marks.
Task 1
You must design and implement a doubly linked list without using any existing implementation
in Java.
➢ The double-linked list should be a generic data structure that can store elements of string
data type.
➢ You must create a Node class that represents each element in the doubled-linked list.
➢ You must create a LinkedList class that represents a doubly linked list which should include
methods for inserting, deleting, accessing specific elements, checking empty, returning size,
and other operations you want to implement.
➢ The insertion operation should be done at the front of the list.
➢ The implementation should include error handling to handle errors such as deleting
elements from an empty list and accessing out-of-bounds.
 5 marks
You must give clear rationales and detailed explanations of your design and implementation in
the report.
5 marks
Task 2
You must design and implement a hash table based on a Java array (not any array list or existing
implementation from the Java library) and achieve the collision solution by using the linear
probing way.
➢ You must create a LinearProbingHashTable class that represents a hash table by using the
linear probing way for collision resolution. The initial capacity of the array should not
exceed 20.
➢ You must devise a hash function that can work well for string-type data. The hash function
devised should minimize the occurrence of collisions. You must not use the Java built-in
hashCode method, though you can experiment with it.
➢ The implementation can handle errors such as null keys or keys with unexpected formats.
➢ The implementation should include methods for inserting, searching, deleting, and
accessing key-value pairs.
➢ The implementation of the inserting operation can resize the table efficiently according to
the strategy you design if the hash table is too full.
➢ The implementation of the deleting operation can handle the situation when the key is not
found.
➢ The implementation can keep track of the load factor of the hash table and display it after
each insertion or deletion.
➢ The implementation of the searching operation can search for the key and return the
corresponding value if the key is found.
5 marks
You must give clear rationales and detailed explanations of your design and implementation in
the report.
CHC5223 Data Structures and Algorithms 2023–2024 Semester 2
3 of 4
5 marks
Task 3
You must design and implement a hash table based on the linked list and achieve the collision
solution by using the separate chaining way.
➢ You must create a ChainingHashTable class that represents a hash table by using the
separate chaining way for collision resolution.
➢ You must use the doubly linked list devised in task 1 to implement the separate chaining
way. The capacity of the linked list of separate chaining should not exceed 8.
➢ You must devise a hash function that can work well for string-type data. The hashing
strategy of the hash function should be designed differently from that of task 2 and should
minimize the occurrence of collisions. You must not use the Java built-in hashCode method,
though you can experiment with it.
➢ The implementation can handle errors such as null keys or keys with unexpected formats.
➢ The implementation should include methods for inserting, searching, deleting, and
accessing key-value pairs, as well as determining load factor.
➢ The implementation of the inserting operation can resize the table efficiently if the hash
table is too full.
➢ The implementation of the deleting operation can handle the situation when the key is not
found.
➢ The implementation can keep track of the load factor of the hash table and display it after
each insertion or deletion.
➢ The implementation of the searching operation can search for the key and return the
corresponding value if the key is found.
➢ The implementation of the hash table can resize the table capacity according to the
strategy you designed.
5 marks
You must give clear rationales and detailed explanations of your design and implementation in
the report.
5 marks
Task 4
You must implement a main program that engages objects of both the LinearProbingHashTable
class and the ChainingHashTable class.
➢ You must design a set of test cases to evaluate the functionality and correctness of two
different hash tables.
• Set the capacity of the hash table to a small value so that collisions are easy to occur.
• Verify that each of the hash functions is working well.
• Verify that each of the implemented methods is working correctly.
• Verify that the implementations of the Linear Probing way and Separate Chaining way
for collision solutions are working effectively.
➢ The inner structure of the generated hash tables should be clearly illustrated as the
executed result of the program.
4 marks
CHC5223 Data Structures and Algorithms 2023–2024 Semester 2
4 of 4
You must give clear rationales and detailed explanations of your design and implementation in
the report.
➢ Demonstrate the executed result of the program, including the generated hash table and
corresponding test data.
➢ Contrast and analyze the two hash tables generated based on the same set of test cases
given.
➢ Contrast and analyze the difference between the two hash functions you devised based on
the same set of test cases given.
➢ Give a rationale and detailed analysis of the effects of two different strategies of collision
solution.
6 marks
total 40 marks
Relevant quotation
“There are two ways of constructing a software design: One way is to make it so simple that
there are obviously no deficiencies, and the other way is to make it so complicated that there are
no obvious deficiencies. The first method is far more difficult.”
Professor Sir Tony Hoare
1980 Turing Award Lecture; Communications of the ACM 24 (2), (February 1981): pp. 75-83
Please try to do this the first way.
Obtaining help
It is encouraged to request further clarification on what is required for this assignment. Please
try to do this during normal contact time and avoid asking for such help in the last week before
the deadline.
You can discuss the requirements and the material covered in the assignment with others but
what you create must be all your own work. Be careful to avoid collusion.
Declare in your report any help you have received other than that from the module teaching
team.
Feedback
In addition to the written feedback that we aim to provide within the normal interval, you will be
able to obtain fast, brief, verbal formative feedback and help on correcting your work at your
practical classes. 

請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:代寫COMP3331、代做C++, Java/Python編程設計
  • 下一篇:JC3509編程代做、代寫Python程序設計
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              欧美大片在线看| 国产自产女人91一区在线观看| 狂野欧美一区| 韩国自拍一区| 欧美日韩八区| 亚洲国产日韩欧美一区二区三区| 亚洲欧美视频一区二区三区| 日韩视频精品在线| 99视频精品免费观看| 一区二区三区视频在线看| 亚洲欧美伊人| 日韩午夜激情| 国产一区清纯| 国产欧美日韩伦理| 亚洲啪啪91| 欧美成人性生活| 国产精品久久久久久久电影| 久久婷婷激情| 亚洲精品一区二区三区99| 麻豆久久久9性大片| 国产精品久久久久永久免费观看| 亚洲欧洲精品天堂一级| 久久理论片午夜琪琪电影网| 亚洲激情国产| 国产女人aaa级久久久级| 亚洲国产老妈| 一区二区日韩精品| 国产精品大片免费观看| 在线亚洲一区二区| 噜噜爱69成人精品| 午夜精品久久久久影视| 在线国产亚洲欧美| 在线视频亚洲| 欧美日韩在线观看一区二区| 欧美 日韩 国产一区二区在线视频| 亚洲欧美日本精品| 欧美日韩第一区日日骚| 免费在线视频一区| 国产精品二区三区四区| 欧美凹凸一区二区三区视频| 亚洲欧美日韩精品久久亚洲区| 欧美日韩国产三区| 国产日韩欧美中文| 欧美一级大片在线免费观看| 在线成人激情| 久久精品视频在线观看| 亚洲狼人综合| 国产综合色一区二区三区| 亚洲大胆女人| 欧美日韩的一区二区| 亚洲香蕉视频| 黄色成人av网站| 欧美第十八页| 欧美日韩精品免费观看视频| 亚洲欧美色一区| 合欧美一区二区三区| 美腿丝袜亚洲色图| 欧美成人一区二免费视频软件| 亚洲二区精品| 美女视频黄a大片欧美| 午夜精品久久久久| 欧美三级电影精品| 久久婷婷蜜乳一本欲蜜臀| 久久精品国产清自在天天线| 国产午夜精品久久久久久久| 狠狠狠色丁香婷婷综合久久五月| 国内精品久久久久久久果冻传媒| 国外视频精品毛片| 亚洲在线一区二区三区| 免费观看国产成人| 亚洲精品国产精品国自产观看浪潮| 一区精品久久| 日韩视频在线观看免费| 国产精品网站一区| 久久成人免费日本黄色| 在线观看欧美亚洲| 欧美久久久久| 久久在线视频| 日韩视频永久免费观看| 欧美另类69精品久久久久9999| 中文精品视频| 欧美日韩国产三级| 免费日本视频一区| 久热精品视频在线观看| 伊人伊人伊人久久| 国产区二精品视| 男女av一区三区二区色多| 男同欧美伦乱| 欧美激情一区三区| 亚洲专区免费| 亚洲国产小视频| 欧美精品一区在线观看| 亚洲免费观看| 久久久久久久激情视频| 欧美夜福利tv在线| 亚洲欧美视频在线| 欧美在线电影| 国产区欧美区日韩区| 国产精品永久免费观看| 在线日韩精品视频| 欧美国产日韩精品免费观看| 国产精品理论片| 欧美成人免费大片| 欧美性猛交一区二区三区精品| 亚洲欧美在线另类| 夜夜嗨av一区二区三区中文字幕| 久久久亚洲高清| 欧美一区二区三区视频在线| 国内外成人免费视频| 欧美va亚洲va香蕉在线| 欧美日韩精品欧美日韩精品一| 91久久精品国产91性色| 欧美午夜免费电影| 蜜臀a∨国产成人精品| 亚洲激情av在线| 亚洲三级电影在线观看| 日韩系列在线| 久久伊伊香蕉| 国产精品久久久久久久浪潮网站| 亚洲黄色视屏| 在线电影欧美日韩一区二区私密| 欧美一区午夜视频在线观看| 亚洲精品视频在线| 欧美在线国产精品| 久久亚洲风情| 一区二区动漫| 亚洲激情视频在线| 99国产精品一区| 午夜一区在线| 亚洲国产成人porn| 欧美三级在线视频| 日韩亚洲欧美一区二区三区| 麻豆乱码国产一区二区三区| 一本色道久久综合一区| 日韩视频永久免费| 久久www免费人成看片高清| 欧美日韩精品在线播放| 一区二区三区四区国产| 狠久久av成人天堂| 久久精品国产成人| 午夜精品视频网站| 亚洲高清资源| 欧美国产高潮xxxx1819| 国产精品igao视频网网址不卡日韩| 欧美日韩国产一区| 国产精品欧美久久久久无广告| 欧美日本一区二区三区| 亚洲欧美成人网| 久久综合图片| 亚洲精品视频免费观看| 久久嫩草精品久久久精品| 久久久久久夜精品精品免费| 亚洲第一二三四五区| 一区二区三区不卡视频在线观看| av成人老司机| 欧美一区二区在线看| 99国产精品国产精品久久| 久久久久成人网| 中国成人亚色综合网站| 亚洲美女免费视频| 鲁鲁狠狠狠7777一区二区| 国产精品尤物| 欧美片第1页综合| 国产欧美日韩精品一区| 久久亚洲美女| 欧美a级片一区| 欧美高清视频一区二区三区在线观看| 在线视频欧美一区| 欧美精品 日韩| 欧美精品久久久久a| 激情久久一区| 亚洲第一在线综合网站| 国产精品一区二区三区久久| 亚洲国产精品欧美一二99| 久久成人亚洲| 国产精品伦理| 欧美日韩国产麻豆| 欧美高清视频一区二区| 久久久亚洲国产天美传媒修理工| 欧美日韩中文在线观看| 香蕉成人伊视频在线观看| 亚洲国产欧美日韩精品| 欧美日一区二区三区在线观看国产免| 精品成人一区二区三区四区| 狠狠久久亚洲欧美| 亚洲图片欧美一区| 欧美成人小视频| 亚洲一区二区视频在线| 开心色5月久久精品| 亚洲精品在线视频| 国产日本亚洲高清| 欧美在线观看视频一区二区| 久久精品国产综合| 乱人伦精品视频在线观看| 亚洲日本va在线观看| 久久免费国产精品| 亚洲一二三区在线观看| 亚洲欧美精品中文字幕在线| 欧美日韩国产区一| 亚洲午夜久久久|