Question
data LiuJing Female 13814231733 WangAnqi Male 15855129526 HeLin Male 13920967276 ZhaoQingyue Female 15856127737 LiLifang Female 13601289664 MaXinyi Male 15819083913 ZhangHaibo Male 15840971965 GaoJiaqing Male 15853215366
data
LiuJing Female 13814231733 WangAnqi Male 15855129526 HeLin Male 13920967276 ZhaoQingyue Female 15856127737 LiLifang Female 13601289664 MaXinyi Male 15819083913 ZhangHaibo Male 15840971965 GaoJiaqing Male 15853215366 HuangQingxi Male 13766575535 ZhangLili Female 15858890761 XuYifeng Female 15850132029 WangLi Male 15854511744 LvHaizhi Female 15854309809 XuWanhu Male 13811777653 ChengChun Male 13830972677 ZhongKailin Male 13777904575 LiHaiqing Male 15816004696 ZhouXibo Male 15355066165 TaoQiqi Male 13919904080 PengLicong Male 18917809360 XueMingming Female 15856600930 WeiBingzheng Male 13501099785 ZhongWenchao Female 15853350467 LiuLianchun Male 13641009449 WangChengyang Male 15851765759 DongHaohao Female 18725055061 WangShishi Female 13431097635 LiuWanli Male 13770099933 ZhangYuhu Female 15851361356 XuFeiyan Female 15123564419 YangQingfeng Male 15019080367 LiuHailiang Male 13919128263 DuanRui Male 13619750782 HuYue Male 13665701003 XueYanyan Female 15951655823 FengLiqiang Male 15851367899 ZhaoShurao Female 13124691440 SongLi Male 15956734914 ChengMeixiang Female 13912646721 LinXuerui Female 13819152390 ShenNanyue Female 15500000242 ZhangTianfan Male 15359808675 LiuTing Female 18560231750 LiCaiyun Female 13609927552 MaoXinyi Female 15219210233 LiuSu Female 13550828317 ZhangYaoying Female 15062039198 ZhaoChenyu Male 18395811764 LiXiang Male 15597719478 ZhaoZiyuan Male 13890610226 YangQinlu Female 15759418225 ChenQi Male 18274234492 ShiYize Male 18885301946 QinLijiao Female 13199218928 DongWeiliang Male 13487711293 ZhouHaoyan Male 18189121521 LiXinyue Female 18283124394 LiJiahui Female 15783614978 LiuDingming Male 15153822948 WangWeilai Male 13889417369 WangYi Female 13672926377 SaMier Male 13254316640 LuDefu Male 15558801506 BiTe Female 18584123434 JiaBode Male 13453823790 AoTuo Male 18782610583 KeLisi Male 13897605315 GuMa Male 13510906613 DaiSita Male 15929524013 ALan Male 15068902524 BianXiaoping Male 15634801255 ShiDifu Male 13507925096 JinYixian Male 13551108412 RuiKa Male 13706239987 MuYan Female 13571110148 ZhangYeming Male 18473600922 NanDi Male 15727134586 XinDi Female 15566309001 MaDian Male 18570322833 TianJun Male 13472215734 KeYouwen Female 13011301658 TiWa Female 13993806550 AnXing Female 13509803558 HongAnxu Male 15726720902 OuYangyun Male 18682900943 BaiYechen Male 15438001338 CaiQilong Male 13412517159 JianKaikai Male 18925703683 WenTianxi Male 13594415214 ZhuHongzhao Male 18078727958 LiuYihao Male 15243203446 YeChunrao Male 13908030552 HuZhenfei Male 18820612154 WangZhenxing Male 13991237050 ZhaoJiajie Male 18140904090 YangYang Male 18919022884 ZengHao Female 15912131995 GuanTianhao Male 15501110783 DuWei Male 18997317285 ZhengChengyu Male 13578024413 LuYizhou Male 13808102785 GuoFan Male 13170410122 ZhangZhourong Male 18422022750 GuYang Male 13897120565 ZhaChencheng Male 18851026560 WangLi Female 18307209644 ZhuShibiao Male 18015520170 LiuTian Female 18651239220 ChuWeicun Male 15642020993 LiPeiyan Male 18551600545 ZengFanyi Male 13011601215 WangXinyi Female 15068902657 YangJianmei Female 18820625562 WangZijing Female 15367504191 ZhangHe Female 15916500719 GongMingze Male 13226618318 FangYuanzhou Male 15487105685 GuPeng Male 18818415484 WangJing Male 13162000052 DaiXian Male 18331022125 ZengYuan Male 15248300688 RanGuanghao Male 15575612122 YuanWenxuan Male 15871021772 LanYuxiang Male 13141131920 TanYan Male 15869508150 MuZhaoxi Male 15128920739 WangMaoan Male 13513502206 MinDingyao Male 15199008125 TangXiaolong Male 18672235924 LiXiukun Male 15926030648 PengJiaze Male 13871503758 LiuYixin Female 15958207492
for this question the program should be done in C language,the program should do the search base on the data given...after compliling the file the program should ask the user to enter phone and do the search..do according to this requirement not otherwise
4. Hash Search [Problem Description] Design a hash table which the phone number is the key word and can be used to do search. The phone number is looked on as key and thus the hash function should be designed based on it. [Basic Requirements] 1) Each record contains 3 data items, i.e. name, sex and phone number. 2) Read the datum from txt file, use phone number as the key to design hash function, using open addressing method to solve conflicts. Build hash table and show highest number of hashes. There are 450 records in total, and the size of hash table is defined as 467. The maximum number of hashes is required to be no more than 80 3) When the user input a phone number, your program should do hash search based on this number. If the number dose exist then the corresponding information should be shown, and the number of hashes should be shown as well. If the number does not exist in the table, still show the number of hashes and the information: this number not exist
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started