题目内容 (请给出正确答案)
[单选题]

针对程序段:IF(X大于10)AND(Y小于20)THEN W=W/A,对于(X,Y)的取值,以下()组测试用例能够满足判定覆盖的要求

A.(30,15)(40,10)

B.(3,0)(30,30)

C.(5,25)(10,20)

D.(20,10)(1,100)

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“针对程序段:IF(X大于10)AND(Y小于20)THEN …”相关的问题

第1题

针对程序段if(x>10)and(y<20)then w=w/a,对于(x,y)的取值,以下哪组测试用例能够满足判定覆盖的要求______。

A) (30,15),(40,10)

B) (3,0),(30,30)

C) (5,25),(10,20)

D) (20,10),(1,100)

A.

B.

C.

D.

点击查看答案

第2题

听力原文:W: What do you plan to order?

M: I think, I'll have a salad and a cup of tea.

W: Is that all?

M: Yes, I'm on a diet, and my doctor told me that I should lose some weight because I'm too heavy. That's not healthy.

W: How do you feel?

M: I feel fine; in fact, I've never felt better. Furthermore, some of my old clothes would fit me if I lost about 40 pounds.

W: How long will that take you?

M: Well, I've just started my diet, so it may take me six months to get down to my proper weight.

W: Do you plan to eat nothing but salads for six months?

M: No, I'll be able to eat fruit and certain meats and dairy products, but most important, I should never eat anything between meals and I should not eat anything containing sugar.

W: Then you probably won't want to try the delicious pastries they serve here. I understand the head cook is an excellent pastry chef.

M: Now that you mention it, I may have two or three of these delicious not as I usually have five or six.

(20)

A.He is in bad mood.

B.He doesn't feel good.

C.On his doctor's suggestion.

D.He is not healthy.

点击查看答案

第3题

听力原文:W: What do you plan to order?

M: I think, I'll have a salad and a cup of tea.

W: Is that all?

M: Yes, I'm on a diet, and my doctor told me that I should lose some weight because I'm too heavy. That's not healthy.

W: How do you feel?

M: I feel fine; in fact, I've never felt better. Furthermore, some of my old clothes would fit me if I lost about 40 pounds.

W: How long will that take you?

M: Well, I've just started my diet, so it may take me six months to get down to my proper weight.

W: Do you plan to eat nothing but salads for six months?

M: No, I'll be able to eat fruit and certain meats and dairy products, but most important, I should never eat anything between meals and I should not eat anything containing sugar.

W: Then you probably won't want to try the delicious pastries they serve here. I understand the head cook is an excellent pastry chef.

M: Now that you mention it, I may have two or three of these delicious not as I usually have five or six.

(20)

A.He is in bad mood.

B.He doesn't feel good.

C.On his doctor's suggestion.

D.He is not healthy.

点击查看答案

第4题

听力原文:W: Mr. Green, you weren't at home last Sunday, were you? I tried to call you.

M: Oh, that's right, I went shopping. I suppose you phoned me in the morning, didn't you?

W: Yes, it was late in the morning when I phoned.

M: Well, I was out shopping. Why did you phone me?

W: I wanted to ask if you'd like to come to dinner on Sunday evening.

M: Oh, what a pity! I wish I had come at that time, but actually, I went on a river trip the whole Sunday.

W: How was the trip? That must be very exciting.

M: Very interesting. By the way, how did the dinner party go?

W: Well, we had a wonderful time...er...I thought you might have enjoyed it too if you had come. David Field and his wife were with us. You've met them before, haven't you?

M: David Field, yes. I rather liked them.

W: And we had a lovely dinner with beef, fish, lobster, cucumber soup and flesh salad.

M: Very nice.

W: And they asked about you.

M: And how're they getting on?

W: Oh, very well. They enjoyed the party very much.

M: Ah, good.

(20)

A.They had an appointment.

B.The woman wanted to go to a shopping mall with the man.

C.She wanted to go outings.

D.She wanted to invite the man to dinner.

点击查看答案

第5题

Part A

Directions: You will hear 10 short dialogues. For each dialogue, there is one question and four possible answers. Choose the correct answer ― A, B, C or D, and mark it in your test booklet. You will have 15 seconds to answer the question and you will hear each dialogue ONLY ONCE.

听力原文:W: I've been waiting here for a good 20 minutes. Why did it take you so long to come back?

M: Oh, I'm sorry to have kept you sitting here so long. I had to drive two blocks before I finally found a place to park the car.

W: You can always find excuses for yourself.

M: Next time I will arrive 20 minutes earlier.

Why was the woman kept waiting so long?

A.Because the man failed to find a parking lot.

B.Because the man waited 20 good minutes at a parking lot.

C.Because the man had to park his car two blocks away.

D.Because the man had to drive two more blocks.

点击查看答案

第6题

10.classMakeFile{11.publicstaticvoidmain(String[]args){12.try{13.Filedirectory=newFile(”d”);14.Filefile=newFile(directory,”f”);15.if(!file.exists()){16.file.createNewFile();17.}18.}catch(IOExceptione){19.e.printStackTrace20.}21.}22.}ThecurrentdirectorydoesNOTcontainadirectorynamedd.”Whichthreearetrue?()

A.Line16isneverexecuted.

B.Anexceptionisthrownatruntime.

C.Line13createsaFileobjectnamed“d”.

D.Line14createsaFileobjectnamed“f?.

E.Line13createsadirectorynamed“d”inthefilesystem.

F.Line16createsadirectorynamed“d”andafile “f” withinitinthefilesystem.

G.Line14createsafilenamed"f " insideofthedirectorynamed“d”inthefilesystem.

点击查看答案

第7题

混合编程的程序段是(  )。

  A.G0 X100 Z200 F300  B.G01 X-10 Z-20 F30

  C.G02 U-10 W-5 R30 D.G03 X5 W-10 R30 F160

点击查看答案

第8题

G01X10.W20.F0.3;X10.W20.为()

A. 绝对值编程

B. 增量值编程

C. 绝对值,增量值混合编程

D. 相对值编程

点击查看答案

第9题

有以下程序: int f1(doubleA){return a*a;} int f2(int x,int y) {double a,b; a=f1(x); b=f1(y); return a+b; } main() {double w; w=f2(2.1,4.0); } 程序执行后,变量w的值是( )。

A.20.21

B.20

C.20.0

D.0.0

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信