LETTER 1 Dear Ann, I am going to give a dinner party next month. I want my guests to enjoy themselves and to feel comfortable. What is the secret of giving a successful party Sarah LETTER 2 Dear Mary, Cook something that would let you spend time with your guests. If a guest offers to help you in the kitchen, accept the offer. It often makes people feel more comfortable when they can help. Before serving dinner, while your guests make small talks in the living room, offer them drinks. Some guests may like wine, but make sure to provide soft drinks for people who don’t. At the dinner table, let your guests serve themselves. Offer them a second serving after they finish, but don’t ask more than once. Most guests will take more if they want. Perhaps the most important rule of all is to be natural. Treat your guests as you want them to treat you when you’re in their home—that is, act naturally toward them, and don’t try too hard to be polite. Have a good time in a pleasant atmosphere. Yours, Vida
1. From the first letter we learn that Mary() .
A) is asking for advice on giving a dinner party
B) knows the secret of giving a pleasant party
C) is going to attend a dinner party
2. Ann s first piece of advice is that Mary should()
A) get the food ready before the guests arrive
B) keep the guests away from the kitchen
C) accept the guests’ offer to help
3. Ann suggests that Mary offer drinks().
A) while the guests are having small talks
B) when all the guests have arrived
C) after the guests finish small talks
4. When having dinner, the guests are expected to ().
A) eat their food slowly
B) help the host serve food
C) help themselves to more food
5. The most important rule for Mary to follow in treating her guests is to ()
A) be as polite as she can
B) let them feel at home
C) prepare delicious food
第1题:
执行下列语句后指针及链表的示意图为(43)。
L = (LinkList) malloc ( sizeof (LNode) );
P = L;
for(i =0;i <=3;i ++) {
P→next = (LinkList) malloc (sizeof (LNode));
P = P→next;
P→data = i * i + 1;
}
A.
B.
C.
D.
第2题:

第3题:
L1是不带头结点的单链表。以下算法功能是什么? Status fun(LinkList &L1, LinkList &L2) {p=L1; n=0; while(p){n++; p=p->next;} p=L1; for(i=1;i<n/2;i++)p=p->next; L2=p->next; p->next=NULL; return OK; }
第4题:
●试题二
阅读下列函数说明和C代码,将应填入(n)处的字句写在答题纸的对应栏内。
【说明】
该程序运行后,输出下面的数字金字塔

【程序】
include<stdio.h>
main ()
{char max,next;
int i;
for(max=′1′;max<=′9′;max++)
{for(i=1;i<=20- (1) ;++i)
printf(" ");
for(next= (2) ;next<= (3) ;next++)
printf("%c",next);
for(next= (4) ;next>= (5) ;next--)
printf("%c",next);
printf("\n");
}
}
第5题:

第6题:
16、设有三对角矩阵Ann(从A[0,0]开始),将其三对角线上的元素逐行存于数组B[0..m]中,使B[k]=A[i,j],则 用i、j表示k的下标变换公式为
A.2i+j
B.2(i-1)+j
C.2(i+1)+j
D.2(i-1)+j-1