已知:X=-0.0111,Y=0.1101。(X+Y)补=()
已知:X=-0.0111,Y=0.1101。(X+Y)补=()
相关考题:
运算中会产生溢出的是() A、X=0.1011Y=-0.1111求[X+Y]补B、X=0.1010Y=-0.0110求[X+Y]补C、X=0.1011Y=-0.1101求[X-Y]补D、X=0.1010Y=-0.0010求[X-Y]补
(13)单击命令按钮时,下列程度的执行结果是 Private Sub Command1_Click() Dim a As Integer,b As Integer,c As Integer a=2:b=4:c=6 Call S2(a,b) Print"a=";a;"b=";b;"c=";c; End Sub Private Sub S1(x As Integer,y As Integer) Dim c As Integer x=2*x:y=y+2:e=x+y End Sub Sub S2(x As Integer,By Val y As Integer) Dim e As Integer x=2*x:y=y+2:e=x+y End Sub A.a=4 b=6 c=6 B.a=8 b=6 c=6 a=4 b=6 c=6 a=8 b=6 c=6 C.a=4 b=6 c=6 D.a=8 b=6 c=6 a=8 b=6 c=6 a=4 b=6 c=6
(15)已知代数式eXSin(30°)2x/(x+y)Lnx,则正确的Visual Basin表达式为 A.E*Sin(30*3.14/180)*2*X/X+Y*Log(X) B.Exp(X)*Sin(30)*2*X/(X+Y)*Ln(X) C.Exp(X)*Sin(30*3.14/180)*2*X/(X+Y)*Log(X) D.Exp(X)*Sin(30*3.14/180)*2*X/(X+Y)*Ln(X)
若有以下变量和函数说明:includecharCh='*';void sub(int x,int y,char ch,double* 若有以下变量和函数说明: #include<iostream.h> charCh='*'; void sub(int x,int y,char ch,double*Z) { switch(ch) { case'+':*Z=x+y;break; case'-':*Z=x-y;break: case'*':*Z=x*y;break; case'/':*z=x/y;break: } } 以下合法的函数调用语句是( )。A.sub(10,20,Ch,y);B.sub(1.2+3,2*2,'+',Z);C.sub(sub(1,2,'+',y),sub(3,4'+',x),'-',y);D.sub(a,b,x,ch);
以下程序运行时,单击窗体后,在窗体上输出的结果是 ______。 Private SubForm_Click() Dim a As Integer,b As Integer a=10 :b=20 Call ff(a,B)Print a,b End Sub Private Sub ff(x As Integer,y As Integer) x=x+y y=x+y End SubA.30 50B.30 30C.20 20D.10 20
以下程序运行后的输出结果是 ______。 Sub add(x,y) x=x+y Print "x=";x;",y=";y End Sub Private Sub Command1_Click() x=1 y=1 Call add((x),(y)) Print"x="; x;",y=";y End SubA.x=1,y=1 x=2,y=2B.x=2,y=1 x=1,y=1C.x=1,y=1 x=1,y=1D.x=2,y=1 x=2,y=1
用n个二进制位表示带符号纯整数时,已知[x]补、[Y]补,则当(7)时,等式[X]补+[Y]补=[X+Y]补成立。在(8)的情况下有可能发生溢出。A.-2n≤X+Y≤2n-1B.-2n-1≤X+Y<2n-1C.-2n-1-1≤X+Y≤2n-1D.-2n-1≤X+Y<2n
用n个二进制位表示带符号纯整数时,已知[X]补、[Y]补,则当 (1) 时,等式[X]补+[X]补=[X+Y]补成立。A.-2n≤(X+Y)≤2n-1B.-2n-1≤(X+Y)<2n-1C.-2n-1-1≤(X+Y)≤2n-1D.-2n-1≤(X+Y)<2n
单选题运算中会产生溢出的是()AX=0.1011Y=-0.1111求[X+Y]补BX=0.1010Y=-0.0110求[X+Y]补CX=0.1011Y=-0.1101求[X-Y]补DX=0.1010Y=-0.0010求[X-Y]补
填空题已知X=+1001,Y=+0101,X+Y等于()。