试题与答案

式子①2y3,②2xx,③a+2π,④5x+2,⑤1a中的分式是______(填

题型:填空题

题目:

式子①
2y
3
,②
2x
x
,③
a+2
π
,④
5
x+2
,⑤
1
a
中的分式是______(填序号即可).

答案:

式子①

2y
3
,③
a+2
π
的分母中均不含有字母,因此它们是整式,而不是分式.

式子②

2x
x
,④
5
x+2
,⑤
1
a
的分母中含有字母,因此是分式.

故答案是:②④⑤.

试题推荐
题型:听力题

根据所给汉语完成下列句子。

小题1:Kitty每天骑自行车上学要花半小时时间。

It        Kitty half an hour        go to school on a bike every day.

小题2:我们正盼望着参观当地的农场。

We are        forward to        the local farm.

小题3:你愿意带我参观一下你的家乡吗?

Would you like to        us        your hometown?

小题4:阳光购物中心在我们学校的东北方向。

Sunshine Shopping Mall is        the        of our school.

小题5:我的电脑出故障了。

There is               with my computer.

查看答案
题型:填空题

请补充函数fun(),该函数的功能是:把一个字符串中的字符(字母)按从小到大排序,并把这个全部由字母组成的字符串保存在原串中,函数返回这个字符串的长度。例如;输入“cixbr2.3”,如果为bcirx,字符串长度为5。 注意:部分源程序给出如下. 请勿改动主函数main和其他函数中的任何内容,仅在函数fun()的横线上填入所编写的若干表达式或语句。 #include <stdio.h> #define N 20 int fun (char *str) { int i=0,j=0,k=-0,m=0; char t; char *p=str; while(*p) {if((*p>=’A’&&*p<=’Z’)||(*p>=’a’&&*p<=’z’)) 【1】 p++; } *(str+i)=’\0’; 【2】 ; while(*(p+j)) {k=j; 【3】 ;while (*(p+k)){ if(*(p+k)<*(str+m) {t=*(str+m);*(str+m)=*(p+k);*(p+k)=t; } k++;}j++; } return i; }main(){ char str[81]; iht n; clrscr(); printf("Input the original string "); gets(str); printf("*** The Original string ***In"); puts(str); printf("*** The nwe string ***\n"); n=fun(str); puts(str); printf("***The length of new string is:%d***\n",n);}

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