计算机信息管理(专科)

Mid(“I am a student.”,9,2)的返回值是什么?()A、“st”B、“nt”C、“tu”D、“en”

题目

Mid(“I am a student.”,9,2)的返回值是什么?()

  • A、“st”
  • B、“nt”
  • C、“tu”
  • D、“en”
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

请分析下列程序。 int main() { printf("This is in main program"); if(fork()==0) printf("I am in child process"); else printf("I am in parent process");} 程序正确运行后结果是

A.This is in main program I am in child process I am in parent process

B.This is in main program I am in child process

C.This is in main program I am in parent process

D.This is in main program I am in child process This is in main program I am in parent process


正确答案:A

第2题:

对于如下C语言程序 int main() { pid_t pid; int x=1; pid = fork(); if(pid==0) printf("I am the child process, x=%d\n", ++x); else printf("I am the parent process, x=%d\n", --x); } 在UNIX操作系统中正确编译链接后,其正确的运行结果是

A.I am the child process, x=2

B.I am the parent process, x=0

C.I am the parent process, x=2

D.I am the child process, x=0


正确答案:A

第3题:

–I wonder if you can come over tonight.–().

A、I’d love to, but I am busy tonight

B、No, you can’t

C、Yes, but I am busy

D、I don’t know


参考答案:A

第4题:

我是一名水手,在船上干二水。

A.I am a sailor. I work as an OS on board

B.I am an AB I work as a sailor.

C.I am a sailor. I work as a quartermaster.

D.I am an AB I work as an oiler.


正确答案:A

第5题:

A:I am from England.

B: ( ).

A. So am I

B. So do I

C. So have I


正确答案:A

第6题:

4.—Are you her uncle?

—_________

A.I’m not

B. Yes, I am not

C. No, I am

D. No, I am not


正确答案:D
4.D【解析】一般疑问句的回答必须用Yes或No开头,所以排除A选项,只有选项D前后一致,选D。

第7题:

A:What do you do?

B: ( ).

A. I am washing the dishes now

B. I am a policeman

C. I do my homework


正确答案:B

第8题:

Which of the following is closest in meaning with the sentence: "I am feeling black"?

A. I am sad.

B. I am feeling well.

C. I am dirty.

D. I am very tired.


正确答案:A

38.答案为A  通过第二段...black is depressing可知黑色使人阴郁。

第9题:

- Mary, I am calling to tell you that I got the highest scores in the mid-term exam.

- _________.

A、Good luck.

B、Really?

C、That's all right.

D、Congratulations.


参考答案:D

第10题:

设有如下程序: Private Sub Form. Click( ) Cls a$="1234j6" For i=1 To 6 Print Tab(12-i);________ Next i End Sub 程序运行后,单击窗体,要求结果如图所示,则在______处填入的内容为( )。

A.Left(a$,i)

B.Mid(a$,8-i,i)

C.Right(a$,i)

D.Mid(a$,7,i)


正确答案:A
A。【解析】本题考查简单的字符串取值函数,由图可知,其中显示的字符是从a$中从左边开始取的i项的值然后进行输出,所以答案选择A。

更多相关问题