问题 问答题

System.out.println("Number of days:"+ nNumOfDays);

答案

参考答案:nMonth<0 || nMonth>12
((nYear%4 ==0)&&!(nYear%100 == 0)) || (nYear%400 == 0)

解析:
本题主要考查swing图形用户界面设计和case语句的简单应用。解题关键是会用swing的容器面板构造对话框,熟悉判断闰年的条件语句的设计,判断输入是否符合程序要求的条件语句设计,case语句的设计。本题中,第1个空,判断输入的月份值应该在1到12月之间,否则给出提示信息并退出;第2个空,闰年的判断,将题干中的提示用代码实现。

问答题
阅读理解

C

Business Week ( Oct. 8,2008 )

Introducing Business Week's Power 100, our ranking of the most influential people in the world of sports.

Prospect(展望) ( Oct. 20,2008)

In July, Gordon Brown published a green paper called "The Governance of Britain.” The final section said that we need to be clearer about the rights and responsibilities of citizenship and what it means to be British. It proposed(倡议) "to work with the public to develop a British statement of values. "  We asked 50 writers and intellectuals to give us their thoughts on this statement and what should inform it.

Science( Sep. 28,2008)

In the journal's 28 September 2008 issue, Science, in partnership with the National Science Foundation, is pleased to present the winners and honorable mentions in the fifth annual Science and Engineering Visualization(视觉) Challenge.

Time( Sep. 1,2008 )

From the phone that has changed phones forever, to futuristic cars, to a building made of water, to a remote controlled dragonfly(蜻蜓)—a dazzling display of ingenuity(独创性).

Guardian( Oct. 17,2008)

Against all the odds, and seeing off competition from favourite to win Ian McEwan and Lloyd Jones, rank outsider Anne Enright,45, has been awarded the Man Booker prize for what the judges called a "powerful, uncomfortable and even at times angry book," The Gathering.

64.What do these five books have in common?

A.Each of the articles in each book is introduced in detail.

B.They are all published in the year and have one article digest.

C.Each of them is commented by a great man in the world.

D.They all introduce the most influential people.

65.What would be the best title for the article from Prospect?

A.In Search of British Values.

B.The Final Section.

C.The Rights and Responsibilities of Citizenship.

D.50 Writers and Intellectuals.

66.Who wins the Man Booker prize according to the passage?

A.Gordon Brown.   B.Ian McEwan.    C.Lloyd Jones.   D.Anne Enright.

67.The passage probably appears in a _______.

A. report        B. magazine     C. text book         D. science book