问题 多项选择题

影响儿童自尊的因素包括( )。

A.同伴关系因素

B.父母的教养方式

C.教师的教育方式

D.社会的环境

答案

参考答案:A,B

解析:影响儿童自尊的因素包括:(1)父母的教养方式。(2)同伴关系因素。

问答题

[说明] 分糖果问题是一个经典问题。问题描述如下:幼儿国有n(<20)个孩子围成一圈分糖果,老师先随机地发给每个孩子若干颗糖果,然后按以下规则调整:每个孩子同时将自己手中的糖果分一半给坐在他右边的小朋友;如共有8个孩子,则第1个将原来的一半分给第2个,第2个将原有的一半分给第3个……第8个将原来的一半分给第1个,这样的平分动作同时进行;若平分前,某个孩子手中的糖果是奇数颗,则必须从老师那里要一颗,使他的糖果变成偶数。小孩人数和每个小孩的初始数由键盘输入。经过多少次调整,使每个孩子手中的糖果一样多,调整结束时每个孩子有糖果多少颗,在调整过程中老师又新增发了多少颗糖果。 [C程序] #include <stdlib.h> #include <stdio.h> bool allequall (int child[], int n ) //判断各小孩子手中的糖果是否相等 { for ( int i=0; i<n-1; i++) if (child[i]!=child[i+1] ) return false; //不相等返回假 return true; //相等返回真 } const int MaxNum=20; //定义最大人数 //主函数 void main ( ) { int Num=0; int *child; int *child1; //构造两个相应大小的数组child代表小朋友现有的粮果数child1代表小朋友原来有的糖果数 int Tnum=0; int i=0; do{ printf ( "Pelase input the number of the children: ")., scanf ( "%d",&Num ); if ( Num>MaxNum ) printf ( "Error Number!!" ); } while ( Num>MaxNum ); child=new int [Nmn]; child1=new int [Num]; for ( i=0; i<Num; i++ ) //将数组赋值 { printf ( "Input NO. %d child’s candy numbers: ",i+1); scanf ( "%d", &child[i] ); } while ( (1) ) { for (i=0; i<Num; i++ ) {if( (2) ){ (3) Tnum++;} } for ( i=0; i<Num; i++ )child1[i]=child[i]; //将child1赋值用来记忆原来小朋友的粮果数 for ( i=0; i<Nam; i++ ) (4) for (i=0; i<Num-1; i++)//用循环实现前一个小朋友粮果数加后一个小朋友粮果数的一半 {child[i]/=2;child[i]+=child 1 [i+1]; } child[Num-1]/=2; (5) } printf ( "每个同学最后分到糖果数目是%d\n", child[1]); printf ( "老师分发出的糖果是%d\n", Tnum ); } 图12-7是一种解决问题的流程图,请根据该流程图将对应C代码 (n) 处补充完整。

单项选择题

Recently, I flew to Las Vegas to attend a meeting. As we were about to arrive, the pilot announced with apology that there would be a slight (16) before setting down. High desert winds had (17) the airport to close all but one runway. He said that we would be (18) the city for a few minutes waiting to (19) . We were also told to remain in our seats meanwhile with our seat belts fastened (20) there might be a few bumps(颠簸). Well, that few minutes turned into about four-five minutes, including a ride that would make a roller coaster(过山车) (21) by comparison. The movement was so fierce that several passengers felt (22) and had to use airsickness bags. As you might guess, that’ s not a good thing to have happen in a(n) (23) space because it only (24) to increase the discomfort of the situation.

About twenty minutes into the adventure, the entire airplane became very (25) There was now a sense of anxiety and fear that could be (26) noticed. Every passenger simply held on for dear life …except one. A (27) was having a good time! With each bump of the (28) , he would let out a giggle (咯咯地笑)of delight. As I observed this, I (29) that he didn’t know he was supposed to be afraid and worried about his (30) . He neither thought about the past nor about the future. Those are what we gown--ups have learned from (31) . He was (32) the ride because he had not yet been taught to fear it. Having understood this, I took a deep breath and (33) back into my seat, pretending I was (34) on a roller coaster. I smiled for the rest of the flight. I even (35) to giggle once or twice, much to the chagrin(随恼) of the man sitting next to me holding the airsickness bag.

(21)()

A.light

B.pale

C.easy

D.quick