首页 > 公务员> 中国梦
题目内容 (请给出正确答案)
[多选题]

下列关于do while …loop 和do…loop while循环执行循环体次数的描述不正确的是()。

A.do while …loop循环和do…loop while循环至少都执行一次

B.do while …loop循环可能不执行,do…loop while循环至少执行一次

C.do while …loop循环至少执行一次,do…loop while循环可能不执行

D.do while …loop循环和do…loop while循环可能都不执行

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“下列关于do while …loop 和do…loop wh…”相关的问题
第1题
要使循环体至少执行一次,应使用的循环结构是()。

A.For……next循环

B.While……wend循环

C.Do……Loopwhile|until循环

D.do[while|until]……loop循环

点击查看答案
第2题
程序代码为:Public sub proc(a%( ))Static I%DoA(i)=a(i)+a(I+1)I=I+1Loop while I<2End subPr
程序代码为:Public sub proc(a%())Static I%DoA(i)=a(i)+a(I+1)I=I+1Loop while I<2End subPr

程序代码为:

Public sub proc(a%())

Static I%

Do

A(i)=a(i)+a(I+1)

I=I+1

Loop while I<2

End sub

Private sub command1_click()

Dim m%,I%,x%(10)

For I=0 to 4 : x(i)=I+1 : next I

For I=1 to 2 : call proc(x) : next I

For I=0 to 4 : print x(i); : next I

End sub

程序运行后,单击命令按钮后,在窗体显示的结果是:

点击查看答案
第3题
以下程序执行后将输出100到200之间所有的素数,并统计素数的个数Private Sub Form_Click()Dim i
以下程序执行后将输出100到200之间所有的素数,并统计素数的个数Private Sub Form_Click()Dim i

以下程序执行后将输出100到200之间所有的素数,并统计素数的个数

Private Sub Form_Click()

Dim i%, j%, k%, t% 't为统计素数的个数

Dim b As Boolean

For i = 100 To 200

b = True

k= ------ 1 -----

j = Int(Sqr(i))

Do While k <= j And b

If i Mod k = 0 Then

------ 2 ------

End If

------ 3 ------

Loop

if b=true then

t = t + 1

Form1.Print i

End If

Next i

Print "t="; t

End Sub

点击查看答案
第4题
在永真条件DO WHILE.T.循环中,为退出循环可以使用______。

A.LOOP

B.EXIT

C.CLOSE

D.QUIT

点击查看答案
第5题
下列存储过程中,属性输出参数的是()。delimiter/dropprocedureifexistsproc_getn;createprocedureproc_getn(innint,outresultint)BEGINdeclaresumint;setsum=1;while(n>=1)DO(setsum=sum*n;setn=n-1;endwhile;setresult=sum;end;//delimiter;

A.sum

B.n

C.result

D.int

点击查看答案
第6题
Why do Japanese listeners sometimes close their eyes while listening to a speech?A.To calm

Why do Japanese listeners sometimes close their eyes while listening to a speech?

A.To calm themselves down.

B.To enhance concentration.

C.To show their impatience.

D.To signal lack of interest.

点击查看答案
第7题
Where can we see economies in which women do all the hard work while men sit around enjoyi
ng themselves?

点击查看答案
第8题
A.He hated spiders.B.He wanted to do some research on the web.C.He just wanted to whil

A.He hated spiders.

B.He wanted to do some research on the web.

C.He just wanted to while away the time.

D.He wanted to catch the spider.

点击查看答案
第9题
The Arabs and the Japanese differ in that ______.A.the Japanese keep their closeness withi

The Arabs and the Japanese differ in that ______.

A.the Japanese keep their closeness within limits while the Arabs don't

B.the Arabs like to touch their companions but the Japanese don't

C.the Arabs require more space in privacy than the Japanese

D.the Japanese do not mind being alone while the Arabs do

点击查看答案
第10题
A.Just keep calm and do your best.B.Face the interviewer, while answering questions.C.

A.Just keep calm and do your best.

B.Face the interviewer, while answering questions.

C.Never take your eyes off the interviewer.

D.Sit straight on the edge of your chair.

点击查看答案
第11题
将(for,case,while,class,proteeted,virtual,public,do,template,const,if,int)中的关键码依次
将(for,case,while,class,proteeted,virtual,public,do,template,const,if,int)中的关键码依次

插入初始为空的二叉搜索树中,请画出所得到的树T。然后画出删除for之后的二叉搜索树T',若再将for插人T'中得到的二叉搜索树T''是否与T'相同?

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改