问题 单项选择题

程序设计语言的基本成分包括 (30) 、运算、控制、传输等,可计算问题的程序都可以用顺序结构、 (31) 和重复结构这三种控制结构来描述。

A.循环结构

B.选择结构

C.I/O流结构

D.转移结构

答案

参考答案:B

解析:
一般程序语言中提供了描述数据、运算、控制和传输的基本语言成分。
数据成分是指一种程序语言的数据类型,数据是程序操作的对象。
运算成分指明允许使用的运算符号及其运算规则。
控制成分指明语言允许表达的控制结构,可计算问题的程序都可以用顺序、选择和重复这三种控制结构来描述。顺序结构用来表示一个计算操作序列;选择结构提供了在两种或多种分支中选择其中一个的逻辑;重复结构也称循环结构,它描述了重复计算的过程,主要有while型重复结构和do-while型重复结构。

单项选择题 A1型题
阅读理解

     For five days, Edmonton's Downtown Park is transformed into one huge stage where artists are

able to share their talents, and where people are able to celebrate and enjoy themselves. Since its

beginning in 1980, the Edmonton Folk Music Festival has been commemorating(纪念) the true feeling

of what folk music is all about and that's the traditional togetherness(友爱) that is felt when people

gather to share stories and feelings through song.

     This year will be the sixth year when volunteer Riedel will be offering up her time to the festival.

"People coming off a busy spring and summer have a moment of relaxation," Riedel said. "It's really easy

to relax, and it's great seeing family and friends have fun together." These families and friends come from

all different kinds of musical tastes. People who take pleasure in Blues are there, so are people who love

Bluegrass. This festival does its best to develop everyone's musical interests.

     With so many years of experience, the festival has become a welloiled machine, and does whatever

it can to make attendees feel as comfortable as possible. There are free water stations throughout the

venue(举办地)for people to fill up their travel cups. When people buy food, reusable dishes are given

a $2 plate fee, but that is returned when the plate is brought back.

      The festival has completely sold out of tickets, and in record time. But with big names such as Van

Morrison and Jakob Dylan, it's easy to see how that was going to happen. There is no parking area

during the festival, so using the Park & Ride system or Edmonton Transit is highly recommended. A

bike lockup area is provided and will be available Thursday until Sunday one hour before the gates

open until 45 minutes after the gates close.

      The Edmonton Folk Music Festival begins on Wednesday, Aug. 4 with Van Morrison playing the

special donation fund(基金) concert, and will finish up on Sunday, Aug. 8.

1. The Edmonton Folk Music Festival is held mainly to________.

A. gather people with different musical tastes

B. remind people of the real sense of folk music

C. exhibit the good voices of great talents in folk music

D. collect old stories of folk music

2. Which of the following is TRUE according to the passage?

A. Riedel has volunteered for the festival for at least 5 years.

B. It's hard for people to appreciate Blues.

C. It costs people a little to fill up their cups from water stations.

D. People have to pay $2 for a plate of food.

3. We can learn from the passage that________.

A. people can get tickets easily for the festival

B. the Edmonton Folk Music Festival is well organized

C. driving one's own car to the festival is highly recommended

D. bikes are available at the festival from Wednesday to Sunday

4. What would be the best title for this passage?

A. Folk Music of Blues

B. One Festival for All

C. Festival for Family Gathering

D. Edmonton's Downtown Park