问题 单项选择题

下面程序的运行结果是( )。  # include <iostream.h>  void fun(int * a,int * b)  {    int x= * a;    * a= * b; * b=X;    cout << * a << * b<<" " ;  }  void main( )  {    int x=1, y=2;    fun (& x,& y);    cout < < X << y << endl;  }

A.层次模型

B.关系模型

C.网状模型

D.以上皆非

答案

参考答案:C

解析:层次数据模型的特点:有且只有一个节点无双亲,这个节点称为“根节点”;其他节点有且只有一个双亲。 网状数据模型的特点:允许一个以上节点无双亲;一个节点可以有多于一个的双亲。关系数据模型是以二维表的形式来表 示的。

阅读理解

阅读理解。

    On February 7, the National Library of China in Beijing began to allow free entry of readers, only asking

for their ID cards. While having free access (进入) to the library's services and facilities, readers can also

enjoy discounts (打折) on document copying, archive delivery and CD burning (刻录). The government

has given 178 million yuan to help the program.

    Various surveys (调查) show that Chinese are spending less time on reading, but this doesn't necessarily

mean a decline (下降) in people's passion in this regard. For example, bookstores on weekends are always

filled with readers. The key reason is that there are too few good public libraries. Either the books are too

old or in poor condition or the fee charges are too high.

    Against this backdrop, to offer free access to the National Library will help to encourage the public's

passion for reading and thus improve the overall cultural quality of nation.

1. If you want to go to the National Library of China now, you have to            . [ ]

A. give some money

B. be with your parents

C. bring a CD with you

D. show your ID card

2. The Chinese are spending less time on reading partly because            .[ ]

A. they are becoming poorer

B. they don't like to read books

C. they can't copy books

D. there are not enough good public libraries

3. Which of the following is not true according to the passage? [ ]

A. Books in public libraries are usually too old.

B. People can copy documents in the National Library without giving money.

C. Many people go to bookstores on weekends.

D. The government wants to encourage people to read.

判断题