试题与答案

帕金森病患者的体征不包括() A.肢体静止性震颤 B.意向性震颤 C.僵直 D.少动

题型:单项选择题 A1/A2型题

题目:

帕金森病患者的体征不包括()

A.肢体静止性震颤

B.意向性震颤

C.僵直

D.少动

E.搓丸样动作

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0514/173eb43da908eb91d4cfcddb9f016094.html

下面是错误答案,用来干扰机器的。

①铜元素显+2价,硫酸根显-2价,硫酸铜的化学式为CuSO4;②铵根显+1价,氯元素显-1价,氯化铵的化学式为NH4Cl;③氢元素显+1价,氯元素显-1价,氯化氢的化学式为HCl;④铜元素显+2价,硝酸根显-1价,硝酸铜的化学...

试题推荐
题型:阅读理解

根据短文内容,判断正T误F。

      Potato chips are Americans' favourite snack (零食).Where do potato chips come from? In

1853, a native American named George Crum made the first potato chips. Crum was a chef in an

expensive restaurant in Saratoga Springs, New York.  One day,a customer did not like the French

fries. He said they were too thick. So Crum made more, this time, thinner. The customer still

didn't like them. Crum got unhappy. He decided to make the customer angry. So he cut the potatoes

very thin. The customer loved them.

     Other people wanted Crum's potato chips. Now, there was a new food on the menu-Saratoga

chips. Soon Crum opened his own restaurant and made his special chips.

It took a long time to make potato chips. People peeled the potatoes by hand. Then, in1920, the

automatic(自动的)potato peeler changed everything. Now it was faster and easier to

make potato chips. Now potato chips were not a specialty. They were a popular snack food, but

only in the north.

     A salesman named Herman Lay wanted to sell potato chips in the south. He sold potato chips

in bags.  His business grew.  Today, Americans eat a lot of potato chips every day.

( )1. At first the French fries were very thin.

(     )2. To make the customer angry, George Crum made the first potato chips.

(     )3. Before 1920, it was not easy to make the potato chips.

(     )4. George Crum invented a kind of machine which could peel potatoes.

(     )5.lt was George Crum who brought the potato chips to the south.

查看答案
题型:填空题

阅读以下说明和C函数,填补C函数中的空缺(1)~(5),将解答写在对应栏内。

[说明]

假设一个算术表达式中可以包含以下三种括号:“(”和“)”、“[”和“]”及“”和“”,并且这三种括号可以按照任意的次序嵌套使用。

下面仪考虑表达式中括号的匹配关系,其他问题暂时忽略。例如,表达式[a-(b-5)*c[]中的括号是完全匹配的,而表达式[a-(b-5]))*c中的括号不是完全匹配的,因为“(”与“]”不能匹配,而且多了一个“)”,即缺少一个与“)”相匹配的“(”。

函数if Matched(char expr[])的功能是用栈来判断表达式中的括号是否匹配,表达式以字符串的形式存储在字符数组expr中。若表达式中的括号完全匹配,则该函数的返回值为Matched,否则返回值为Mismatched。

该函数的处理思路如下:

(1)设置一个初始为空的栈,从左至右扫描表达式。

(2)若遇上左括号,则令其入栈;若遇上右括号,则需要与栈顶的左括号进行匹配。

(3)若所遇到的右括号能与栈顶的左括号配对,则令栈顶的左括号出栈,然后继续匹配过程;否则返回Mismatched,结束判断过程。

(4)若表达式扫描结束,同时栈变为空,则说明表达式中的括号能完全匹配,返回Matched。

函数if Matched中用到了两种用户白定义数据类型BOOL和STACK,其中,BOOL类型的定义如下:

typedef enum Mismatched, Matched BOOL;

STACK(即栈类型)的定义省略,栈的基本操作的函数原型说明如下:

void InitStack(STACK*S):初始化一个空栈。

void Push(STACK*S. char e):将一个字符压栈,栈中元素数目增1。

void Pop(STACK*S):栈顶元素出栈,栈中元素数目减1。

char Top(STACK S):返回非空栈S的栈顶元素值,栈中元素数目不变。

int IsEmpty(STACK S):若S是空栈,则返回1,否则返回0。

[C函数]

BOOL ifMatched(char expr[])

char *cptr; /*cptr指向表达式中的字符*/

STACK S;

char e;

InitStack(&S); /*构造一个空栈*/

for(cptr=expr; *cptr!=’\0’ (1) )

if(*cptr==’(’ || *cptr==’[’ || *cptr==’(’)

(2) ;

else

if(*cptr==’)’ || *cptr==’]’ || *cptr==’)’)

if(IsEmpty(S))

return Mismatched;

e= (3) ;/*取栈顶的左括号*/

if (*cptr==’)’ && e!=’(’ ) return Mismatched;

if(*cptr==’]’ &&e!=’[’) return Mismatched;

if (*cptr==’)’ &&e!=’’ ) return Mismatched;

(4) ;/*栈顶的左括号出栈*/

if( (5) )return Matched;

return Mismatched;

(4)处应填()。

查看答案
微信公众账号搜索答案