网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
10、In[10]:={Prime[3],PrimeQ[12]} Out[10]=
A.{2,False}
B.{3,True}
C.{5,False}
D.{5,True}
参考答案和解析
E TO
更多 “10、In[10]:={Prime[3],PrimeQ[12]} Out[10]=A.{2,False}B.{3,True}C.{5,False}D.{5,True}” 相关考题
考题
在Java中,类Animal中的方法printA()定义如下:publicvoidprintA(){inta=10;intresult=10%3;System.out.println(result);}在类Dog中方法printA()定义如下:publicvoidprintA(){inta=10;System.out.println(a/3);}Dog类的定义如下:classDogextendsAnimal{…}.Animalanimal=newDog();animal.printA();以上语句输出为()。A.0B.1C.2D.3E.3.3333
考题
下列程序的执行结果为( )。 public class c3 { public static void main(String args[]) { int i=13, j=10; if(i-->j) i++; else j--; System.out.println(i+"\t"+j); } }A.13 10B.12 11C.11 11D.12 12
考题
请完成下列Java程序:建一个数组中的整数按依序重新存放,如果原来的次序为1,2,3,则改为3,2,1。数组大小为10,直接初始化方法进行初始化,注意:请勿改动main()主方法和其他已有语句内容,仅在下划线处填入适当的语句。程序运行结果如下:初始数组:2 4 6 10 8 1 7 5 12 33交换后的数组:33 12 5 7 1 8 10 6 4 2public class ex29_2 {public static void main(String[] args) {int i,temp;System.out.println("初始数组:");int a[]={2,4,6,10,8,1,7,5,12,33};for(i=0;i10;i++)System.out.print(Integer.toString(a[i])+ " ");for(_____________________){temp=a[i];a[i]=a[10-i-1];_________________;}System.out.println();System. out.println ("交换后的数组: ");for(i=0;i10;i++)System.out.print(Integer.toString(a[i])+ " ");}}
考题
Natalie is a girl working for() at 10 Downing Street.A、Prime MinisterB、PresidentC、ChairmanD、Chancellor
考题
( )指令用来等待数字输入信号为1。
A.wait(D_OUT[10],ON)B.wait(D_IN[10],ON)C.wait(D_OUT[10],OFF)D.wait(D_IN[10],OFF)
考题
intx=12;26.while(x10){27.x--;28.}29.System.out.print(x);What is the result?()
A.0B.10C.12D.Line29willneverbereached.
考题
现有:classFoo{publicstaticvoidmain(String[]args){intx=O;inty=4;for(intz=0;z3;Z++;X++){if(x1++y10)y++;}System.out.println(y);}}结果是什么?()
A.7B.8C.10D.12
考题
下列程序的输出结果是 ( ) public class Test { public static void main(String args[]) { System.out.println(100%3); System.out.println(100%0);} }A.1和1B.1和10C.10和1D.10和10
考题
下列程序的执行结果为( )。 publicclassc3 { publicstaticvoidmain(Stringargs[]) { inti=13,j=10; if(1-->j) i++; elsej--; System.out.println(i+",\t"+j); } }A.13 10B.12 11C.11 11D.12 12
考题
以下程序的输出结果是( )。 A.1,2,3,4,5,6,7,8,9,10,B.1,2,3,4,10,12,14,16,9,10,SX
以下程序的输出结果是( )。A.1,2,3,4,5,6,7,8,9,10,B.1,2,3,4,10,12,14,16,9,10,C.1,2,6,8,10,12,7,8,9,10,D.1,2,6,8,10,12,14,16,9,10,
考题
下列程序的执行结果为( )。 public class c3 { public static void main (String args[]) { int i=13,j=10; if (i-->j) i++; else j--; System. out.println (i+"\t"+j); } }A.13 10B.12 11C.11 11D.12 12
考题
以下代码的输出结果?public class Test{int x=3;public static void main(String argv[]){int x= 012;System.out.println(x);}}
A.12B.012C.10D.3
考题
小儿出生时红细胞数正常值为
A、2×10^12~3×10^12/L
B、3×10^12~3.5×10^12/L
C、3.5×10^12~4×10^12/L
D、4×10^12~5×10^12/L
E、5×10^12~7×10^12/L
考题
25.intx=12; 26. while (x 10) { 27. x--; 28. } 29. System.out.print(x); What is the result?()A、 0B、 10C、 12D、 Line 29 will never be reached.
考题
假定一个初始堆为(1, 5, 3, 9, 12, 7, 15, 10),则进行第一趟堆排序后得到的结果为()。A、 3, 5, 7, 9, 12, 10, 15, 1B、 3, 5, 9, 7, 12, 10, 15, 1C、 3, 7, 5, 9, 12, 10, 15, 1D、 3, 5, 7, 12, 9, 10, 15, 1
考题
Word中打印页码3-5,10,12表示打印的页码是()A、3,4,5,10,12B、5,5,5,10,12C、3,3,3,10,12D、10,10,10,12,12,12,12,12
考题
25.intx=12; 26.while(x10){ 27.x--; 28.} 29.System.out.print(x); What is the result?()A、0B、10C、12D、Line29willneverbereached.
考题
单选题25.intx=12; 26.while(x10){ 27.x--; 28.} 29.System.out.print(x); What is the result?()A
0B
10C
12D
Line29willneverbereached.
考题
单选题25.intx=12; 26. while (x 10) { 27. x--; 28. } 29. System.out.print(x); What is the result?()A
0B
10C
12D
Line 29 will never be reached.
考题
单选题Word中打印页码3-5,10,12表示打印的页码是()A
3,4,5,10,12B
5,5,5,10,12C
3,3,3,10,12D
10,10,10,12,12,12,12,12
考题
单选题假定一个初始堆为(1, 5, 3, 9, 12, 7, 15, 10),则进行第一趟堆排序后得到的结果为()。A
3, 5, 7, 9, 12, 10, 15, 1B
3, 5, 9, 7, 12, 10, 15, 1C
3, 7, 5, 9, 12, 10, 15, 1D
3, 5, 7, 12, 9, 10, 15, 1
热门标签
最新试卷