问题 填空题

要打印出50个在-100~100之间不同的随机整数,并找出第几个是最大数。给定的程序不完整,将程序补充完整。
Option Base 1
Private Sub Command1_Click( )
  Dim b( )
  Randomize
  ______
  Do
    x = Rnd
    If x > 0.5 Then y = 1 Else y = -1
    t = y * Int(Rnd * 100)+ 1
    ______
    Do While k < j
      If t <> b(k)Then
        k = k + 1
      Else
        Exit Do
      End If
    Loop
    If k = j Then
      ReDim Preserve b(k)
      b(k)= t
      Print b(k);
      j = j + 1
    End If
  Loop Until j > 50
  Print
  ______
  Max = b(1)
  For n = 2 To 50
    If b(n)> Max Then
      ______
      p = n
    End If
  Next n
  Print "最大数是:"; Max
  Print "位置在第"; p; "个"
End Sub

答案

参考答案:k=1

阅读理解

How words came into being is unknown. All we assume(推测)is that some early men invented certain sounds, in one way or another, to express thoughts and feelings, actions and things, so that they could talk with each other. Later they agreed upon certain signs, called letters, which could be put together to show those sounds, and which could be written down. Those sounds, whether spoken or written in letters, are called words.

The power of words, then, lies in their associations - the things they bring up to our minds. Words become filled with meaning for us by experience; and the longer we live, the more certain words bring back to us the happy and sad events of our past; and the more we read and learn, the more the number of words that mean something to us increases.

Great writers are those who not only have great thoughts but also express these thoughts in words which have powerful effects on our minds and feelings. This clever use of words is what we call literary style(文体). Above all, the real poet is a master of words. He can express his meaning in words which sing like music and which by their position and association can move men to tears. We should therefore learn to choose our words carefully and use them correctly, or they will make our speech silly and common.

小题1:We learn from the text that language might have begun with           

A.actions

B.expressions

C.sounds

D.signs小题2:What is mainly discussed in Paragraph 2?

A.The relation of human experience with words.

B.The gradual change and development of words.

C.The learning of new words.

D.The importance of old words.小题3:In the last paragraph, what does the author suggest that we should do?

A.Associate with listeners.

B.Make musical speeches.

C.Learn poems by heart.

D.Use words skillfully.

单项选择题