问题 完形填空
Now you’ve finished three years of English study. There’s one way to demonstrate(展示)what you’ve learned-take a test!
Do you have any special methods(方法) you use to help you do better on a test? How well you do is often a matter of how well prepared you are. Here are some ways to make sure you’re at your best on test days.
Go to bed early. The night before a test is not the time to stay up watching TV. You want to be rested and wide-awake for test day.
Have a good breakfast. Test day isn’t a morning for donuts(面包圈).Nor is it a time to starve yourself. Eat plenty of low-sugar, high-energy food to keep your brain and body working their best.
Be prepared, Make sure you have two pencils and anything else you were asked to bring.
Watch the numbers. Make sure that the number of the items(项目)on your answer sheet matches the number of the question.
Look over all the answer choices(选择). Don’t assume(假定)that choice A is correct until you’ve checked the others. You may find a better one. And it is wrong to eliminate(排除)any choice that you can see at once. You’ll have a better chance of finding the right answer.
Check the clock. Make sure you allow yourself enough time to answer every question and go back and check your answers .Don’t spend too much time on any difficult question .Skip(跳读)it and come back to it later.
Keep up with your school work all year long That’s how you get the skills you need for taking tests.
四、填写表格,每空一词(10分)
How to make sure that you can do     1 on test days
   2 
Things you do
Going to bed early
Not 3  up or being asleep for test day
Having a good breakfast
Eating  4   low-sugar, high-energy food
Being prepared
Remembering to  5  two pencils and
the    6 things you were asked to bring
Watching the numbers
The number of your answer should   7  the number of the question
Looking over all the choices
Don’t assume that the choice A is correct   8    
you’ve checked the others
Checking the clock
  9  your time carefully and not spending too much on any difficult question
You will get the skills you need    10   you keep up with your schoolwork all year long
 
答案

1、better best      2、ways        3、staying      4、much

5、have     6、other        7、match        8、until      9、Planning  10、if

多项选择题

[说明]
在进行文法分析的时候,通常需要检测一个单词是否在我们的单词列表里。为了提高查找和定位的速度,通常都要画出与单词列表所对应的单词查找树。
程序构造一棵二叉排序树,每个节点存储一个单词,按字典序列,较小的在左子树,较大的在右子树。
函数中使用的预定义符号如下:
typedef struct TreeNode/*二叉排序树节点*/
char *word;
struct TreeNode *left, *right;
BNODE;
[函数]
int getWord(FILE *fpt, char *word)
/*从文件fpt中读取单词到word中,到达文件结束时返回0*/

char c;
c = fgetc(fpt);
if(c == EOF)return 0;
/*跳过单词间的非字母字符*/
while(!(tolower(c) >= ’a’ && tolower(c) <= ’z’))
c = fgetc(fpt);
if(c == EOF)return 0;

/*不区分大小写*/
while(tolower(c) >= ’a’ && tolower(c) <= ’z’)
*word++ = c;
c = fqetc(fpt);

*word = ’\0’;
return 1;

void BTree(BNODE **t, char *word)

BNODE *ptr, *p;
int compres;
p = NITLL;
(1) ;
while(ptr)
compres = strcmp(word, (2) );
if(!compres)
return;
else
(3) ;
ptr = compres > 0 ptr->right : ptr->left;


ptr = (BNODE*)malloc(sizeof ptr);
ptr->left = ptr->right = NULL;
ptr->word = (char*)malloc(strlen(word) + 1);
strcpy(ptr->word, word);
if(p == NULL)
(4) ;
else if(compres > 0)
p->right = ptr;
else
p->left = ptr;


int main()

FILE *fpt;
char word[40];
BNODE *root = NULL;
if((fpt = fopen("text.in", "r")) == NULL)
printf("不能打开文件text.in! \n");
return 1;

while(getWord(fpt, word) == 1)
BTree (5) ;

fclose(fpt);
return 0;

单项选择题