日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

CISC-235 Fall 2018 Assignment

發(fā)布時間:2025/3/15 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CISC-235 Fall 2018 Assignment 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

代寫CISC-235作業(yè)、代做Python/Java編程作業(yè)、代寫C/C++課程設(shè)計作業(yè)、代做HOTNCU留學(xué)生作業(yè)
CISC-235
Fall 2018
Assignment 2
A certain university has decided to get in on the blockbuster film game by creating a set of
inter-connected movies which will be collectively called the HOTNCU (Harvard of the North
Cinematic Universe). Each movie will focus on the gripping adventures of one or more
super-heroes who happen to be students, staff or faculty at the mysterious University Q,
situated in the far-away and not-cold-at-all land of Notario. (The University Administration
is very proud of having come up with this clever disguise for the actual setting of the movies.)
The projected number of movies in the series will be at least 3000 and not more than 4000.
Each movie under development has been assigned a project code name to preserve secrecy.
Each code name is an 8-letter English word. A sample set of code names is provided in the
file HOTNCU_potential_codenames_2018F.txt.
You have been assigned the task of creating a data structure that can
contain 4000 items or more
support insert and search operations
provide access to each item with a maximum of 3 steps (that is, the maximum number
of table addresses examined during an insert operation can be no more than 3). For
more information on this, see below.
Your hard-earned data structures expertise has convinced you that neither a sorted array nor
a binary tree can meet this requirement, so you have settled on using a hash table.
The HOTNCU Project Director was previously a Computer Science professor and she has
taken an interest in your project. She has already decided that you are required to use some
form of open addressing. She is aware that your table will need to be > 4000 in size but she
wants you to try to minimize it.
She wants you to explore at least two forms of open addressing: quadratic probing and
double hashing. For each method she wants you to experiment with different hashing
functions and details of the collision resolution methods to determine a table size that lets you
achieve the required performance standard. See below for a discussion of how to compute
the necessary information.
Part 1:
Formulate an hypothesis regarding which of quadratic probing or double hashing will
achieve the required performance standard with smaller table sizes.
Part 2:
Decide how you will convert the code names into usable key values. This may involve
converting each code name to an integer, or simply treating each code name as a bit string.
You will also find a wealth of ideas on the Internet. Whatever method you decide on, explain
why you chose it and remember to cite your source if it is not your own creation.
You may wish to take advantage of the fact that all the code names have exactly 8 characters.
Part 3:
Implement a hash table where collisions are resolved by quadratic probing.
Use an hashing function of your own choice. You must implement the algorithm
yourself. Using downloaded code from external sources is not permitted – but writing your
own code based on a published algorithm is fine (remember to cite your sources). You may
wish to experiment with different functions to minimize the number of collisions.
Try at least three combinations of and :
1)
2) (remember that you will have to convert the result to an integer),
3) other combinations of your choice.
For each combination, find a table size that lets you achieve the requirement on maximum
probe sequence length. Use experimentation to get close to the minimum table size that
satisfies the requirement.
For experimentation, I suggest that you draw many random samples of 4000 strings from the
provided text file, and run your hashing algorithms on the samples with a range of table sizes
to determine which sizes meet the performance requirement.
A table size must be rejected if there is any code name in the sample for which the insert
operation exceeds the maximum number of steps.
Part 4:
Repeat Part 3 but with Double Hashing instead of Quadratic Probing. Try at least three
combinations of and . For each combination, find a table size that achieves the
required performance.
You are free to choose any hashing functions you like for and , but as with Part 3
you must implement them yourself.
Part 5:
Write a report according the format specified for this course, including an analysis of your
experimental results and whether or not they support your hypothesis.
Computing the Number of Steps in an Insertion
Every time your program looks at the content of a table address, that counts as a step. So if
you are inserting a value and you try addresses 717, 5, and 2083 before finally inserting the
value in address 3006, that counts as four steps.
Logistics:
You may complete the programming part of this assignment in Python, Java, C or C++.
You must submit your source code, properly formatted and documented You must also
submit a PDF file containing your report. All files must contain your name and student
number, and must contain the following statement: “I confirm that this submission is my own
work and is consistent with the Queen's regulations on Academic Integrity.” Combine your
files into a .zip archive for uploading.http://www.daixie0.com/contents/3/1992.html
You are required to work individually on this assignment. You may discuss the problem in
general terms with others and brainstorm ideas, but you may not share code. This includes
letting others read your code or your written conclusions.
The due date for this assignment is 11:59 PM, November 16, 2018.

?

因為專業(yè),所以值得信賴。如有需要,請加QQ99515681 或郵箱:99515681@qq.com?

微信:codinghelp

轉(zhuǎn)載于:https://www.cnblogs.com/javanewpython/p/9931326.html

總結(jié)

以上是生活随笔為你收集整理的CISC-235 Fall 2018 Assignment的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久精品国产精品亚洲色婷婷 | 黑人精品一区二区三区不 | 自拍偷拍1| www.日 | 欧美精品二区 | 午夜一区| 亚洲砖区区免费 | 日产精品久久久久久久蜜臀 | 亚洲福利视频网站 | 美国色综合 | japanese在线 | 亚洲在线观看免费视频 | 91色吧| 亚洲天堂中文 | 日韩一级影院 | 明星双性精跪趴灌满h | 欧美一区二区三区久久综合 | 日本中文字幕在线播放 | 在线免费观看国产精品 | 特大黑人巨交吊性xxxx视频 | 99热这里只有精品8 国产一卡二 | 用我的手指扰乱你 | 在线视频1卡二卡三卡 | 欧美在线一区二区三区四区 | 日本暧暧视频 | 国产欧美日韩精品在线观看 | 国产精品久久午夜夜伦鲁鲁 | 国产suv精品一区二区883 | 成年人黄色片网站 | 爱爱免费网站 | 人妻丰满熟妇av无码区hd | 跪求黄色网址 | 国产日韩一区二区三区 | 欧美日韩一卡二卡三卡 | 9久精品 | 日本久久网 | 超碰日日夜夜 | 婷婷综合视频 | 视频二区在线观看 | 日韩中文在线视频 | 日韩午夜伦| 国产又黄又猛 | 国产精品一区二区在线看 | 亚洲第一色在线 | 国内精品久久久 | 小草av在线 | 日本做受 | xxxxxxxx黄色片 | 亚洲视频色图 | 网友自拍咪咪爱 | av2014天堂网 | 日本黄色a级片 | 蝌蚪网在线视频 | 久久亚洲AV成人无码一二三 | 亚洲综合欧美综合 | 91精彩视频在线观看 | 成人永久免费视频 | 人人爱人人看 | 国产一区亚洲 | 欧美精品在欧美一区二区 | 久久9999久久免费精品国产 | 美女一级 | 欧美性极品 | 色狠狠综合| 欧美大色 | 亚洲欧洲国产日韩 | 国产激情91 | 亚洲美女精品视频 | 国产精品久久午夜夜伦鲁鲁 | 女同互舔视频 | 大尺度摸揉捏胸床戏视频 | a免费毛片 | 亚洲美免无码中文字幕在线 | 手机在线成人av | 91av麻豆 | 国产一区二区免费电影 | 在线一区二区三区 | 国产二区在线播放 | 国产叼嘿视频在线观看 | 国产精品久久久久久久av福利 | 国产精品免费视频一区二区 | 91欧美国产 | 日韩一级视频在线观看 | 末发成年娇小性xxxxx | 欧美日韩久久婷婷 | aaa大片十八岁禁止 中文字幕亚洲在线观看 | 手机看片1024欧美 | 国产在线免费av | 国产三级短视频 | 国产日韩视频一区 | 97夜色| 国产精品久久久久久亚洲调教 | av毛片一区 | 久久久精品毛片 | 久久成人免费视频 | 一区二区三区免费网站 | 国产高潮白浆 | 蜜桃视频污在线观看 | 一级片中文 |