设串s="student.",t=“good",则执行StrInsert(s,1,t)后,s为()。 A."good student."B."good student"C."goodstudent"D."good teacher"

题目
设串s="student.",t=“good",则执行StrInsert(s,1,t)后,s为()。

A."good student."

B."good student"

C."goodstudent"

D."good teacher"

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

-Good night and thank you again.-( ).

A. You can't say that

B. No, no. It's what I can do

C. How can you say that

D. Good night


正确答案:D

第2题:

下面的哪些程序段可能导致错误? ( ) Ⅰ: String s = "Gone with the wind"; String t = "good "; String k = s + t; Ⅱ: String s = "Gone with the wind"; String t; t = s[3] + "one"; Ⅲ: String s = "Gone with the wind"; String standard = s.toUpperCase(); Ⅳ: String s = "home directory"; String t = s-"directory":

A.Ⅱ、Ⅲ

B.Ⅱ、Ⅳ

C.Ⅰ、Ⅳ

D.Ⅲ、Ⅳ


正确答案:B
解析:本题是考杳对String操作符的理解和应用。Ⅰ段中,String类型可以直接使用+进行连接运算:Ⅱ段中,String是一种Object,而不是简单的字符数组,不能使用下标运算符取其值的某个元素,错误;Ⅲ段中, toUppelCase0方法是String对象的一个方法,作用是将字符串的内容全部转换为大写并返回转换后的结果(String类型);IV段中,String类型不能进行减(—)运算,错误。

第3题:

–It’s great that you got into such a good university.–().

A、Oh, that’s nothing.

B、Don’t mention it.

C、I had a large dose of good luck.

D、It’s my pleasure.


参考答案:C

第4题:

He is a good student. He ( ) early.

A. come always

B. always comes

C. always come


正确答案:B

第5题:

It’s()that we must not miss it.

A、such good a chance

B、so an good chance

C、a so good chance

D、such a good chance


参考答案:D

第6题:

7. Mary wants to be a teacher. She’s going to get_________

A. good grade

B. good grades

C.well grade

D.well grades


正确答案:B

第7题:

_______ is characteristics of good assessment for classroom purposes.

A.The content of the assessment should match the teacher’s educational objectives

B.The items should represent partial range of knowledge

C.Expectations for student performance needn’t to be clear

D.The assessment should involve extraneous factors


正确答案:A

第8题:

________ other good students, the teacher thinks, Hank is ________ student.

A.Compared with; a most satisfied

B.Compared to; the most satisfied

C.Comparing to; the more satisfying

D.Compared with; a more satisfying


参考答案:D

第9题:

Her teacher held her ____ as an example of a good student.

A. Down

B. Back

C. Up

D. out


参考答案:C

第10题:

He is a good student. He never ( )late.

A. come

B. comes

C. goes


答案:B

更多相关问题