皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
实验六 简单表达式树的建立与运算 【实验内容】: 对于表达式 1+2*3-9/3 ,建立一棵表达式树,然后对该二叉树进行运算和遍历,功能如下: 1. 将表达式树转换成括号表示法,然后存储成二叉链表。 2. 求表达式树的高度。 3. 查找所有运算符并输出。 4. 先序遍历该表达式树,观察遍历结果的特点。 5. 中序遍历该表达式树,观察遍历结果的特点。 6. 后序遍历该表达式树,观察遍历结果的特点。 7. 销毁表达式树。 [实验结果上交]: 请同学们将程序源代码复制到TXT或word文档中,并将程序运行结果截屏并粘贴到源代码所在的文件后面,然后作为附件上传到 : 课程中心 -> 超星 ->数据结构-> 本次作业中 。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】粗加工牌号为HT150的零件,选用硬质合金刀具时,其牌号为 ( )
A.
YG8
B.
YG3
C.
YT15
【简答题】1927 年美国心理学家 出版《发展心理学概论》。
【单选题】The word 'eyesore' in the third paragraph probably means______.
A.
something unpleasant to look at
B.
something harmful to health
C.
beautiful scene
D.
serious threat
【单选题】She was really frightfully ugly.
A.
charming
B.
unpleasant to look at
C.
fearful
D.
astonished
【单选题】1967年美国心理学家奈瑟()一书的出版,标志着认知心理学已成为一个独立的流派。
A.
认知心理学
B.
机能主义心理学
C.
行为主义心理学
【判断题】毕达哥拉斯是一个大数学家同时也是一个神秘主义宗教的创始人。()
A.
正确
B.
错误
【简答题】select the word from the text which has the following meaning__________ means a thing that is unpleasant to look at.
【判断题】1956年美国心理学家布卢姆制定出了《教育目标分类学》。( )
A.
正确
B.
错误
【简答题】My husband, Tom, is a born shopper. He loves to look at things and to touch them. He likes to compare prices between the same things in different stores. He would never think of buying anything withou...
【简答题】A piece of clothesline hangs between some environmentally friendly Americans and their neighbors. On one side stand those who see clothes dryers(干衣机) as a waste of energy and a major polluter o...
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题