更多"下列程序段执行后,内存变量y的值是( )。 x=76543 "的相关试题:
[单项选择]执行下列程序段以后,内存变量y的值是()。x=76543y=0DO WHILE x>0 y=x%10+y*10 x=int(x/10)ENDDO
A. 3456
B. 34567
C. 7654
D. 76543
[单项选择]假设字符串'12FB3LM5C'存放在首地址为ES:ARRAY的内存空间。试问下面的程序段执行后,CX的值是( )。
CLD
LEA DI,ES:ARRAY
MOV AL,42H
MOV CX,9
REPNE SCASB
A. 9
B. 5
C. 4
D. 0
[单项选择]下列程序段执行后的输出结果为( )。 int x=3;int y=10: System.out.println(y%x):
A. 0
B. 1
C. 2
D. 3
[单项选择]下列的程序段执行后,x的值为______。
Private Sub Command1_Ciick( )
x =0
for i =1 To 10
for j = i To 10
x=x+1
Next j
Next i
Print x
End Sub
A. 50
B. 55
C. 5
D. 105
[单项选择]若整型变量a的值为2、b的值为3,则下面程序段执行后整型变量c的值为( )。
If a>5 Then
If b<4 Thenc=a-b Elsec=b-a
Else
If b>3 Thenc=a*b Elsec=aMod6
End If
A. 2
B. -1
C. 1
D. 6
[单项选择]有定义语句:int a=1,b=2,c=3,x;,则以下选项中各程序段执行后,x的值不为3的是
A. if (c< x=1; else if (b< x=2; else x=3;
B. if (a<3) x=3; else if (b< x=2; else x=1;
C. if (a<3) x=3; if (a<2) x=2; if (a<1) x=1;
D. if (a< x=b; if (b< x=c; if (c< x=a;
[单项选择]已知一个人出生的年、月、日分别存放在变量y0、m0、d0中,当前日期的年、月、日分别存放在变量y1、m1、d1中,这个人的实足年龄存放在变量age中。则以下可以正确计算实足年龄的程序段是
A. age=y1-y0
B. age=y1—y0
C. age=y1-y0
D. age=y1-y0
[单项选择]下面( )不能将字节变量X的属性修改为字节变量Y。
A. X DW 1234H
B. Y EQU BYTE PTR X
C. X DW 1234H
D. Y LABEL BYTE
[单项选择]若a的值为3;下列程序段被执行后,c的值是( )。 c=l; if (a>O) if (a>3) c=2; else c=3; else c=4;
A. 1
B. 2
C. 3
D. 4
[单项选择]下面哪一种方法不能将字变量X的属性修改变为字节变量Y ( )
A. X DW 1234H
B. Y EQU BYTE PTR X
C. X DW 1234H
D. Y LABEL BYTE
[单项选择]假设随机变量X服从参数为λ的指数分布,则随机变量Y=min(X,2)的分布函数
[单项选择]弗里德曼货币需求函数中的收人变量y是指( )。
A. 名义收人
B. 恒久性收人
C. 预期收人
D. 当期收人
[简答题]设随机变量X在区间(0,1)上服从均匀分布,在X=x(0<x<1)的条件下,随机变量Y在区间(0,x)上服从均匀分布,求
(Ⅰ)随机变量X和Y的联合概率密度;
(Ⅱ)Y的概率密度;
(Ⅲ)概率P{X+Y>1}.
[单项选择]要判断数值型变量Y是否能够被8整除,错误的条件表达式为( )。
A. INT(Y/8)=Y/8
B. MOD(Y,8)=0
C. INT(Y/8)=MOD(Y,8)
D. MOD(Y,8)=MOD(8,8)
[单项选择]已知X为随机变量Y=kX(k>0,k≠1),则下列结论不成立的是
[单项选择]The passage supplies information for answering which of the following questions
A. What do historiographers consider to be the precise difference between a nation and a nation-state
B. What concepts in the field of historiography are considered unambiguous
C. Are tribal areas without national spatial markers ever represented as nations
D. What is an example of a nation represented in supra-national units
E. (E) How does the establishment of national spatial boundaries produce political problems
[单项选择]According to the four leadership competencies, which of the following is not the skill of a leader
A. Dealing with daily issues and producing results.
B. Recognizing the talents of others and giving them the knowledge and the tools they need to succeed.
C. Nurturing and developing successors.
D. Making macro-plans and ensuring results.