精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

CHC5223代寫、Java/c++編程設(shè)計代做

時間: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 

標(biāo)簽:

掃一掃在手機(jī)打開當(dāng)前頁
  • 上一篇:代寫COMP3331、代做C++, Java/Python編程設(shè)計
  • 下一篇:JC3509編程代做、代寫Python程序設(shè)計
  • 無相關(guān)信息
    昆明生活資訊

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      女同毛片一区二区三区| 伊人久久成人网| 欧美黄色免费在线观看| www.com.av| 中文字幕av资源| 欧美 日韩 国产 成人 在线观看 | 色婷婷免费视频| 精品人妻一区二区免费| 国产伦精品一区二区三区88av| 97人人爽人人爽人人爽| 亚洲国产精品成人无久久精品| 日本特黄特色aaa大片免费| 九九热视频精品| 精品人妻av一区二区三区| 激情五月婷婷在线| 国产午夜手机精彩视频| 国产资源中文字幕| 精品毛片在线观看| 久久精品www人人爽人人| 久久精品国产亚洲av久| 欧美高清性xxxx| 欧美一级淫片aaaaaa| 欧美日韩亚洲国产另类| 青青草免费av| 无码一区二区精品| 综合 欧美 亚洲日本| 91片黄在线观看喷潮| 夫妇露脸对白88av| 精品伦一区二区三区| 蜜臀av午夜精品久久| 日日噜噜噜噜人人爽亚洲精品| 日韩精品视频一二三| 在线观看日韩精品视频| chinese国产精品| 丰满岳乱妇一区二区| 国产精品人妻一区二区三区| 精品伦一区二区三区| 日本在线观看网址| 中文字幕在线观看你懂的| 91成年人网站| 精品乱子伦一区二区| 日韩网站在线播放| 69成人免费视频| 国产一二三四在线| 日韩精品一区二区亚洲av| 永久免费黄色片| 国产成人精品一区二三区四区五区| 精品视频久久久久| 中文字幕精品无码亚| 动漫精品一区二区三区| 蜜桃视频久久一区免费观看入口| 中文字幕+乱码+中文乱码91| 国产人妻人伦精品1国产丝袜| 少妇人妻精品一区二区三区| а中文在线天堂| 日韩一级片免费| 国产精品午夜一区二区| 色播五月激情五月| 国产精品密蕾丝袜| 一区二区三区www污污污网站| 国产精品国产一区二区三区四区| 日本一区二区网站| 国产精品欧美激情在线| 在线观看日本一区二区| 黄色aaa毛片| 亚洲天堂中文在线| 日韩一区二区三区四区在线 | 人妻av一区二区三区| 一级黄色大片免费| 欧美激情 一区| 国产精品热久久| 伊人色在线视频| 刘亦菲久久免费一区二区| 99视频只有精品| 午夜精品久久久久99蜜桃最新版 | 天堂在线一区二区三区| 国产成人av免费观看| 天堂在线资源视频| 久久99爱视频| 国产av精国产传媒| 91久久精品无码一区二区| 天天干天天插天天操| 免费看一级一片| 国产制服丝袜在线| 动漫av一区二区三区| 亚洲国产精品18久久久久久| 欧美日韩怡红院| 久久国产精品影院| 国产午夜精品理论片在线| 一本色道久久综合亚洲精品图片| 视频国产一区二区| 欧洲美一区二区三区亚洲| 国产又黄又粗又长| 国产免费一级视频| 国产精品999在线观看| 91人妻一区二区三区蜜臀| 一区二区国产精品精华液| 色偷偷男人天堂| 日韩中文字幕观看| 日韩国产成人在线| 天天干视频在线观看| 探花国产精品一区二区| 日日夜夜精品免费| 天天干天天舔天天射| 日本伦理一区二区三区| 内射后入在线观看一区| 久久久久久久久99| 免费在线黄色网| 欧美一级特黄高清视频| 刘亦菲毛片一区二区三区| 精品久久久久一区二区| 黄色一级视频在线观看| 狠狠人妻久久久久久综合| 国产精品揄拍100视频| 国产 日韩 欧美 成人| 国产精品成人网站| 国内毛片毛片毛片毛片| 免费在线不卡视频| 四虎影视一区二区| 中文字幕亚洲乱码熟女1区2区| 亚洲天堂一二三| wwwwww国产| 黄色工厂在线观看| 日韩 国产 在线| 亚洲欧美色图视频| 国产高潮免费视频| 久久免费手机视频| 五月婷婷六月丁香激情| 26uuu国产| 九九热精彩视频| 午夜精品一二三区| 成人无码精品1区2区3区免费看| 国产三级在线观看视频| 黄色av网站免费在线观看| 欧美黄色一级网站| 中文字幕日产av| 国产亚洲成人精品| 特黄aaaaaaaaa真人毛片| 91成人在线观看喷潮蘑菇| 国产一伦一伦一伦| 四虎精品一区二区| 非洲一级黄色片| 女同久久另类69精品国产| 在线观看日本一区二区| 国产精品久久久视频| 日本中文在线播放| www.99在线| 手机av在线网站| 国产丝袜在线视频| 天天做天天干天天操| 国产精品密蕾丝袜| 午夜视频www| 国产视频不卡在线| 中文人妻av久久人妻18| 国产专区第一页| 亚洲国产欧美日韩在线| 久久久久免费看| 波多野结衣啪啪| 香蕉av在线播放| 久久久精品福利| av免费一区二区| 午夜精品一区二区三| 精品无码一区二区三区电影桃花| 中文字幕一二三四| 欧美肉大捧一进一出免费视频| 亚洲男人天堂av在线| 久久无码人妻一区二区三区| 一级爱爱免费视频| 日韩中文字幕在线观看视频| 国产午夜免费福利| 91午夜视频在线观看| 天天看片天天操| 久久视频精品在线观看| 超碰人人人人人人人| 中文字幕av片| 欧美在线视频第一页| 国产精品午夜福利| 亚洲狠狠婷婷综合久久久久图片| 免费在线观看国产精品| 国产伦精品一区二区三区精品 | 久久久久久久久久久久久久免费看 | 国产亚洲成人av| 亚洲日本国产精品| 天堂av免费在线观看| 久久久久成人网站| 国产精品一区二区黑人巨大| 中文字幕在线观看国产| 天天综合天天色| 欧美成人国产精品一区二区| 国产成年人视频网站| 亚洲少妇久久久| 一区二区三区欧美精品| 人妻无码中文字幕| 人妻av一区二区三区| 久久久久久久毛片| 蜜臀久久99精品久久久| 久一区二区三区| 男人天堂一区二区| 麻豆成人免费视频| 日本精品久久久久久|