-
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是某集体的“人名”,输入的是人名的拼音,而且字符长度不超过19。
2) 输出形式:...
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是某集体的“人名”,输入的是人名的拼音,而且字符长度不超过19。
2) 输出形式:
输出相应的“人名”哈希表,并实现查找的功能,且平均查找长度不超R.
3) 程序所能达到的功能:
利用哈希函数对“人名”拼音做编码,建立哈希表。并实现查找的功能,且平均查找长度不超R。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入是不是有效的。进行条件判断,实现错误处理。
如果输入是正确的话,就会按程序的5个功能一步步建立起哈希表、查看哈希表、哈希表的查找。否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈希表的特点
a) 据哈希函数和处理冲突的方法将一组关键字映像到一个有限的区间上
b) 以关键字在地址集中的“像”作为记录在表中的存储位置
c) 不经过任何比较,一次存取便能得到所查记录
- 2022-03-24 15:33:14下载
- 积分:1
-
常见java数据结构的使用方法,包括Arrays类Collections类HashSet类List类TreeSet类Map类Vector类...
常见java数据结构的使用方法,包括Arrays类Collections类HashSet类List类TreeSet类Map类Vector类-Java data structures commonly used methods, including Arrays Class Collections category HashSet Class List Class TreeSet Class Map type Vector Class
- 2023-02-20 19:50:03下载
- 积分:1
-
An implementation tool for SYBASE SQL language sample source code features a syn...
一个执行SYBASE SQL语言的工具示例源代码
功能特色
1 语法颜色显示
2 执行DDL语句
3 在执行SQL Select 语句时使用异步多线程处理方式,这样在检索返回大量
数据Select语句时,不会使占用过多的CPU时间。
-An implementation tool for SYBASE SQL language sample source code features a syntax color display 2 implementation DDL statement 3 in the implementation of SQL Select statement using asynchronous multi-threaded approach, so the return of large amounts of data retrieval when the Select statement, not occupied too much CPU time.
- 2022-05-06 20:25:22下载
- 积分:1
-
hospital system
基于c语言和数据库的小型医院管理
- 2023-03-04 17:35:04下载
- 积分:1
-
Oracle 10g精要 第三版
Oracle 10g精要 第三版-essence of the third edition of Oracle 10g
- 2022-03-23 06:53:53下载
- 积分:1
-
参加运动会的 个学校编号为 。比赛分成 个男子项目和 个女子项目,项目编号分别为 和 。由于各项目参加人数差别较大,有些项目取前五名,得分顺序为7,5,3,2,...
参加运动会的 个学校编号为 。比赛分成 个男子项目和 个女子项目,项目编号分别为 和 。由于各项目参加人数差别较大,有些项目取前五名,得分顺序为7,5,3,2,1;还有些项目只取前三名,得分顺序为5,3,2。写一个统计程序产生各种成绩单和得分报表。
2、要求产生各学校的成绩单,内容包括各校所取得的每项成绩的项目号、名次(成绩)、姓名和得分;产生团体总分报表,内容包括校号、男子团体总分、女子团体总分和团体总分。
3、测试数据:对于 , , ,编号为奇数的项目取前五名,编号为偶数的项目取前三名,设计一组实例数据。
-The school serial number participating in Games is. Competition divides into men s event and women s event , the project serial number parts for the sum. The difference is bigger since every project participates in a number , some projects choose the first five , score order is 7 , 5 , 3 , 2 , 1 Still have some of projects taking the first three places , score only being 5 , 3 , 2 in proper order. Write a form for report counting procedure producing the various school report card and score. 2, demands the school report card producing every school , content includes every achievement project number , position in a name list (achievement) , full name and score per got by school Produce the group total points form for report ,
- 2022-03-13 17:40:51下载
- 积分:1
-
数据结构中应用于图的演示源代码。供参考学习
数据结构中应用于图的演示源代码。供参考学习-Data structure used in Fig demo source code. For information, learning
- 2022-06-19 15:08:47下载
- 积分:1
-
MS SQL数据库连接学校管理系统java
在MS SQL Server数据库连接 java的学校管理系统;
- 2022-07-25 09:05:03下载
- 积分:1
-
本程序主要是用于编译原理中的语法分析用的是vc++语言,用的是LR1语法分析法。...
本程序主要是用于编译原理中的语法分析用的是vc++语言,用的是LR1语法分析法。-this procedure is used mainly to the principle of compiler syntax analysis is vc language, the syntax is Sequence Analysis.
- 2022-03-23 15:20:46下载
- 积分:1
-
数值计算源代码来自哈尔滨工业大学计算机学院
数值计算源代码来自哈尔滨工业大学计算机学院-numerical source code from the Harbin Industrial University computer science
- 2022-01-25 20:55:50下载
- 积分:1