【程序】SET TALK OFFCLEARPUBLIC X,YX=5Y=3DO SUB? X,YSET TALK ONRETURNPROCEDURE SUBPRIVATE XX=1X=X*2+1Y=5RETURNX的输出结果为 ______。A.5B.6C.8D.3

题目

【程序】

SET TALK OFF

CLEAR

PUBLIC X,Y

X=5

Y=3

DO SUB

? X,Y

SET TALK ON

RETURN

PROCEDURE SUB

PRIVATE X

X=1

X=X*2+1

Y=5

RETURN

X的输出结果为 ______。

A.5

B.6

C.8

D.3


相似考题
参考答案和解析
正确答案:A
更多“【程序】SET TALK OFFCLEARPUBLIC X,YX=5Y=3DO SUB? X,YSET TALK ONRETURNPROCEDURE SUBPRIVATE XX ”相关问题
  • 第1题:

    Men ______ killing time, while time quietly kill them.

    A.talk to

    B.talk with

    C.talk of

    D.talk


    参考答案:C

  • 第2题:

    When two hosts are trying to communicate across a network, how does the host originating the communication determine the hardware address of the host that it wants to "talk" to?()

    A. RARP request

    B. Show Network Address request

    C. Proxy ARP request

    D. ARP request

    E. Show Hardware Address request


    参考答案:D

  • 第3题:

    Yesterday we had () talk.

    Aone and a half hour’s

    Bone and a half hour

    Can hour and a half’s

    Dan hour’s and a half


    C

  • 第4题:

    以下程序的执行结果是______。 include void main() { int x=5 y=2; cout<

    以下程序的执行结果是______。

    include<iostream.h>

    void main()

    {

    int x=5 y=2;

    cout<<! (y==x/2)<<",";

    cout<<(y!=x%3)<<",";

    cout<<(x>0 && y<0=<<",";

    cout<<(x!=y||x>=y)<<endl;

    }


    正确答案:0001
    0,0,0,1

  • 第5题:

    He kept on __________(talk) until the class was over.


    正确答案:
    . talking