有以下程序: main() {int a=0,b=0,C=0,d=0; if(a=1)b=1;c=2; else d=3; printf("%d,%d,%d,%d\n",a,b,c,D); } 程序输出()。
A. 0,1,2,0
B. 0,0,0,3
C. 1,1,2,0
D. 编译有错
查看答案
有以下程序A: int f1(int x,int y) { return x>y?x:y; } int f2(int x,int y) { return x>y?y:x; ) main() { int a=4,b=3,c=5,d=2,e,f,g; e=f2(f1(a,B),f1(c,D));f=f1(f2(a,B),f2(c,D)); g=a+b+c+d-e-f; printf("%d,%d,%d\n",e,f,g); } 程序运行后的输出结果是()。
A. 4,3,7
B. 3,4,7
C. 5,2,7
D. 2,5,7
有以下程序:mian(){int i,j;for(i=1;i<4;i++){for(j=i;j<4;j++)printf("%d*%d=%d",i,j,i*j);prin有以下程序: mian() {int i,j; for(i=1;i<4;i++) { for(j=i;j<4;j++)printf("%d*%d=%d",i,j,i*j); printf("\n"); } } 程序运行后的输出结果是()。
A. 1*1=1 1*2=2 1*3=3
B. 1*1=1 1*2=2 1*3=3 2*1=2 2*2=4 2*2=4 2*3=6 3*1=3 3*3=9
C. 1*1=1
D. 1*1=1 1*2=2 2*2=4 2*1=2 2*2=4 1*3=3 2*3=6 3*3=9 3*1=3 3*2=6 3*3=9
有以下语句:int b;char c[10];,则正确的输入语句是()。
A. scanf("%d%s",&b,&C);
B. scanf("%d%s",&b,C);
C. scanf("%d%s",b,C);
D. scanf("%d%s",b,&C);
SECTION B INTERVIEW
Directions: In this section you will hear everything ONCE ONLY. Listen carefully and then answer the questions that follow. Questions 1 to 5 are based on an interview. At the end of the interview you will be given 10 seconds to answer each of the following five questions.
Now listen to the interview.
听力原文:Host: Welcome to today's program. We continue our series on children with a conversation between two mothers about how important it is for children to enjoy their childhood and go to school.
Zandi: Hello, Gugu. I'm glad you are coming to visit me for a change.
Gugu: Hello, Zandi. What are you doing down there on the mat?
Zandi: I'm busy mending some clothes for my boy.
Gugu: It's so cool here under the tree. You are lucky to have such beautiful trees.
Zandi: Come and sit here. There's space on the mat. Have you seen Zanele's two girls lately?
Gugu: No, why?
Zandi: They work so hard every day. They carry water. They look after the chickens. They hoe the fields. And they carried those stones to make the wall around their house.
Gugu: That's a lot of work! Those girls are so small!
Zandi: Those girls were born just before my boy. They are eleven years old.
Gugu: They can't be eleven years old! They look much too small for their age.
Zandi: I know. Zanele won't send them to school. She says they will get into trouble. She says at home they are learning many things from her.
Gugu: But children must have time to learn and to play.
Zandi: How can Zanele's children grow properly if they don't have time to play and rest? I think this is why they're so small. Their bodies have worked too hard. Now they look very thin.
Gugu: Yes, I've read about this at the health clinic. Their bones have not had time to grow properly because of the hard work they do. And maybe they don't eat enough good food.
Zandi: When they are grown up, their bodies will struggle to bear childrer~
Gugu: But Zandi, what can we do? You know my children love school, but I also get them to help me at home. They collect wood for me and they feed the chickens.
Zandi: I know, I've seen them--aH children help with chores.
Gugu: You see everything, Zandi!
Zandi: Well, my eyes are open and what I see Zanele doing is not right. I feel very sad when I see these young children working so hard.
Gugu: This situation cannot be right. Maybe we should speak to Zanele.
Zandi: She's stubborn, that one! She won't listen.
Gugu: We can speak in a gentle way. We can remind her that children need time to enjoy their lives. They need time to play and go to school.
Zandi: Maybe we should only talk about school. She may get angry if we tell her we think her children are working too hard.
Gugu: We can start with the topic of school and stress how important it is for children to learn to read and write.
Zandi: Yes. We can say that girls and boys need to learn to read and write. Even if the girls get married and have a family, they still need to be able to read and write.
Gugu: We will have to choose our words carefully. She may not want to hear how we think children should be raised.
Zandi: We must do something.
Gugu: Perhaps she cannot do the work herself because she is not well.
Zandi: Whatever reason she has, we must go and speak to her.
Gugu: I have an idea. I'll bake a cake and we can visit her together.
Zandi: She may be suspicious of us.
Gugu: No, she won't. We can say we haven't seen her for a while and this will be the reason for the visit.
Zandi: Okay. And before we go, we can plan some questions about her daughters in a way that doesn't make her feel uncomfortable. What do you think?
Gugu: Hey, that's a good idea. We'll plan this visit so she really doesn't think we planned it at all!
Zandi: Let's go as soon as we can.
Host: We have heard a very important discussion today. These mothers are worried about children who do not go to school. T
A. She thinks that her children can learn more things from her.
B. She hates school and thus has a bad feeling towards school.
C. Her children will only play at school.
D. Her children are in bad health.