For detecting quicksand the author recommends______.
A. good eyesight
B. fast thinking
C. the use of a long pole
D. testing the surface with your shoe
第1题:
下列哪个程序段可能导致错误?
A.String s="hello"; String t= "good"; String k=s+ t;
B.String s="hello"; String t; t=s[3]+"one";
C.String s="hello"; String standard=s. toUpperCase
D.String s="hello"; String t =s+ "good"
第2题:
下列的哪个程序段可能导致错误?
A.String s = "hello"; String t = "good"; String k = s + t;
B.String s = "hello"; String t; t = s[3] + "one";
C.String s = " hello "; String standard = s.toUpperCase( );
D.String s = "hello"; String t = s + "good";
第3题:
假设有一个RDD的名称为words,包含9个元素,分别是:(”Hadoop”,1),(”is”,1),(”good”,1),(”Spark”,1),(”is”,1),(”fast”,1),(”Spark”,1),(”is”,1),(”better”,1)。则语句words.groupByKey()的执行结果得到的新的RDD中,所包含的元素是
A.(”Hadoop”,1),(”is”,(1,1,1)),(”good”,1),(”Spark”,(1,1)),(”fast”,1),(”better”,1)
B.(”good”,1),(”Spark”,1),(”is”,1),(”fast”,1)
C.(”good”,(1,1)),(”Spark”,(1,1,1)),(”is”,1),(”fast”,1)
D.(”Hadoop”,1),(”is”,1),(”good”,1),(”Spark”,1),(”is”,1)
第4题:
下列的( )程序段可能导致错误。
A.String s="hello": Sting t="good"; String k=s+t;
B.Sting s="hello"; String t; t=s [3] + "one";
C.Sting s="hello"; String standard=s.toUpperCase( );
D.String s="hello": Stringt s +"good";
第5题:
5、假设有一个RDD的名称为words,包含9个元素,分别是:(”Hadoop”,1),(”is”,1),(”good”,1),(”Spark”,1),(”is”,1),(”fast”,1),(”Spark”,1),(”is”,1),(”better”,1)。则语句words.groupByKey()的执行结果得到的新的RDD中,所包含的元素是
A.(”Hadoop”,1),(”is”,(1,1,1)),(”good”,1),(”Spark”,(1,1)),(”fast”,1),(”better”,1)
B.(”good”,1),(”Spark”,1),(”is”,1),(”fast”,1)
C.(”good”,(1,1)),(”Spark”,(1,1,1)),(”is”,1),(”fast”,1)
D.(”Hadoop”,1),(”is”,1),(”good”,1),(”Spark”,1),(”is”,1)
第6题:
执行以下程序段后,输出结果是() 。 char s[20]= "Good",t[]="Moring!"; strcat(s,t); puts(s);
A.GoodMoring!
B.Moring!
C.Good
D.Moring!Good