第1题:
下面关于继承的说法,正确的是( )。 class math{ … }; class math1:math{ … };
A.math 类、math1 类没有继承关系
B.math1 类是 math 类的父亲
C.math1 类对 math 类继承是公有继承
D.math1 类对 math 类的继承是私有继承
第2题:
A.Intfoo=(int)Math.max(bar);
B.Intfoo=(int)Math.min(bar);
C.Intfoo=(int)Math.abs(bar);
D.Intfoo=(int)Math.ceil(bar);
E.Intfoo=(int)Math.floor(bar);
F.Intfoo=(int)Math.round(bar);
第3题:
A.Math.round()
B.Math.random()
C.Math.ceil()
D.Math.floor()
第4题:
A.Math.ceil(512.51)返回的结果为512
B.Math.floor( )方法用于对数进行下舍入
C.Math.round(-512.51)返回的结果为-512
D.Math.random( )返回结果为0~1,包括0和1
第5题:
下列能正确计算45°的余弦值的是( )。
A.double d=Math.cos(45);
B.double d=Math.cosine(45);
C.double d=Math.cos (Math.toRadians(45));
D.double d=Math.cos (Math.toDegress(45));
第6题:
A.Doubled=Math.cos(42);
B.Doubled=Math.cosine(42);
C.Doubled=Math.cos(Math.toRadians(42));
D.Doubled=Math.cos(Math.toDegrees(42));
E.Doubled=Math.cosine(Math.toRadians(42));
第7题:
A.Intfoo=(int)Math.max(bar);
B.Intfoo=(int)Math.min(bar);
C.Intfoo=(int)Math.abs(bar);
D.Intfoo=(int)Math.ceil(bar);
E.Intfoo=(int)Math.floor(bar);
F.Intfoo=(int)Math.round(bar);
第8题:
These are math books.(改为否定句)
These_________ _________math books.
第9题:
下列( )选项是正确计算42度(角度)的余弦值。
A.doubled=Math.cos(42);
B.doubled=Math.cosine(42);
C.doubled=Math.cos(Math.toRadians(42));
D.doubled=Math.cos(Math.toDegrees(42));
第10题:
A.math.ceil()
B.math.fabs()
C.math.pow(x,y)
D.math.trunc(x)