Given the community: community transit-peers members "^(123|456):[3579].0?$"; Which threecommunities does this expression match? ()
第1题:
1.publicclassTest{2.publicTfindLarger(Tx,Ty){3.if(x.compareTo(y)>0){4.returnx;5.}else{6.returny;7.}8.}9.}and:22.Testt=newTest();23.//insertcodehereWhichtwowillcompilewithouterrorswheninsertedatline23?()
A.Objectx=t.findLarger(123,“456”);
B.intx=t.findLarger(123,newDouble(456));
C.intx=t.findLarger(123,newInteger(456));
D.intx=(int)t.findLarger(newDouble(123),newDouble(456));
第2题:
有以下程序 main () int m,n,p; scanf ( "m=%dn=%dp=%d" , &m, &n, &p); printf("%d %d %d\n", m, n, p); 若想从键盘上输入数据,使变量m中的值为123,n中的值为456,p中的值为789,
A.m=123n=456p=789
B.m=123 n=456 p=789
C.m=123,n=456,p=789
D.123 456 789
第3题:
以下______是合法的数值型常量。
A.123
B.123+E456
C.“1(23)456”
D.123*10
第4题:
以下语句的输出结果是______。 a=123 b=456 Print a;b
A.123□456
B.□123□456
C.□123□456□
D.□123□□456
第5题:
以下程序的输出结果是( )。
main
{ char ch[3][4]={"123","456","78"),*p[3];int i;
for(i=0;i<3;i++)p[i]=ch[i];
for(i=0;i<3;i++)printf("%s",p[i]);}
A.123456780
B.123 456 780
C.12345678
D.147
第6题:
有以下程序: main() { int m,n,p; scan f("m=%dn=%dp=%d",&m,&n,&p); print("%d%d%d\n",m,n,p); } 若想从键盘上输入数据,使变量m中的值为123,n中的值为456,p中的值为789,则正确的输入是( )。
A.m=123n=456P=789
B.m=123 n=456 p=789
C.m=123,n=456,p=789
D.123 456 789
第7题:
有以下程序: #include <stdio.h> main( ) { int m,n,p; seanf( "m = % dn = % dp = % d", &m, &n,&p) printf( "% d% d% d \n", m, n, p); } 若想从键盘上输入数据,使变量m中的值为123,n中的值为456, p中的值为789,则下列选项中正确的输入是( )。
A.m = 123n =456p =789
B.m = 123 n =456 p =789
C.m= 123,n =456,p =789
D.123 456 789
第8题:
已知字符串A=”123”,B=”456”。则运算A-B的结果是( )
A.”123456”
B.”123 456”
C.-333
D.”333”
第9题:
A. 456:91
B. 123:70
C. 123:440
D. 456:321
E. 123:550
第10题:
有下列程序:
若想从键盘上输入数据,使变量m中的值为123,n中的值为456,P中的值为789,则正确的输入是( )。
A)m=123n=456p=789
B)m=123 n=456 p=789
C)m=123,n=456,p=789
D)123 456 789