()is not a position-fixing system.

题目
单选题
()is not a position-fixing system.
A

Hifix

B

Hyperfix

C

Trisponder

D

WGS84

参考答案和解析
正确答案: B
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下面程序的运行结果是( )。 public class Test { public static void main (String args[]) { int c=5; System. out. println (C); System. out. println (c++); System. out. println (C); } }

A.5 6 6

B.5 5 6

C.6 7 7

D.6 6 6


正确答案:B
解析:第一个输出语句输出的值为c的初值5;第二个输出语句输出c++,由于++在变量之后,先取变量的值作为表达式的值,然后变量再自增,所以表达式c++的值仍为5,输出后c的值变为6。第三次输出时,c的值为6。

第2题:

Establishing the position classification system is () to the improvement and innovation of the Chinese civil servant system.

A、typical

B、fundamental

C、characteristic

D、pointless


参考答案:B

第3题:

Windows is a GUI-based operating system.()

此题为判断题(对,错)。


参考答案:对

第4题:

已知如下代码: switch(m) { case 0: System. out. println("Condition 0 "); case 1: System. out. println("Condition 1 "); case 2: System. out. println("Condition 2 "); case 3: System. out. println("Condition 3 "); break; default: System. out. println("Other Condition"); 当m的值为( )时,可以输出“Condition 2”。

A.2

B.0,1

C.0,1,2

D.0,1,2,3


正确答案:C
解析:由于前三个case语句中没有break语句,因此执行case0之后,会继续执行case1和 case2,所以可以输出“Condition 2”,同理执行case 1和case 2都可以输出“Condition 2”,执行 case 3的时候,无法输出“Condition 2”。

第5题:

请将下面程序补充完整。

public class PowerCalc{

public static void main(String[]args){

double x=5.0;

System. out. println(x+"to the power 4 is"+power(x, 4));

System. out. println("7. 5 to the power 5 is"+power(7.5, 5));

System. out. println("7.5 to the power 0 is"+power(7.5, 0));

System. out. println("10 to the power -2 is"+power(10, -2));

}

static double【 】 (double x, int n){

if(n>1)

return x * power(x, n-1);

else if(n<0)

return 1.0/power(x, -n);

else

return n==0 ? 1.0:x;

}

}


正确答案:【 】power
【 】power 解析:通过程序片段可看出,在main方法中调用了。power方法,所以需要在类中对power方法进行定义,否则编译会报错。下面的程序片段就是对power方法的定义。

第6题:

Only in this way ____ to make improvements in the operating system.

A.you can hope

B.you did hope

C.can you hope


参考答案:C

第7题:

假设变量sum=0和j=80都是int类型,则下列语句中的正确的是( ).

A.if (true) System. out. println("true"); else;

B.if (5<>1) System. out. println( "not equal" );

C.for (iht j=20;j<<50;j--) System. out. println (j);

D.while (j>>=50) sum +=j; j--;


正确答案:A
解析:选项B中,不等于关系运算符不是>,而是!=;选项C中,for循环里第二个语句 j20的结果不是布尔型;选项D中,条件表达式的结果也不是布尔型,而且循环体应该包括两条语句,这时需要加{}将j--;也包含在循环体内。

第8题:

●Windows XP is Microsoft's most advanced desktop (70) system.

(70) A.operating

B.programming

C.security

D.service


正确答案:A
【解析】Windows XP是微软公司发布的桌面操作系统。

第9题:

假设有String a = "A"; char b ='A'; int c=65,下面选项中正确的是( )。

A.if(a == b) {System. out. print("Equal") }

B.if(c == b) {System. out. print("Equal") }

C.if(a == c) {System. out. print ("Equal") }

D.if(c = b) {System. out. print("Equal") }


正确答案:B
解析:由于Java是强类型语言,String不能和char、int类型变量直接进行对比。但如果 char和int两类型在同一个表达式中运算,系统是可以进行自动类型转换的,因此这两个类型的变量可以比较。注意D选项的“=”是赋值运算符而不是相等比较运算符。

第10题:

当执行下面代码时,会输出( )。 Boolean b1 = new Boolean(true); Boolean b2 = new Boolean(true); if (b1 == b2) if (bi.equals(b2)) System. out.printin ("a"); else System. out. println ("b"); else if (bi.equals(b2)) System. out.println ("c"); else System. out.printIn("d");

A.a

B.b

C.c

D.d


正确答案:C
解析:本题考查对简单类型中的boolean类型的类封装的理解和掌握。对应于基本数据类型boolean的类封装是Boolean。它的构造函数的原型是Boalean(boolean value),将boolean值的数据转换为Boolean的对象。成员函数 equals()的原型是Boolean equals(Object Obj),当且仅当obj对象为Boolean对象且它的布尔值与该对象的布尔值相同时返回true。注意关系运算符==用来比较两个操作数的值是否相等。它一般只能用在基本数据类型间的比较,对于复杂的数据类型,这种比较往往都是没有意义的,对于这种没有意义的比较,其结果都为false。在本题的代码中,先创建两个Boolean类的对象b1和b2,并且它们的布尔值都为 true。然后直接对这两个对象进行==关系运算,这样的运算结果肯定为false,程序流程就走到第1层的else语句那里了,然后再用equals函数对两个对象的布尔值进行比较。因为它们的布尔值都为true,所以返回结果为true。这样输出的结果就为C。

更多相关问题