参考答案和解析
参考答案:B
更多“Which of these two restaurants doyouprefer?I like()them. ”相关问题
  • 第1题:

    ●During the last few years,it has been realized that maintenance of programs is more expensive than development,so reading of programs by humans is as important as (73) them.

    (73) A.editing

    B.writed

    C.written

    D.writing


    正确答案:D
    【解析】在过去的几年里,人们已经意识到程序的维护比开发更重要,所以程序的易读性和程序的书写一样重要。

  • 第2题:

    -Haveyoufoundtheinformationaboutthefamouspeople______youcanuseforthereport?

    -Notyet.I’llsearchsomeontheInternet.

    A.who

    B.what

    C.whom

    D.which


    正确答案:D

  • 第3题:

    I’m particularly proud of ()I organized the finances.

    A、who

    B、how

    C、which


    参考答案:B

  • 第4题:

    I've become good friends with several of the students in my school I met in theEnglish speech contest last year.

    A. who

    B. where

    C. when

    D. which


    正确答案:A

  • 第5题:

    ( 10 )执行下列程序,显示的结果是 【 10 】 。

    one= "WORK"

    two = ""

    a = LEN ( one )

    i = a

    DO WHILE i>=1

    two = two + SUBSTR ( one ,i , 1 )

    i=i - 1

    ENDDO

    ? two


    正确答案:

  • 第6题:

    执行下列程序,显示的结果是【 】。

    ne="WORK"

    two=""

    a=LEN(one)

    i=a

    DO WHILE i>=l

    two=two+SUBSTR(one,i, 1)

    i=i-1

    ENDDO

    ?two


    正确答案:KROW
    KROW 解析:DO WHILE—ENDDO语句格式:
    DO WHILE条件>
    语句序列1>
    [LOOP]
    语句序列2>
    [EXIT]
    语句序列3>
    ENDDO
    执行该语句时,先判断DO WHILE处的循环条件是否成立,如果条件为真,则执行DO WHILE与ENDDO之间的命令序列(循环体)。当执行到ENDDO时,返回到DO WHILE,再次判断循环条件是否为真,以确定是否再次执行循环体。若条件为假,则结束该循环语句,执行ENDDO后面的语句。
    而常用函数中:LEN(字符表达式):返回一个字符串的长度,返回值是数值型。
    SUBSTR(字符表达式,起点位置[,长度]):在一个字符串中,从指定位置起返回给定长度的子串,返回值是字符型。