20162314 Experiment 3 - Sorting and Searching
Experiment report of Besti
course:《Program Design & Data Structures》
Class: 1623
Student Name: Wang, Yixiao
Student Number:20162314
Tutor:Mr.Lou、Mr.Wang
Experiment date:2017.11.6
Secret level: Unsecretive
Experiment time:60 minutes
Major/Elective:Major
Experiment order:3
Experiment content
- Searching test and Sorting test
- Reformat Code
- Add searching method and test
- Add Sorting method and test
Experiment situation
Exp1 Searching test and Sorting test
- It's easy to finish this experiment.
- To start with , import to form a new LinkedBinaryTree to start the experiment.
- Next , use the method GetRight GetLeft to ealuation.
- Then , new element "ABC".
- Last , Assert.assertequals();
Exp2 Reformat Code
- To start with , use the number to replace "A B C D ....."
- Next , new newNode
- Then, creat BinTree to get left child and right child
- Use three methods preOrderTraverse,inOrderTraverse,postOrderTraverse.
Exp3 Add searching method and test
- To start with , creat a class TwentyQuestionsPlayer
- String the Questions and the answers as the order
- New them
- Write a method play(),Yes =Y , No=N .
- Next , write a function to finish this experiment.
Exp4 Add Sorting method and test
Code hosting
PSP5.1(Personal Software Process)
Steps | Time | percent |
---|---|---|
requirement | 45minutes | 16.7% |
design | 50minutes | 18.5% |
coding | 1.5hours | 32.2% |
test | 30minutes | 11.1% |
summary | 55minutes | 19.2% |
转载于:https://www.cnblogs.com/CS162314/p/7806697.html
20162314 Experiment 3 - Sorting and Searching相关推荐
- 20162314 Experiment 4 - Graph
Experiment report of Besti course:<Program Design & Data Structures> Class: 1623 Student N ...
- distribution counting—a sorting method from aocp
/* *From the art of computer programming:vol 3:Sorting and Searching *时间:2012年3月6日21:02:32 *作者:张超 *E ...
- Searching: Shar's Method
Comparison tree Java program In this program, R1,-,RN were simplified to K1,-,KN. /*** Created with ...
- 个人网页、博客、课程--不断更新
论文和相关代码 :https://paperswithcode.com/ Caiming Xiong http://www.stat.ucla.edu/~caiming/ 论文,代码,博客 肖小粤的啵 ...
- 计算机算法常用术语中英对照(分为两部分 其中一部分表格形式 )
第一部分 Data Structures 基本数据结构 Dictionaries 字典 Priority Queues 堆 Graph Data Structures 图 Set Data Struc ...
- 2019 6月编程语言_今年六月您可以开始学习650项免费的在线编程和计算机科学课程...
2019 6月编程语言 Seven years ago, universities like MIT and Stanford first opened up free online courses ...
- 夏天和空调_您可以在今年夏天开始学习650项免费的在线编程和计算机科学课程...
夏天和空调 Seven years ago, universities like MIT and Stanford first opened up free online courses to the ...
- 计算机编程课程顺序_您可以在6月开始参加630项免费的在线编程和计算机科学课程...
计算机编程课程顺序 Six years ago, universities like MIT and Stanford first opened up free online courses to t ...
- 【Java源码分析】集合框架-Collections工具类-Arrays工具类
集合框架Collection 和Collections和Arrays工具类 一开始总是搞不清楚Collection和Collections的区别,不过看下代码应该很清楚,一个是接口,一个是工具类 Co ...
最新文章
- 用经典图书评分数据集,练手推荐系统(附参考源码)
- ubuntu 电源按钮操作_Ubuntu电脑操作基础:桌面背景,屏保和电源
- PHP高性能输出UNICODE正则汉字列表 汉字转拼音多音字解决方案 搜索引擎分词细胞词库更新 搜狗词库提取TXT...
- 13新功能_再聊聊灵感盒 -Marginnote 3.6.12/13新功能
- iptables 配置后连接不上数据库_CentOs中iptables配置允许mysql远程访问
- java字符串字节_Java中字符串与byte数组之间的相互转换
- android menu item 显示,Android 如何通过menu id来得到menu item 控件 .
- 苹果手机编辑word_苹果手机的安全性真的太好了,这样加密,重要文件不怕泄密啦...
- Netflix OSS、Spring Cloud还是Kubernetes? 都要吧!
- LOJ2257 SNOI2017 遗失的答案 容斥、高维前缀和
- NI CompactRIO、labview在车载数据采集中的应用
- win7怎么重置计算机,win7系统怎么重置网络?win7重置网络到初始状态的方法
- 【绝知此事要躬行】线性表之数组OJ
- python查看list的shape_列表list、数组np.array等的len,size,shape操作
- 我们将要建立的EasyDarwin开源社区
- 根据url动态生成二维码
- 个人总结-oracle查询锁表、解锁语句
- 6岁的招聘界“ChatGPT”|企业家俱乐部“创业者下午茶”第八期——AI得贤招聘官创始人方小雷
- 基于Wireshark的IP数据包头中ToS段介绍2-1
- 我母亲在一家计算机公司工作,关于母亲的作文700字5篇