问题 单项选择题

下列关于线程的叙述中,正确的是( )。

A.每一个线程可以有多个标识符和其相应的线程描述表

B.不同的线程可以执行相同的程序

C.同一进程中的各个线程共享该进程的逻辑地址空间

D.多个线程不可以并发执行的

答案

参考答案:B

解析:每一个线程有惟一的标识符和一张线程描述表。不同的线程可以执行相同的程序。同一进程中的各个线程共享该进程的内存地址空间。多个线程是可以并发执行的。注意:每一个线程不能有多个标识符,故A)选项错误;同一进程中的各个线程共享该进程的内存地址空间,而不是逻辑地址空间,故C)选取项错误;多个线程是可以并发执行的,故D)选项错误。

判断题
阅读理解

阅读理解。

     In the United States,every year,Thanksgiving Day is on the fourth Thursday of November.Because

Canada is north    of  the United States,and is colder.  The harvest comes earlier in the  year,  In Canada,

people have Thanksgiving Day on the second Monday in October.

     The harvest brings a lot of food to the people.On Thanksgiving Day people in Canada and America

like to have a big meal with their friends and family just like Chinese people do at Mid-Autumn Festival.

Many Canadians and Americans put flowers.vegetables and fruits around their homes to say"Thank

you"for the harvest.

     At a Thanksgiving Day dinner,many Canadians and Americans will eat turkey,potatoes,and pumpkins

pie.These are food like the food of many years ago.They are saying"Thank you"for.the harvest that

comes every year.

1.Which country has the Thanksgiving Day like the United States?

A.Japan.    

B.China.  

C.Canada.  

D.Korea.

2.In the United States,Thanksgiving is on the fourth Thursday of     .      

A.January    

B.May    

C.November  

D.December

3.Canada has Thanksgiving earlier in the year because      

A.they like flowers    

B.the harvest come earlier

C.they have a big meal  

D.they want to be different

4.The harvest brings        to people.      

A.flowers    

B.turkeys    

C.food

D.pumpkins

5.What do people usually say on Thanksgiving Day for the harvest?

A.Good morning.

B.I'm hungry  

C.Hello.

D.Thank you.