问题 单项选择题

假设某银行拥有的资金数是10,现在有4个用户a、b、c、d,各自需要的最大资金数分别是4、5、6、7。若在图a的情况下,用户a和b又各申请1个资金,则银行分配后用户a、b、c、d尚需的资金数分别为();假设用户a已经还清所有借款,其情况如图b所示,那么银行的可用资金数为()。若在图b的情况下,银行为用户b、c、d各分配资金数1、1、2,则银行分配后用户b、c、d己用资金数分别为()。

若在图a的情况下,用户a和b又各申请1个资金,则银行分配后用户a、b、c、d尚需的资金数分别为();

A.2、2、3、3,可用资金数为0,故系统状态是不安全的

B.3、3、3、5,可用资金数为0,故系统状态是不安全的

C.2、2、4、6,可用资金数为2,故系统状态是安全的

D.3、3、3、5,可用资金数为2,故系统状态是安全的

答案

参考答案:C

阅读理解

阅读理解。

     Barack Hussein Obama has made history by becoming the first African-American president in American

history.

     Barack Obama was born in Hawaii on August 4,1961. His parents separated (分开) when he was two

years old and later divorced (离婚). Obama grew up with his mother in Hawaii,and for a few years in

Indonesia. Later, he moved to New York,where he graduated from Columbia University in 1983. Obama met

his wife, Michelle Robinson,in June 1989 and married her on October 3, 1992. The couple's first daughter,

Malia Ann, was bom in 1998, followed by a second daughter, Natasha ("Sasha"), in 2001.

     Obama's success is a true milestone (里程碑) . It speaks to the fact that in America you really do get a

chance to do anything, if you have the talent and ability and you work hard enough.

     Obama will not take office until 20 January, 2009. However, when he does become president, he will

face many serious challenges, including two foreign wars,climate change and what he has described as "the

worst financial crisis (经济危机) in a century". But Obama himself is ready to face these challenges.

1. How old is Barack Obama when he becomes American president?

A. 48.

B. 40.

C. 37.

D. 31.

2. Obama's success tells us that ______.

A. any black people can become president

B. you can succeed if you are talented enough

C. everyone can succeed if he is lucky enough

D. a talented person can succeed if he works hard enough

3. What does the underlined phrase "take office " in the last paragraph mean?

A. 生效

B. 就任

C. 离职

D. 竞选

4. According to the passage, Obama will face the following challenges except ______.

A. climate change

B. financial crisis

C. population problem

D. foreign wars

5. The whole passage is mainly about Obama's ______.

A. childhood

B. family

C. education

D. experience