问题 单项选择题

Java的核心包中,提供编程应用的基本类的包是

A.javlang

B.javutil

C.javapplet

D.javrmi

答案

参考答案:A

解析: Java的核心包一共有12个,其中:java.lang包中封装了所有编程应用的基本类;java.util包提供实用程序类和集合类,如系统特性定义和使用、日期函数类、集合等常用工具;java.applet包为Applet提供执行需要的所有类,。主要是访问Applet内容的通信类。java.rmi包提供程序远程方法调用所需的类。因此,本题的正确答案是A。

阅读理解

Do you know of anyone who uses the truth to cheat? When someone tells you something that is true, but leaves out (略去) important information that should be inside, he can give you a false picture.

For example, someone might say, “I just won a hundred dollars on the lottery( * * ). It was great. I took that dollar ticket back to the store and turned it in for one hundred dollars!”

This guy is a winner, right? Maybe, maybe not. We then discover that he bought $ 200 worth of tickets, and only one was a winner. He’s really a big loser!

He didn’t say anything that was false, but he left out important information on purpose. That’s called a half-truth. Half truths are not technically lies, but they are just as dishonest.

Some politicians (政客) often use this trick. Let’s say that during Governor Smith’s last term, her state lost one million jobs and got three million jobs. Then she tries to get another term. One of her opponents (竞争对手) says, “During Governor Smith’s term, the state lost one million jobs!” That’s true. However, an honest statement would have been, “During Governor Smith’s term, the state had increased two million jobs.’’

Advertisers will sometimes use half–truths. It’s against the law to make false statements so they try to mislead you with the truth. An advertisement might say, “Nine out of ten doctors advised their patients to take Yucky Pills to cure toothache.” It fails to say that they only asked ten doctors and nine of them work for the Yucky Company.

This kind of cheating happens too often. It’s a sad fact of life: Lies are lies, and sometimes the truth can lie as well.

小题1:We may infer that the author believes people should ________.

A.buy lottery tickets if possible

B.make use of half–truths

C.be careful about what they are told

D.not trust the Yucky Company小题2:How many examples does the writer give to show how the truth is used to cheat?

A.One

B.Two

C.Three

D.Four小题3:Which of the following is TRUE according to the passage?

A.Using half truths is against the law.

B.Technically, half truths are in fact lies.

C.Yucky Pills is a very good medicine for toothache.

D.Governor Smith did a good job during her last term.小题4:Which of the following best expresses the main idea of the passage?

A.He’s really a big loser!

B.Sometimes the truth can lie as well.

C.Advertisers will sometimes use half truths.

D.It’s against the law to make false statements.

单项选择题