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

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

Python 表达式math.sqrt(4)*math.sqrt(9)的值为

A.6.0

B.36.0

C.13.0

D.6


参考答案和解析
6.0
更多 “Python 表达式math.sqrt(4)*math.sqrt(9)的值为A.6.0B.36.0C.13.0D.6” 相关考题
考题 语句Math.sqrt(121)值为11。() 此题为判断题(对,错)。

考题 下面程序段的输出结果是( )。 public class Test { public static void main(String args[ ]){ int x,y; x=(int)Math.sqrt(5)/2+(int)Math.random()*5/2; y=(int)Math.sqrt(3)/2+(int)Math.random()*3/2; if (x>y) System.out.println("x>y"); else if (x==y) System.out.println("x=y"); else System.out.println("x<y"); } }A.x>yB.x=yC.x<yD.编译错误

考题 下面程序段的输出结果是( )。 public class Test{ public static void main(String args[]){ int X,y; x=(int)Math.sqrt(5)/2+(int)Math.random*5/2; y=(int)Math.sqrt(3)/2+(int)Math.random*3/2; if(xv) System.OUt.println("xy"); elseif(x= =y) System.out.println("x=Y"); else System.out.println("xy"): } }A.xyB.x=YC.xyD.编译错误

考题 System.out.println(Math.sqrt(-4D));Whatistheresult?() A.–2B.NaNC.InfinityD.Compilationfails.E.Anexceptionisthrownatruntime.

考题 设有如下程序: public class Sun { public static void main (String args[ ]) { int x,y; x= (int) Math.sqrt (2) /2+ (int) Math.random ()*2/2; y= (int) Math.sqrt (3) /3+ (int) Math.random ()*3/3; if (x>y) System.out.println ("x>y"); else if (x==y) System.out.println("x=y"); else System.out.println("x<y"); } } 程序运行的结果为( )。A.x>yB.x=yC.x<yD.以上都不对

考题 下面程序段的输出结果是( )。 publicclassTest{ publicstaticvoidmain(Stringargs[]){ intx,y; x=(int)Math.sqrt(5)/2+(int)Math.random()*5/2; Y=(int)Math.sqrt(3)/2+(int)Math.random()*3/2; if(x>y) System.out.println9"x>y"); elseif(x==y) System.out.println("x=y"); else System.out.println("x<y"); } }A.x>yB.x=yC.x<yD.编译错误

考题 下面程序段的输出结果是______。 public class Test{ public static void main(String args[ ]){ int x,y; x=(int)Math.sqrt(5/2)+(int)Math.random( )*5/2; y=(int)Math.sqrt(3/2)+(int)Math.random( )*3/2; if(x>y) System.out.println("x>y"); else if(x==y) System.out.println("x=y"); else System.out.println("x<y"); } }A.x>yB.x=yC.x<yD.编译错误

考题 对负数取平方根,即使用函数math.sqrt(x),其中x为负数,将产生() A.什么都不产生B.虚数C.程序崩溃D.ValueError错误

考题 表达式Sqr(25)1And4/9=int(4/9)的值是()。

考题 假设已成功导入Python标准库string,那么表达式len(string.digits)的值为()。

考题 表达式a=9//4执行后,a的值是()。

考题 3+4j不是合法的Python表达式。

考题 已知x=’Python是一种非常好的编程语言’.encode(),那么表达式x.decode(’gbk’)的值为’Python是一种非常好的编程语言’。

考题 Java语言中的方法Math.sqrt(x)是求x的()的值。

考题 表达式15//4的值为()A、3B、6C、9D、27

考题 假设math标准库已导入,那么表达式eval(’math.sqrt(4)’)的值为()。

考题 表达式’Hello world.I like Python.’.rfind(’python’)的值为()。

考题 数学模块中,math.sqrt(4)的值是()。A、0B、2C、2.0D、4.0

考题 System.out.println(Math.sqrt(-4D));  What is the result?()  A、 –2B、 NaNC、 InfinityD、 Compilation fails.E、 An exception is thrown at runtime.

考题 单选题JavaScript中,显示81的平方根的正确方法是?()A document.write(math.sqrt(81))B document.write(Math.sqrt(81))C document.write(Math.sqrt”81”)D document.write(Math.sqrt”81”)

考题 填空题Java语言中的方法Math.sqrt(x)是求x的()的值。

考题 单选题python中,字典x={‘a’:‘boy’,‘c’:‘girl’},那么表达式‘a’inx的值为()A 0B 1C TrueD False

考题 填空题表达式’Hello world.I like Python.’.rfind(’python’)的值为()。

考题 单选题python中,表达式’abcab’.replace(’a’,’yy’)的值为()A yybcyybB abcC yyabD abcyy

考题 填空题假设已成功导入Python标准库string,那么表达式len(string.digits)的值为()。

考题 填空题假设math标准库已导入,那么表达式eval(’math.sqrt(4)’)的值为()。

考题 单选题System.out.println(Math.sqrt(-4D));  What is the result?()A  –2B  NaNC  InfinityD  Compilation fails.E  An exception is thrown at runtime.

考题 单选题数学模块中,math.sqrt(4)的值是()。A 0B 2C 2.0D 4.0