单选题Which of the following choices could be equal to set Z ifX = {2, 5, 6, 7, 9} and Y = {2, 5, 7}X ∪ Y ∪ Z = {1, 2, 3, 4, 5, 6, 7, 8, 9}X ∩ Z = {2, 6}Y ∩ Z = {2}AZ= {1, 4, 8}BZ= {1, 3, 8}CZ= {1, 3, 4, 8}DZ= {1, 2, 3, 4, 6, 8}EZ= {1, 2, 3, 5, 6, 8}

单选题
Which of the following choices could be equal to set Z ifX = {2, 5, 6, 7, 9} and Y = {2, 5, 7}X ∪ Y ∪ Z = {1, 2, 3, 4, 5, 6, 7, 8, 9}X ∩ Z = {2, 6}Y ∩ Z = {2}
A

Z= {1, 4, 8}

B

Z= {1, 3, 8}

C

Z= {1, 3, 4, 8}

D

Z= {1, 2, 3, 4, 6, 8}

E

Z= {1, 2, 3, 5, 6, 8}


参考解析

解析:
We know that: X = {2, 5, 6, 7, 9} and Y = {2, 5, 7}, XYZ = {1, 2, 3, 4, 5, 6, 7, 8, 9}. This tells us that Z must contain {1, 3, 4, 8} because these elements are in the union of X, Y, and Z but not in set X and not in set Y.
We also know that: XZ = {2, 6}, YZ = {2}. This tells us that Z must also contain {2, 6}. Only choice D contains all these elements. Z = {1, 2, 3, 4, 6, 8}

相关考题:

化简下列各式:(1)5x4+3x2y-10-3x2+x-1;(2)p²+3pq+6-8p²+pq ;(3)(7y-3z)-(8y-5z);(4)-(a5-6b)-(-7+3b)(5)2(2a²+9b)+3(-5a²-4b);(6)-3(2x²-xy)+4(x²+xy-6).

阅读以下说明和X86汇编语言代码,将应填入(n)处的字句写在答题纸的对应栏内。[说明]设有数组X和Y。X数组中有X1,X2、…、X10十个数,Y中有Y1、Y2、…、 Y10十个数。编制程序计算:Z1=X1+Y1 Z2=X2+Y2 Z3=X3-Y3 Z4=X4-Y4Z5=X5-Y5 Z6=X6+Y6 Z7=X7-Y7 Z8=X8-Y8Z9=X9+Y9 Z10=X10+Y10设置一个10位的标志尺:LOGIC_RULE,若它的每一位决定了当前按顺序该做加法(该位为0)或减法(该位为1)操作,则由上列等式可知LOGIC RULE中的低10位应是(1)。[汇编程序代码]datarea segment ;define data segmentx dw x1,x2,x3,x4,x5,x6,x7,x8,x9,x10y dw y1,y2,y3,y4,y5,y6,y7,y8,y8,y10z dw z1,z2,z3,z4,z5,z6,z7,z8,z9,z10logic_ruledw (2) ;LOGIC_RULE initializedatarea endsprogram segment ;define code segmentmain proc farassume cs:program, ds:datareastart: ;starting execution address(3) ;save old data segmentsub ax, ax ;put zero in AXpush ax ;save it on stack;set DS register to current data segmentmov ax,datareamov ds,ax;MAIN PART OF PROGRAM GOES HEREmov bx,0mov ex,10mov dx,logic_rulenext:mov ax,x[bx]shr dx,1jc subtract(4)jmp short resultsubtract:sub ax, y [bx]result:(5) ;result=>Znadd bx,2loop nextret ;return to DOSmain endp;end of main part of programprogram ends;end of code segmentend start ;end of assembly附:指令及寄存器说明。MOV 传送字或字节PUSH 把字压入堆栈SHR 逻辑右移JC 有进位时转移JMP 无条件转移指令SUB 减法ADD 加法LOOP CX不为零时循环JNE/JNZ 不等于时转移CMP 比较段寄存器2个:CS: 代码段寄存器DS: 数据段寄存器数据寄存器4个:AX: 累加器BX: 基址寄存器CX: 计数寄存器DX: 数据寄存器(1)00 1101 1100(2)00dch, 或00DCH,或220,或等价的二进制形式(3)push ds(4)add ax,y[bx](5)mov z[bx],ax

已有定义int x=3, y=4, z=5;则表达式“!(x+y)+z-1y+z/2”的值是________。A.6B.0C.2D.1

以下程序运行后,单击按钮输出结果是 Private Sub Commandl_Click( ) Dim x As Integer,y As Integer,z As Integer X=4:y=2: Z=3 Call Gopd(x,x,z) Print x;X;Z Call Gopd(x,y,y) Print x;y;y End Sub Private Sub Gopd(x As Integer,y As Integer,z As Integer) X=3 * Z + 1 y=2 * z z=x + y End SubA.6 6 12 7 11 11B.8 5 10 5 11 11C.9 6 12 9 10 15D.8 10 10 5 9 10

单击按钮时,以下列程序运行后的输出结果是 Private Sub proc1(x As Integer,y As Integer,z As Integer) x=3*z y=2*z z=X+y End Sub Private Sub Command1_Click( ) Dim x As Integer,y As Integer,z As Integer x=1:y=2:z=3 Call proc1(x,x,2) Print x;x;z Call proc1(x,y,y) Print x;y;y End SubA.6 6 12 6 6 10B.9 5 10 5 10 10C.9 6 12 9 10 15D.9 5 10 5 4 10

已有定义:int x=3,y=4,z=5;,则表达式!(x+y)+z-1 y+z/2的值是A.6B.0C.2D.1

单击按钮时,以下程序运行后的输出结果是 Private Sub Commandl_Click( ) Dim X As Integer,y As Integer,z As Integer x=1:y=2: Z=3 Call God(x,x,z) Print x;x;z Call God(x,y,y) Print X;y;y End Sub Private Sub God(x As Integer,y As Integer,z As Integer) x=3 * Z + 1 y=2 * Z z=x + y End SubA.6 6 12 7 11 11B.8 5 10 5 11 11C.9 6 12 9 10 15D.8 10 10 5 9 10

已有定义:Mt x=3,y=4,z=5;,则表达式!(x/y)+z-1y+z/2的值是( )。A.6B.OC.2D.1

A.4x+2y-z=0B.4x-2y+z+3=0C.16x+8y-16z+11=0D.16x-8y+8z-1=0

已知曲面方程为x-yZ+z2-2x+8y+6z=10,则过点(5,-2.1)的切平面方程为( )。A、2x+3y+2z=0B、2x+y+2z=lOC、x-2y+6z=15 D、x-2y+6z=0

过点(4,-1,3)且平行于直线L:(x-3)/2=y=(z-1)/5的直线方程为( ).A.(x-4)/2=(y+1)/0=(z-3)/5B.(x-4)/2=(y+1)/1=(z-3)/5C.(x+4)/2=(y-1)/0=(z+3)/5D.(x+4)/2=(y-1)/1=(z+3)/5

A.16x+8y-16z=0B.2x+3y-4z+5=0C.16x+8y-16z+11=0D.8x-3y+4z+7=0

已知x=8,y=5,z=27,求表达式x^3/4+6*y-7*2+(4+z/9)^2的值为().A、193B、100C、72D、88

阅读下面程序,下列选项中,能够完成语句覆盖的测试用例是() if((x4)||(z7)) { k=x*y-1; j=sqrt(k); } if((x==8)(y5)) { j=x%y+2; } j=j%3;A、x=2,y=6,z=5B、x=6,y=6,z=5C、x=8,y=6,z=4D、x=8,y=5,z=5

标准C船站IMN码为().A、3MIDX4~X8B、6MIDX4~X8C、4MIDX4X5X6Z1Z2D、4MCCX1X2X3X4X5

C标准船站IMN码位().A、3MIDX4-X8B、4MIDX4-X8C、4MIDX4X5X6Z1Z2D、4MIDX1X2X3X4X5

经过点(6,-3,2)且与平面4x-y+2z=8平行的平面方程是()。A、6x-3y+2z=31B、4x-y+2z=31C、6x-3y+2z=10D、4x-y+2z=10

平行于x轴且经过点(4,0,-2)和点(2,1,1)的平面方程是().A、x-4y+2z=0B、3x+2z-8=0C、3y-z-2=0D、3y+z-4=0

单选题曲面x2+2y2+3z2=21在点(1,-2,2)的法线方程为(  )。A(x-1)/1=(y+2)/4=(z-2)/6B(x-1)/1=(y+2)/(-4)=(z-2)/6C(x-1)/6=(y+2)/(-4)=(z-2)/1D(x-1)/1=(y+2)/6=(z-2)/(-4)

单选题C标准船站IMN码位().A3MIDX4-X8B4MIDX4-X8C4MIDX4X5X6Z1Z2D4MIDX1X2X3X4X5

单选题Which of the following choices could be equal to set Z ifX = {2, 5, 6, 7, 9} and Y = {2, 5, 7}X ∪ Y ∪ Z = {1, 2, 3, 4, 5, 6, 7, 8, 9}X ∩ Z = {2, 6}Y ∩ Z = {2}AZ= {1, 4, 8}BZ= {1, 3, 8}CZ= {1, 3, 4, 8}DZ= {1, 2, 3, 4, 6, 8}EZ= {1, 2, 3, 5, 6, 8}

单选题设平面∏位于平面x-2y+z-2=0和平面x-2y+z-6=0之间,且将二平面间的距离分成1:3,则∏之方程为(  )。Ax-2y+z-5=0或x-2y+z-3=0Bx+2y+z+8=0Cx+2y-4z=0Dx-2y+z-8=0

单选题标准C船站IMN码为().A3MIDX4~X8B6MIDX4~X8C4MIDX4X5X6Z1Z2D4MCCX1X2X3X4X5

单选题过点(-1,2,3)垂直于直线x/4=y/5=z/6且平行于平面7x+8y+9z+10=0的直线是(  )。A(x+1)/1=(y-2)/(-2)=(z-3)/1B(x+1)/1=(y-2)/2=(z-3)/2C(x+1)/(-1)=(y-2)/(-2)=(z-3)/1D(x-1)/1=(y-2)/(-2)=(z-3)/1

单选题已知x=8,y=5,z=27,求表达式x^3/4+6*y-7*2+(4+z/9)^2的值为().A193B100C72D88

单选题设平面α平行于两直线x/2=y/(-2)=z及2x=y=z,且与曲面z=x2+y2+1相切,则α的方程为(  )。A4x+2y-z=0B4x-2y+z+3=0C16x+8y-16z+11=0D16x-8y+8z-1=0

单选题过点(4,-1,3)且平行于直线L:(x-3)/2=y=(z-1)/5的直线方程为().A(x-4)/2=(y+1)/0=(z-3)/5B(x-4)/2=(y+1)/1=(z-3)/5C(x+4)/2=(y-1)/0=(z+3)/5D(x+4)/2=(y-1)/1=(z+3)/5

单选题经过点(6,-3,2)且与平面4x-y+2z=8平行的平面方程是()。A6x-3y+2z=31B4x-y+2z=31C6x-3y+2z=10D4x-y+2z=10