单选题x, y, and z are positive integers. Which of the following lists all the possible ways for x + y + z to be an odd number?I. One of the numbers is odd.II. Two of the numbers are odd.III. Three of the numbers are odd.AIBI and IICI and IIIDII and III
单选题
x, y, and z are positive integers. Which of the following lists all the possible ways for x + y + z to be an odd number?I. One of the numbers is odd.II. Two of the numbers are odd.III. Three of the numbers are odd.
A
I
B
I and II
C
I and III
D
II and III
参考解析
解析:
I. One of the numbers is odd. Let x be odd. Let y and z be even. y + z is even. An even plus an odd is odd, so x + y + z is odd.
I. One of the numbers is odd. Let x be odd. Let y and z be even. y + z is even. An even plus an odd is odd, so x + y + z is odd.
相关考题:
设U是所有属性的集合,X、Y、Z都是U的子集,且Z=U-X-Y。下面关于多值依赖的叙述中,哪个(些)是正确的? I.若X Y,则X Y II.若X Y,则X Y III.若X Y,且 ,则X IV.若X Y,则X ZA.只有IIB.只有IIIC.I和IIID.II和IV
In the following statements about functional dependency, which one is incorrect?A.Ifthen X→X'.B.If X→Y andthen X→Y'.C.If X→Y andthen X'→Y.D.If X→Y and Y→Z, then X→Z.
In the following statements about functional dependency, which one is incorrect?A.If X→Y and Y→Z, then X→Z.B.If X→Y and, then X→Y'.C.If X→Y and, then X'→Y.D.If, then X→X'.
下列哪些条不属于Armstrong公理系统中的基本推理规则?I.若YX,则X→YII.若X→Y,则XZ→YZIII. 若X→Y,且ZY,则X→ZIV.若X→Y,且Y→Z,则X→ZV.若X→Y,且X→Z,则X→YZA.仅I和IIIB.仅III和VC.仅II和IVD.仅IV和V
设U为所有属性,X, Y, Z为属性集,Z=U一X一Y。下列关于函数依赖和多值依赖的叙述中,哪些是正确的?I.若X→Y,则X→→*YII.若X→→Y,则X→YIII.若X→Y,则X→ZIV.若X→→Y,则X→→ZV.若X→→Y, Y'Y,则X→→Y'A.仅I、II和IIIB.仅II、III和VC.仅I和IVD.仅IV和V
下列程序的输出结果是______。 include class base { int x,y; public: base(int i,i 下列程序的输出结果是______。include<iostream.h>class base{int x,y;public:base(int i,int j){x=i;y=j;}virtual int add( ){return x+y;}};class three:public base{int z;public:three(int i,int j,int k):base(i,j){z=k;)int add( ){return(base::add( )+z);}};void main( ){three*q=new three(10,20,30);cout<<q->add( )<<endl;}
单选题Set X = even integers and Set Y = odd integers. Therefore X ∩ Y = ______.Aprime numbersBintegersCempty setDcomposite numbersEwhole numbers
多选题If 4 more than twice n is a negative number and 6 more than n is a positive number, which of the following numbers could be the value of n? (Select all such numbers.)A-5B4C-3
单选题If m and n are positive integers and 3m+n-1=2m+2n, which of the following must be true?I. m and n are consecutive integers.II. m is even.III. n is odd.ANoneBI onlyCII onlyDIII onlyEI, II, and III
单选题If x and y are positive numbers greater than 1, and wx/y+w =1 then w= ______.A(x-1)/(y-1)By/(x-1)C(x+1)/yD(x-y)/(x+y)Ey/(x+1)
问答题What is the value of the greater of two numbers if one of the numbers is three times the smaller number? (1) one of the numbers is 12. (2) The sum of the two numbers is 16.
单选题x, y, and z are positive integers. Which of the following lists all the possible ways for x + y + z to be an odd number?I. One of the numbers is odd.II. Two of the numbers are odd.III. Three of the numbers are odd.AIBI and IICI and IIIDII and III