网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列代码的执行结果是______ a = 2 print(eval('a') * 'what')


参考答案和解析
B
更多 “下列代码的执行结果是______ a = 2 print(eval('a') * 'what')” 相关考题
考题 语句Print 12;Tab;24的执行结果是【 】。

考题 语句Print"125+35";125+32的执行结果是【 】。

考题 下列程序段的执行结果是【 】。x=Int(Rnd+4)Select Case XCase 5Print"优秀"Case 4Print"良好"Case 3Print"合格"Case ElsePrint"不合格"End Select

考题 (10)如果在立即窗口中执行下列操作:a=8 b=9 Print(ab); 则输出结果是。

考题 (8)设当前日期为2007年12月27日,星期四,则执行下列语句后的输出结果是。 Print Day(Now) Print Month(Now) Print Year(Now) Print Weekday(Now)

考题 (7)执行下列语句后,输出结果是。 s$="ABCDEFG" Print InStr(s$,"efg") Print LCase$(s$)

考题 (12)下列程序段的执行结果是。 i=4 a=5 Do i=i+1 a=a+2 Loop Until i=7 Print"A=";a

考题 下列代码的执行结果是______。int numbers[]=new int[6];for(int i=1;i<numbers.length;i++){numbers[i]=i-1;System.out.print(numbers[i]+"");}A) 0 1 2 3 4 5B) 1 2 3 4 5 6C) 0 1 2 3 4D) 1 2 3 4 5A.B.C.D.

考题 下列程序段的执行结果是( )。 a = 1: b = 0 Select Case a Case 1 Select Case b Case 0 Print "**0**" Case 1 Print "**1**" End Select Case 2 Print "**2**" End Select A. **0**B. **1**C. **2**D. 0

考题 下列语句执行后的输出结果是______。 Wage=26 Print"工资"; Print WageA.工资□26B.工资□□26C.工资□26D.工资□□26

考题 下列程序段的执行结果是______。i=4a=5Doi=i+1a=a+2Loop Until i>=7Print "A=";a

考题 下列代码的执行结果是()。publicclasstest5{publicstaticvoidmain(Stringargs[]){Strings1=newString("hello");Strings2=newString("hello");System.out.prim(s1==s2);System.out.print(",");System.out.println(s1.equals(s2));}A.true,falseB.true,trueC.false,trueD.false,false

考题 以下程序的执行结果是______ include include void print(int n) { if(n 以下程序的执行结果是______include<iostream.h>include<iomanip.h>void print(int n){if(n!=0){print(n-1);for(int i=1;i<=n;i++=cout<<setw(3)<<i;cout<<endl;}}void main(){print (4);}

考题 编译和执行以下代码,输出结果是( )。 int i=1; switch (i) { case 0: System.out.print("zero,"); break; case 1: System.out.print("one,"); case 2: System.out.print("two,"); default: System.out.println("default"); }A.one,B.one,two,C.one,two,defaultD.default

考题 执行下列语句后,输出结果是______。s$="ABCDEFG"Print lnStr(s$,"efg")Print LCase$(s$)

考题 下列代码的执行结果是( )。 public class test3{ public static void main (string args[]){ System.out.print(100%3); System.out.print(","); System.out.println( 100%3.0); } }A.1,1B.1,1.0C.1.0,1D.1.0,1.0

考题 下列程序的执行结果是______。 print(int*b,int m) { int i; for(i=0;i<m;i++) {*b=i; b++; } printf("%d\n",*--B) ; } main() { int a[5]=}1,2,3,4,5}; print(a,5);}A.5B.4C.3D.2

考题 下列代码的执行结果是( )。A.error1B.error2C.error1 error2D.2 error2

考题 下列代码的执行结果是( )。 int length="Hell0".length; System.OUt.println(length); A.5S 下列代码的执行结果是( )。 int length="Hell0".length; System.OUt.println(length);A.5B.2C.10D.6

考题 下列代码的执行结果是______。 public class ex55 { public static void main(String args[] ) { String s1=new String("hello"); String s2=new String("hello"); System.out.print (s1==s2); System.out.print (","); System.out.println (s1.equals (s2)); } }A.true, falseB.true, trueC.false, trueD.false, false

考题 下列代码的执行结果是( )。 int length=”Hello”.length( ); System.OUt.println(length);A.5B.2C.10D.6

考题 下列代码的执行结果是( )。A.2和1B.2和1.0C.2.5和1D.2.5和1.0

考题 下列语句的执行结果是什么?a=1foriinrange(5):ifi==2:breaka+=1else:a+=1print(a) A.1B.2C.3D.6

考题 下列哪个函数可以将参数字符串当成Javascript程序代码执行?()A、eval()B、escape()C、encodeURI()D、toString()

考题 代码print(1,2,3,sep=’:’)的执行结果为()。

考题 代码for i in range(3):print(i,end=’,’)的执行结果为()。

考题 单选题下列代码的执行结果是(  )。int numbers[] = new int[6];for(int i=1;i numbers[i] =i-1;System.out.print(numbers[i]+" ");}A 0 1 2 3 4 5B 1 2 3 4 5 6C -1 0 1 2 3 4 D 0 1 2 3 4

考题 填空题代码print(1,2,3,sep=’:’)的执行结果为()。