问题 单项选择题

有下列二叉树,对此二叉树前序遍历的结果是()。

A.ACFXDBEYZ

B.ABEFXYZCD

C.ABCDEFXYZ

D.ABDYECFXZ

答案

参考答案:D

解析:

对二叉树的前序遍历是指:先访问根结点,然后访问左子树,最后访问右子树,并且,在访问左、右子树时,先访问根结点,再依次访问其左、右于树。记住3种遍历的顺序:(1) 前序,访问根一按前序遍历左子树一按前序遍历右子树;(2) 中序,按中序遍历左子树一访问根一按中序遍历右子树:(3) 后序,按后序遍历左子树一按后序遍历右子树一访问根。

完形填空
I sat with my friend in a well-known coffee shop in a neighboring town of Venice. As we        our coffee, a man came in and sat at a(n)        table beside us. He called the waiter and placed his        saying, “Two cups of coffee, one of them there on the wall”. We        this order with rather interest and observed that he was        with one cup of coffee but he paid for two. As soon as he left, the waiter         a piece of paper on the wall saying “A Cup of Coffee”.
While we were still there, two other men        and ordered three cups of coffee, two on the table and one on the wall. They had two cups of coffee but        for three and left. This time also, the        did the same; he put up a piece of paper on the wall saying, “A cup of coffee.” It seemed that this gesture was a        at this place.        , it was something unique and puzzling for us. Since we had         to do with the matter, we        our coffee, paid the bill and left.
After a few days, we again had a(n)        to go to this coffee shop. While we were enjoying our coffee, a man walked in. The way this man was dressed did not        the standard nor the atmosphere of this coffee shop. Poverty was       from the looks on his face.        he seated himself, he looked at the wall and said, “One cup of coffee from the         .” The waiter served coffee to this man with        and dignity. The man had his coffee and left without paying. We were amazed to watch all this when the waiter        a piece of paper from the wall and threw it into the dustbin.
小题1:
A.enjoyedB.preparedC.practicedD.bought
小题2:
A.crowdedB.openC.emptyD.beautiful
小题3:
A.foodB.goodsC.tableD.order
小题4:
A.heardB.foundC.glaredD.watched
小题5:
A.satisfiedB.servedC.treatedD.awarded
小题6:
A.stuck outB.hid awayC.put upD.took out
小题7:
A.dashedB.movedC.fledD.entered
小题8:
A.paidB.lookedC.waitedD.asked
小题9:
A.customerB.waiterC.strangerD.passenger
小题10:
A.demandB.signalC.customD.duty
小题11:
A.InsteadB.ThereforeC.MoreoverD.However
小题12:
A.nothingB.somethingC.anythingD.everything
小题13:
A.wastedB.finishedC.missedD.donated
小题14:
A.invitationB.timeC.rewardD.chance
小题15:
A.equalB.changeC.matchD.reach
小题16:
A.obviousB.slightC.seriousD.strong
小题17:
A.SoB.AsC.UnlessD.Since
小题18:
A.windowB.floorC.wallD.door
小题19:
A.carelessnessB.wisdomC.interestD.respect
小题20:
A.brought downB.took offC.kept awayD.cut off
单项选择题