单选题1, 2, 6, 7, 9A three-digit integer is to be formed from the digits listed above. If the first digit must be odd, either the second or the third digit must be 2, and no digit may be repeated, how many such integers are possible?A 6B 9C 18D 24E 30

题目
单选题
1, 2, 6, 7, 9A three-digit integer is to be formed from the digits listed above. If the first digit must be odd, either the second or the third digit must be 2, and no digit may be repeated, how many such integers are possible?
A

6

B

9

C

18

D

24

E

30

参考答案和解析
正确答案: C
解析:
因为第一个数字有两种选择7和9。第二位数字有两种选择,第三位数字有一种选择,所以共有3×2×3 =18种可能性。
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

阅读以下说明,回答问题1~4,将解答填入对应的解答栏内。

[说明] 输入1个长整型,求各位数字的平方和。

例如:输入-123,输出14。

include <stdio. h>

void main( )

{ int digit;

long in , s;

seanf(" % Id", &in );

(1);

(2);

while(in >0) {

(3);

s = s + digit* digit;

(4);

}

pfinff( "sum = % 1dn", s );

}


正确答案:1.if(in 2.s=0 3.digit=in%10 4.in=in/10
1.if(in 2.s=0 3.digit=in%10 4.in=in/10 解析:本题的关键一是要考虑负数,还要将各个位数用模10的方法单独取出来。

第2题:

单击一次命令按钮之后,在对话框中输入12,2,34,23,窗体中的输出结果为______。 Private Sub Command1_ Click () Dim a(4) As Integer For i = 1 To 4 a (i) = Val (InputBox (“请输入元素”)) Next i plus a(1), a(2), a(3) End Sub Sub plus(first As Integer, second As Integer, third As Integer, Optional forth) n = first + second + third If Not IsMissing (forth) Then n = n + forth End If Print n End Sub

A.14

B.71

C.48

D.37


正确答案:C

第3题:

There are still many things to straighten out before we can build this factory. First, there is the problem of money. Second, we need to import some of the key equipment. Third, we must set up a strong team to run the factory.()

此题为判断题(对,错)。


参考答案:对

第4题:

How does the Extended Get Digit String step differ from the Get Digit String? ()

  • A、It can be used in conjunction with another step. 
  • B、It allows the application programmer into another section of the application. 
  • C、Most of the Extended Get Digit String variables can be changed while the application is running. 
  • D、It allows the entry of a Boolean expression for the Interruptible and Clear DTMF Buffer on Retry fields.

正确答案:C,D

第5题:

3.—__________ 1 go out for a while?

—No,you __________ You must finish your homework first.

A. Must,needn't

B. Can,may

C. May,mustn't

D. May,must


正确答案:C

第6题:

is a sequence of letters and digits, the first character must be a letter.

A.An identifier

B.A string

C.An array

D.program


正确答案:A
解析:译文:标识符是由字母或数字构成的序列,其第一个字符必须是字母。

第7题:

Refertotheexhibit.TheSt.LegerEmergencyResponseSupplyCompanyhasahome-officeworker,Ms.Oswego,whoisattachedtoitsvoicenetwork.Whichconfigurationcommand,whenaddedtotheconfigurationshownonbothRouterT1andRouterT2wouldallowthoseattachedtoRouterAtobeabletocallMs.Oswego?()

A.prefix

B.num-exp

C.digit-strip

D.nodigit-strip

E.forwarddigits

F.translation-rule


参考答案:E

第8题:

设有一个判断语句

if(!(ch>='0'&&ch<='9'))printf(“This is not a digit!\n”);

else printf(“This is a digit!\n”);

为实现判定一条件覆盖,需要设计的测试用例个数至少应为

A) 1

B) 2

C) 3

D) 4

A.

B.

C.

D.


正确答案:C

第9题:

Providing you are not sailing in the Red Sea or another special area as listed in ANNEX V of MARPOL,how many miles from land must you be to throw garbage including bottles,rags,and glass that has not been ground up into the sea?

A.3 nm

B.6 nm

C.12 nm

D.25 nm


正确答案:C

第10题:

D/A(Digit to Analog)转换器的作用是将二进制的()转换为相应的()。


正确答案:数字量;模拟量

更多相关问题