问题 问答题 简答题

如由招待员分菜时要注意哪些礼仪?

答案

参考答案:

如由招待员分菜,需增添时,待招待员送上时再取;如遇本人不能吃或不爱吃的菜肴,当招待员上菜或主人夹菜时,可轻声谢绝,或取少许放在盘内;对不合口味的菜,勿显露出难堪的表情。

阅读理解

Weixin was created and put into market by Tencent on January 21, 2011. Because of its amazing functions(功能), low cost and convenience ( 便利), it is very popular. You can see many people around you using Weixin to talk with their friends.

Weixin can make people quick to send voice message, video, pictures and text by phone. Because it is sent by network(网络), distance is not a problem. Even if your friends are in foreign countries, you can use Weixin to contact.

Weixin supports Wi-Fi and 3G network. It can enjoy group chat up to 20 people. Besides this, it can do much. Weixin can search people around you. It also supports to send videos. You can share the wonderful pictures with other people at any tim . It can share your messages to the world and make new friends. Weixin can keep your pictures and texts in your phone. It also helps you to get your messages from others. Weixin makes more people “talk” with each other in different places at different times.

The cost of Weixin is very low. It costs nothing to own Weixin if you have a phone. The low cost is one of the main reasons why Weixin becomes popular. Many people say that it’s much more convenient than QQ. Nowadays these users can’t live without them. They chat on QQ and Weixin and express their thoughts on Weibo.

根据短文内容,选择最佳答案。

小题1:. The use of Weixin began              .          .

A. in February, 2011             B. in January, 2011       C. in March, 2013

小题2: The underlined word “contact” means               in Chinese.              .

A. 联系                      B. 交易                C. 视频

小题3: How many Weixin’s functions are mentioned in this passage?

A. 3                          B. 5                  C. 7

小题4:. According to the passage, we learn that                            .

A. only young people use Weixin to talk with their friends

B. Weixin can help people make new friends

C. the cost of Weixin is much more expensive than that of QQ

小题5:. The main idea of the passage is              .

A. how to use Weixin to communicate with others

B. Weixin’s functions and its advantages

C. Weixin’s influences on most people’s lives

问答题

针对以下C语言程序,按要求回答问题。

已知link.c程序如下:

/*link.c程序对单向链表进行操作,首先建立一个单向链表,然后根据用户的选择可以对其进行插入节点、删除节点和链表反转操作*/

#include<stdio.h>

#include<stdlib.h>

typedef struet list_node*list_pointer; //定义链表指针

typedef struct list_node //定义链表结构

int date;

list_pointer link;

list node;

//用到的操作函数

1ist_pointer create(); //建立一个单向链表

vold insert(list_pointer*p_ptr,list_pointer node; //在node后加入一个新的节点

void delete_node(list_pointer*p_ptr,list_pointer trail,list_pointer node);

//删除前一个节点是trail的当前节点node

void print(list_pointer*p_ptr); //打印链表节点中的值

list_pointer invert(list_pointer lead); //反转链表

int main()

list_pointer ptr=NULL;

list_pointer node,trail;

list_pointer*p=&ptr;

int choose,location,i;

printf("you should creale a link first:\n");

//建立一个单向链表

ptr=create();/*ptr指向链表的第一个节点*/

print(ptr);

//根据用户的不同选择进行相应的操作:

printf("input number 0,you can quit the program\n");

printf("input number 1,you can insert a new node to link\n");

printf("input number 2,you can delete a node from the link\n");

printf("input number 3,you can invert the link\n");

printf("please input your choice\n");

scanf("&d",&choose);

while(choose!=0)

switch(choose)

case 1:

i=1;

while(i<location)

node=node->link;

insert(p,node);/*p为指向ptr的指针*/

print(ptr);

break;

case 2:

printf("you will delete a node from the link\n");

printf("please input the location of the node:\n");

scanf("&d,&location);

node=ptr;

if(location==1)

trail=NULL;

trail=ptr;

i=1;

while(i<location)

trail=trail->link;

i++;

node=trail->link;

delete_node(p,trail,node);

print(ptr);

brcak;

ease 3:

printf("you will invert the link\n");

ptr=invert(ptr);

print(ptr);

break;

default;

break;

return-1;

printf("please input your choiee\n");

seanf("&d",&choose);

printf("please input you choice\n");

scanf("&d",&choose);

retnrn 0;

//根据用户的输入数值建立一个新的单向链表;

list_pointer create()

int i,current,length;

list_pointer p1,p2,head;

prinff("please input the node number of the link:\n");

scanf("&d",&length);

printf("the nnmber of the link is:&d",length);

printf("please input the dais for tile link node:\n");

i=0;

p1=p2=(list_pointer)malloc(sizeof(list_node));

head=p1;

for(i=1;i<length;i++)

scanf("&d",&current);

p1->data=curren1:。 p2->link=p1;

p2=p1;

p1=(list_pointer)malloc(sizeof(list_node));

p2->link=NULL;

return head;

 

画出主函数main的控制流程图。