问题 单项选择题

下列有关线程的叙述哪个是正确的

A.一旦一个线程被创建,它就立即开始运行

B.调用start( )方法可以使一个线程成为可运行的,但是它不一定立即开始运行

C.主线程不具有默认优先级

D.Java中线程的优先级从低到高以整数0~9表示

答案

参考答案:B

解析:一个新创建的线程并不是自动开始运行的,必须调用它的start( )方法使之将线程放入可运行态。不同优先级的线程间是抢先式的,而同级线程间是轮转式的。主线程具有默认优先级。Java中线程的优先级从低到高以整数1-10表示,分10级。

阅读理解

We spend hours, days and years of our lives in school. Imagine(想象) you could design(设计) your dream school, what would it be like? What would you be doing? We wanted to find out what teenagers around the world thought. Here is what they said:

Richard from the USA: My dream school would have a big swimming pool and two soccer fields. It would also have a cinema, a gym and a shopping centre. My school has none of these, and I think there should be more pleasant things for students to do while they are studying.

Sonia from Italy: I’d like a room where we can relax and play computer games. I’d also like to have a music room. I think there should be a place for everyone to go and relax after class.

Wu from Beijing: I think it would be great to have another day off (休息日) every week, besides the weekend. If that day was a Friday or a Monday, we would have a long weekend every week. What fun! I also think school should start later, at about 10 o’clock, and finish earlier.

Hannah from Australia: In my dream school, I think the teachers should give us more freedom(自由) and choice about how we study and what we study. I also think it’s not necessary for us to wear school uniforms every day. I really don’t like wearing it.  

小题1:There would be_______ in Richard’s dream school.

A.a big swimming pool and a music room  

B.a room to relax and play computer games

C.a big swimming pool, two soccer fields, a cinema, a gym, and a shopping centre

小题2:How many days off does Wu want to have in a week?

A.2.     B.3.      C.4.

小题3:Which country is NOT mentioned(提到) in the passage?

A.Italy. B.Japan.      C.Australia.

小题4:From the passage, we know that_________.

A.Sonia from Italy would like a room where she can relax and play computer games

B.Richard from the USA thinks his dream school should start at 10 o’clock

C.Hannah from Australia likes wearing a school uniform every day

小题5:Which is the best title (标题) for the passage?

A.Schools in the past.        B.Schools today.  C.Dream schools.

单项选择题