20162314 Experiment 4 - Graph
2024-09-03 11:31:58
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.19
Secret level: Unsecretive
Experiment time:60 minutes
Major/Elective:Major
Experiment order:4
Experiment content
- Graph implement and apply-1
- Graph implement and apply-2
3.Graph implement and apply-3
Experiment situation
Exp1 Graph implement and apply-1
- 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 Graph implement and apply-2
- 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 Graph implement and apply-3
- 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.
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% |
最新文章
- [.net 面向对象编程基础] (10) 类的成员(字段、属性、方法)
- Sqoop增量从MySQL中向hive导入数据
- Linux Shell编程(2): for while
- python中关于正则表达式三
- 有感于NC的强大
- 文档PDF开放
- SQLite Select 语句(http://www.w3cschool.cc/sqlite/sqlite-select.html)
- PyPI可以使用的几个国内源
- 【LeetCode每天一题】Minimum Path Sum(最短路径和)
- Android中碎片的添加问题
- 物联网智能家居ppt
- 【腾讯Bugly干货分享】舞动的表情包——浅析GIF格式图片的存储和压缩
- Github page搭建博客使用自定义插件的方法
- 4.11Python数据处理篇之Matplotlib系列(十一)---图例,网格,背景的设置
- STL_string.vector中find到的iterator的序号
- 海康摄像头配置固定IP
- MySQL数据库的学习
- redis学习(三)redis持久化
- 使用 IntraWeb (4) - 页面布局之 TIWRegion
- Linux内核的ioctl函数学习