试题与答案

下列函数中,函数值为数值型的是( )。A. InputStream 和 Outp

题型:单项选择题

题目:

下列函数中,函数值为数值型的是( )。

A. InputStream 和 OutputStream

B. Reader和Writer

C. Filter和Pipe

D. 以上都不正确

答案:

参考答案:B

解析:InptuStream和OutputStream是处理字节流的抽象类,它们的处理范围有限,说它是处理Unicode码的所有类,是不对的。Filter和Pipe分别是过滤流和管道流,与本题关系不大。在java.io包中,可以处理不同类型的流,例如:字节流、字符流、文件流、对象流等。

试题推荐
题型:完形填空
The sky was clear and the sun was shining brightly before the deadly disaster of the typhoon. Bernadette Tenegra, a 44-year-old high school teacher, was in her       which was on the bank of a river. The Tenegra family        together in their shelter to keep away from the storm. They thought that the powerful storm would die out soon as it did        .So they were just hanging on there.
But things didn’t happen       they had thought, the water rose with a frightening speed and their        house fell down, sweeping away the occupants (居住者),including Tenegra’s husband and her other daughter. They were able to struggle to            , but the 6-year-old Tenegra was       against the strong wind and water, along with sharp deadly debris(残骸). Bernadette made her way to the child and was holding her and kept      her to keep on.
“I crawled(爬) over to her, and I tried to pull her up. But she was too      and wasn’t able to make it. It seemed she had already       , ” Tenegra said,  crying. I screamed but it didn’t work."
The mother said       that she would never forget the last words of her daughter before        , “Ma, just let go, just let go. Save        . I love you forever.
“Yolanda” , the super typhoon destroyed a great number of houses and buildings. The 6-year- old Tenegra       her life. She has just seen a small part of this wonderful world      that short lifetime, while the whole world witnessed all the beauty of her.
小题1:
A.familyB.schoolC.building D.home
小题2:
A.marched B.stayedC.arrangedD.collected
小题3:
A.in the pastB.in the dayC.in the endD.in the future
小题4:
A.whileB.beforeC.asD.since
小题5:
A.woodenB.goldenC.hiddenD.modem
小题6:
A.strengthB.warmthC.safetyD.difficulty
小题7:
A.fightingB.beatingC.touching D.preventing
小题8:
A.invitingB.ordering C.training D.telling
小题9:
A.sleepyB.weak C.impatientD.careless
小题10:
A.given hackB.given awayC.given up D.given off
小题11:
A.excitedlyB.sadlyC.angrilyD.confidently
小题12:
A.arrivalB.breakC.choiceD.death
小题13:
A.myself B.yourself C.himselfD.herself
小题14:
A.lostB.savedC.spentD.changed
小题15:
A.aboveB.belowC.duringD.beyond
查看答案
题型:阅读理解与欣赏

对比阅读。

[甲]七步诗     

[三国·魏]曹植   

煮豆持作羹,漉菽以为汁。  

萁在釜下燃,豆在釜中泣。  

 本自同根生,相煎何太急?     

[乙]反七步诗    

 郭沫若   

  煮豆燃豆萁,豆熟萁成灰。  

  熟者席上珍,灰作田中肥。  

不为同根生,缘何甘自毁?

1.给下列画线字注音。

       (    )漉菽(    )(    )  (    )

2.[甲]诗中,曹植巧比妙喻,诗中用“豆”比喻           ,用“萁”比喻            ,“同根生” 指                                  “相煎”指                                  ;[乙]诗中的“豆”成了                     ,“萁” 变成了                                。 

3.[甲]诗后两句的意思是                                                               形象地说明了                                                               的道理。

4.[乙]诗后两句的意思是                                                                                 。 

5.[甲][乙]两诗的写作角度不同,曹植写[甲]诗是希望                                                              ;郭沫若写[乙]诗是歌颂                                                                        。     

6.曹丕与曹植本是亲兄弟,曹丕当了皇帝以后,想到曾经与他争夺过太子地位的曹植,怕曹植威胁自己的地位,于是召曹植进宫,对他说,你不是文思敏捷吗?好吧,你走七步作诗一首,诗成则罢,诗不成别怪我把你处死。曹植闻此言观此状,心潮澎湃,他会想些什么?请试着写一写。  

                                                                                                                                                  

                                                                                                                                                 

    曹丕听了曹植的《七步诗》,他又会想些什么?会说些什么?请你试着写一写。

                                                                                                                                                  

                                                                                                                                                 

查看答案
微信公众账号搜索答案