问题 填空题

我国古代数学家张丘建在其著名的《算经》中提出了百鸡问题:每只公鸡5元,每只母
鸡3元,三只雏鸡1元;如何用100元买100只鸡,即公鸡、母鸡、雏鸡各多少只。请在空白处
填入适当的内容,将程序补充完整。
  Private Sub Commandl_Click()
   Dim Cock As Integer
   Dim Hen As Integer
   Dim Chick As Integer
   Forml.Print“公鸡数”,“母鸡数”,“雏鸡数”
   For Cock;0 To 20
     For Hen=0 To 33
       For Chick=0 To 100
         If  【7】 Then
          Form1.Print Cock,Hen,Chick
         End If
       Next Chick
     Next Hen
   Next Cock
  End Sub

答案

参考答案:【7】Cock + Hen + Chick = 100 And 5 * Cock + 3 * Hen + ch/3 = 100

解析:【命题目的】考核考生对循环结构的掌握。
【解题要点】在该题中运用了循环语句的嵌套,即多重循环。从题目来看,【3】需要填入的是一个条件语句,即满足百鸡问题的数的条件。如果满足条件就在窗体上显示出来,应填入的语句是:Cock + Hen + Chick = 100 And 5 * Cock + 3 * Hen + ch/3;100。
【考点链接】Do While |Until…Loop语句和Do…While | Until语句。

选择题
单项选择题

Young girls at high risk for depression appear to have a malfunctioning reward system in their brains, a new study suggests. The finding comes from research that (1) a high-risk group of 13 girls, aged 10 to 14, who were not depressed but had mothers who (2) recurrent depression and a low-risk group of 13 girls with no (3) or family history of depression. Both groups were given MRI brain (4) while completing a task that could (5) either reward or punishment.

(6) with girls in the low-risk group, those in the high-risk group had (7) neural responses during both anticipation and receipt of the reward. (8) , the high-risk girls showed no (9) in an area of the brain called the dorsal anterior cingulated cortex (背侧前扣带皮质), believed to play a role in (10) past experiences to assist learning.

The high-risk girls did have greater activation of this brain area (11) receiving punishment, compared with the other girls. The researchers said that this suggests that high-risk girls have easier time (12) information about loss and punishment than information about reward and pleasure.

"Considered together with reduced activation in the striatal (纹状体的) areas commonly observed (13) reward, it seems that the reward-processing system is critically (14) in daughters who are at elevated risk for depression, (15) they have not yet experienced a depressive (16) ," wrote Ian H. Gotlib, of Stanford University, and his colleagues. " (17) , longitudinal studies are needed to determine whether the anomalous activations (18) in this study during the processing of (19) and losses are associated with the (20) onset of depression," they concluded. The study was published in the April of the Archives of General Psychiatry.

14()

A.repaired

B.impaired

C.healed

D.damaged