
【名词&注释】
二叉树(binary tree)、表达式、程序结构(program structure)、下划线(underline)
[单选题]在设计程序时,应采纳的原则之一是()
A. 程序结构应有助于读者理解
B. 不限制goto语句的使用
C. 减少或取消注解行
D. 程序越短越好
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]下列程序要求用户输入一个年份,并能够判断用户输入的年份是否是闰年,下划线(underline)处应填( )。 Sub EnSure() Dim year As Integer year=Val(InputBox("请输入年份:")) If(year Mod 4=0 ______ year Mod 100>0) ______ (year Mod 400=0) Then Print "您输入的是闰年" Else Print "不是闰年,是普通年份" End If End Sub
A. And And
B. And Or
C. Or Or
D. Or Or
[单选题]在深度为5的满二叉树中,叶子结点的个数为( )。
A. 32
B. 31
C. 16
D. 15
本文链接:https://www.zhukaozhuanjia.com/download/95od6w.html