填空题设字符串S1= “ABCDEF”,S2= “PQRS”,则运算S=CONCAT(SUB(S1,2,LEN(S2)),SUB(S1,LEN(S2),2))后的串值为()。

填空题
设字符串S1= “ABCDEF”,S2= “PQRS”,则运算S=CONCAT(SUB(S1,2,LEN(S2)),SUB(S1,LEN(S2),2))后的串值为()。

参考解析

解析: 暂无解析

相关考题:

(35)下列关系代数运算中,不正确的是( )。A)sF(S1?S2)=sF(S1)?sF(S2)B)pP(S1?S2)=pP(S1)?pP(S2)C)sF(S1èS2)=sF(S1)èsF(S2)D)sF(S1èS2)=sF(S1)èsF(S2)

s1和s2已正确定义并分别指向两个字符串。若要求:当s1所指字符串大于s2所指字符串时,执行语句S;则以下选项中正确的是( )。A.if(sl>s2)S;B.if(strcmp(s1,s2))S;C.if(strcmp(s2,s1>0)S;D.if(strcmp)(s1,s2)>0)S;

下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。A.if(*s1==*s2) puts("they are Equal");B.if(!strcmp(s1,s2)) puts("they are Equal");C.if(s1==s2) Puts("they are Equal");D.if(strcmp(s1,s2) ) puts("they are Equal");

设字符串s1='ABCDEFG',s2='PQRST',则运算s=CONCAT(SUB(s1,2,LEN(s2)),SUB(s1,LEN(s2,2))后的串值为(65)。A.'ABCDEFEF'B.'BCDEFG'C.'BCPQRST'D.'BCQR'

判断字符串s1是否大于字符串s2,应该使用()。A.if(strcmp(s1,s2)s2)C.if(strcmp(s2,s1) 判断字符串s1是否大于字符串s2,应该使用( )。A.if(strcmp(s1,s2)<0)B.if(s1>s2)C.if(strcmp(s2,s1)<0)D.if(strcmp(s1,s2))

阅读以下函数: fun(char*s1, char*s2) { int i=0; while(s1[i]==s2[i] s2[i]!='\0') i++; return(s1[i]== s2{i)!=='\0'); } 此函数的功能是( )。A.将s2所指字符串赋给s1B.比较s1和s2所指字符串的大小,若s1比s2的大,函数值为1,否则函数值为0C.比较s1和s2所指字符串是否相等,若相等,函数值为1,否则函数值为0D.比较s1和s2所指字符串的长度,若s1比s2的长,函数值为1,否则函数值为0

编写如下事件过程: Private sub sub1 (ByVal x1 As String, y1 As String) Dim xt As String Dim i As Integer i = Len(x1) Do While i>= 1 xt = xt + Mid(x1, i, 1) i=i-1 Loop y1 = xt End Sub Private Sub Form. Click() Dim s1 As String, s2 As String s1= "teacher" sub1 s1, s2 Print s2 End Sub 程序运行后,单击窗体,则窗体上显示的内容是A.rehcaetB.tahreeeC.themeeD.eerthea

下列关系代数运算中,哪一个是不正确的?A.σF(S1∩S2)=σF(S1)∩σF(S2)B.πP(S1∩S2)=πP(S1)∩πP(S2)C.σF(S1∪S2)=σF(S1)∪σF(S2)D.πP(S1∪S2)=πP(S1)∪πP(S2)

s1和s2已正确确定义并分别指向两个字符串。若要求:当s1所指字符串大于s2所指字符串时,执行语句S;则以下选项中正确的是( )。A.if(s1 > s2) S;B.if(strcmp(s1,s2)) S;C.if(strcmp(s2,s1)>0) S;D.if(stremp(s1,s2)>0) S;

单击窗体时,下列程序的执行结果是 Private Sub Invert(By Val xstr As String,ystr As String) Dim tempstr AS String Dim I AS Integer I=Len(xstr) Do While I>=1 tempstr=tempstr + Mid(xstr,I,1) I=I - 1 Loop ystr=tempStr End Sub Private Sub Form_Click( ) Dim s1 As String,s2 As String S1="abcdef" Invert S1,S2 Print S2 End SubA.abcdefB.afbecdC.fedcbaD.defabc

下列选项中,能够满足“若字符串s1等于字符串s2,则执行ST”要求的是( )。A.if(strcmp(s2,s1)==0)ST;B.if(s1===s2)ST;C.if(strcpy(s1,s2)==1)ST;D.if(s1,s2==0)ST;

下列程序的执行结果为 Private Sub Command1_C1ick( ) Dim sl As String,s2 AS String s1="abcdef" Call lnvert(s1,s2) Print s2 End Sub Private Sub lnvert(ByVal xstr As String,ystr As String) Dim tempstr As Stdng i=Len(xstr) Do While i>=1 tempstr=tempstr+Mid(xstr,i,1) i=i-1 Loop ystr=tempstr End SubA.fedcbaB.abcdefC.afbecdD.defabc

下列选项中,能够满足“若字符串sl等于字符串s2,则执行ST”要求的是( )。A.if(stremp(s2,s1)==0)ST;B.if(s1==s2)ST;C.if(strcpy(sl,s2)==l)ST;D.if(sl,s2==O)ST;

下列程序的执行结果为 Private Sub Command1_Click() Dim s1 As String,s2 As String S1;="abcdef" Call Invert(s1,s2) Print s2 End Sub Private Sub Invert (ByVal xstr As String,ystr As String) Dim tempstr As String i=Len(xstr) Do While i=1 tempstr=tempstr+Mid(xstr,i,1) i=i-1 Loop ystr=tempstr End SubA.fedcbaB.abcdefC.afbecdD.defabc

设char *s1, *s2;分别指向两个字符串,可以判断字符串s1和s2是否相等的表达式为()A、s1=s2B、s1==s2C、strcpy(s1,s2)==0D、strcmp(s1,s2)==0

为了判断两个字符串s1和s2是否相等,应当使用()A、if(s1==s2)B、if(s1=s2)C、if(strcmp(s1,s2))D、if(strcmp(s1,s2)==0)

设已定义:chars1[20]=”Youare”,s2[9]=”welcome!”;若要形成字符串”Youarewelcome!”,正确的语句是()A、strcat(s1,s2)B、strcpy(s1,s2)C、s1+s2D、s1s2

设串s1=’ABCDEFG’,s2=’PQRST’,函数Concat(x,y)返回x和y串的连接串,SubStr(s,i,j)返回串s的从第i个位置开始的j个字符组成的子串,StrLength(s)返回串s的长度,则Concat(SubStr(s1,2,StrLength(s2)),SubStr(s1,StrLength(s2),2))的结果串是()A、BCDEFB、BCDEFGC、BCPQRSTD、BCDEFEF

设字符串S1= “ABCDEF”,S2= “PQRS”,则运算S=CONCAT(SUB(S1,2,LEN(S2)),SUB(S1,LEN(S2),2))后的串值为()。

若REPLACE(S,S1,S2)表示用字符串S2替换字符串S中的子串S1的操作,则对于S=“Beijing&Nanjing”,S1=“Beijing”,S2=“Shanghai”,REPLACE(S,S1,S2)=()。A、“Nanjing&Shanghai”B、“Nanjing&Nanjing”C、“ShanghaiNanjing”D、“Shanghai&Nanjing”

判断字符串s1是否大于字符串s2,错误的使用有()A、if(strcat(s1,s2)==1)B、if(strcat(s2,s1)0)C、if(s1s2)D、if(strcat(s1,s2)0)

单选题下列选项中,能够满足“若字符串s1等于字符串s2,则执行ST”要求的是(  )。Aif(strcmp(s2,s1)==0) ST;Bif(s1==s2) ST;Cif(strcpy(s1,s2)==1) ST;Dif((s1-s2)==0) ST;

单选题设已定义:chars1[20]=”Youare”,s2[9]=”welcome!”;若要形成字符串”Youarewelcome!”,正确的语句是()Astrcat(s1,s2)Bstrcpy(s1,s2)Cs1+s2Ds1s2

单选题设串s1=’ABCDEFG’,s2=’PQRST’,函数con(x,y)返回x和y串的连接串,subs(s,i,j)返回串s的从序号i开始的j个字符组成的子串,len(s)返回串s的长度,则con(subs(s1,2,len(s2)),subs(s1,len(s2),2))的结果串是()ABCDEFBBCDEFGCBCPQRSTDBCDEFEF

单选题为了判断两个字符串s1和s2是否相等,应当使用()Aif(s1==s2)Bif(s1=s2)Cif(strcmp(s1,s2))Dif(strcmp(s1,s2)==0)

单选题若REPLACE(S,S1,S2)表示用字符串S2替换字符串S中的子串S1的操作,则对于S=“Beijing&Nanjing”,S1=“Beijing”,S2=“Shanghai”,REPLACE(S,S1,S2)=()。A“Nanjing&Shanghai”B“Nanjing&Nanjing”C“ShanghaiNanjing”D“Shanghai&Nanjing”

单选题设char *s1, *s2;分别指向两个字符串,可以判断字符串s1和s2是否相等的表达式为()As1=s2Bs1==s2Cstrcpy(s1,s2)==0Dstrcmp(s1,s2)==0