问答题If M is a set of five numbers p, q, r, s and t, is the range of numbers in M greater than 5? (1) The average (arithmetic mean) of p, q, r, S, and t is 5. (2) p-r5.
问答题
If M is a set of five numbers p, q, r, s and t, is the range of numbers in M greater than 5? (1) The average (arithmetic mean) of p, q, r, S, and t is 5. (2) p-r>5.
参考解析
解析:
条件1不能判断M数集的极差;由p-r>5可知p、r间的距离大于5,故M的极差大于5,所以本题应选B项。
条件1不能判断M数集的极差;由p-r>5可知p、r间的距离大于5,故M的极差大于5,所以本题应选B项。
相关考题:
下列每题给出的四个选项中,只有一个选项符合题目要求。6个钉子P、Q、R、S、T、U中的每一个从左到右放置在标着1~7的7个孔中。孔是均匀的并且排成一条直线,钉子的放置遵从下列条件。(1) P和Q之间的距离与R和S之间的距离相同。(2) T和U紧密相邻。(3) 第一个位置不能为空。下列哪一组分别是钉子从1~7的排列,且与上述的条件一致?A.Q,空洞,P,T,U,S,RB.O,R,空洞,S,P,U,TC.S,T,Q,R,U,空洞,PD.S,R,U,T,P,Q,空洞
阅读以下说明,回答问题1~5,将解答填入对应的解答栏内。[说明] 若s和t是用单链表存储的两个串,设计一个函数将s串中首次与串t匹配的字串逆置。linkstring * invert - substring ( s, t)linkstring * s, * t;{linkstring *prior, *p, *t1, *r, *q, *u;prior =s;p=s;t1 =t;if ( (1) ) printf ( "error\n") ;else{while { p ! = NULL t1! = NULL){if ( p- >data = = t1 - >data){p = p- >link;t1 = t1- >link;}else{(2)p = prior - > link;}t1 = t- >link;}if ( t1 ! : NULL) printf ("cannot find");else{(3)r = q- >link;q- >link = p;while (r ! = p){u = r- >link;(4)q=r;r = u;}(5)}}}
有以下程序includestdio.hint*f(int*p,int*q);main( ){int m=1,n=2,*r=m;r=f(r,stdio.hint*f(int*p,int*q);main( ){int m=1,n=2,*r=m;r=f(r,n);printf(”%d\n”,*r);}int-f(int*P,int*q)(return(*p*q)?p:q;)程序运行后的输出结果是______。
设一组初始记录关键字序列为(Q,H,C,Y,P,A,M,S,R,D,F,X),则按字母升序的第一趟冒泡排序结束后的结果是()。A.A,D,C,R,F,Q,M,S,Y,P,H,XB.P,A,C,S,Q,D,F,X,R,H,M,YC.F,H,C,D,P,A,M,Q,R,S,Y,XD.H,C,Q,P,A,M,S,R,D,F,X,Y
在以下二难推理中,无效式是()A、(((p→q)∧(r→s))∧(p∨r))→(q∨s)B、(((p→q)∧(r→s))∧(∨)C、((p→q)∧(p→r))∧(∨))→pD、(((p→q)∧(r→q))∧(p∨r))→q
以“(p∨q)→(r∧s)”为一个前提进行演绎推理,若加上前提()。A、~(p∨q),能必然推出(~r∨~s)B、(~r∨~s),能必然推出(p∨q)C、(p∨q),能必然推出~(r∧s)D、~(r∧s),能必然推出(~p∨~q)
在下列选言推理形式中,无效的有()。A、(p∨q)∧p├﹁qB、(pqr)∧﹁p├q∧rC、(pqr)∧﹁p├qrD、(p∨q∨r)∧﹁p├q∨rE、(p∨q∨r∨s)∧(﹁p∧﹁q)├r∨s
设要将序列(q,h,c,y,p,a,m,s,r,d,f,x)中的关键码按字母升序重新排序,回答。()是初始步长为4的shell排序一趟扫描的结果。A、f,h,c,d,p,a,m,q,r,s,y,xB、p,a,c,s,q,d,f,x,r,h,m,yC、a,d,c,r,f,q,m,s,y,p,h,xD、h,c,q,p,a,m,s,r,d,f,x,yE、h,q,c,y,a,p,m,s,d,r,f,x
设要将序列(q,h,c,y,p,a,m,s,r,d,f,x)中的关键码按字母升序重新排序,回答。()是以第一个元素为分界元素的快速一趟扫描的结果。A、f,h,c,d,p,a,m,q,r,s,y,xB、p,a,c,s,q,d,f,x,r,h,m,yC、a,d,c,r,f,q,m,s,y,p,h,xD、h,c,q,p,a,m,s,r,d,f,x,yE、h,q,c,y,a,p,m,s,d,r,f,x
下列推理形式中,无效的有()。A、((p∨~q)∧q)→~pB、((p∧q)∧r)→(p∧r)C、((~p→q)∧q)→~pD、((p→q)∧(r∧p))→qE、(p→q)∧(r→s)∧(q∨s))→(p∨r)
问答题试判断以下各式是否为重言式。 (1)(P→Q)→(Q→P) (2)P→(P→Q) (3)Q→(P→Q) (4)(P∧Q)→(P→Q) (5)((P→Q)∨(R→Q))→((P∨R)→Q) (6)((P→Q)∨((R→S))→((P∨R)→(Q∨S))
多选题下列推理形式中,无效的有()。A((p∨~q)∧q)→~pB((p∧q)∧r)→(p∧r)C((~p→q)∧q)→~pD((p→q)∧(r∧p))→qE(p→q)∧(r→s)∧(q∨s))→(p∨r)
单选题在以下二难推理中,无效式是()A(((p→q)∧(r→s))∧(p∨r))→(q∨s)B(((p→q)∧(r→s))∧(∨)C((p→q)∧(p→r))∧(∨))→pD(((p→q)∧(r→q))∧(p∨r))→q
单选题设要将序列(q,h,c,y,p,a,m,s,r,d,f,x)中的关键码按字母升序重新排序,回答。()是初始步长为4的shell排序一趟扫描的结果。Af,h,c,d,p,a,m,q,r,s,y,xBp,a,c,s,q,d,f,x,r,h,m,yCa,d,c,r,f,q,m,s,y,p,h,xDh,c,q,p,a,m,s,r,d,f,x,yEh,q,c,y,a,p,m,s,d,r,f,x
单选题设要将序列(q,h,c,y,p,a,m,s,r,d,f,x)中的关键码按字母升序重新排序,回答。()是以第一个元素为分界元素的快速一趟扫描的结果。Af,h,c,d,p,a,m,q,r,s,y,xBp,a,c,s,q,d,f,x,r,h,m,yCa,d,c,r,f,q,m,s,y,p,h,xDh,c,q,p,a,m,s,r,d,f,x,yEh,q,c,y,a,p,m,s,d,r,f,x
单选题Let @ represent one of the four basic arithmetic operations such that, for any nonzero real numbers P and Q, P @ 0=P and P @ Q=Q @ P. Which arithmetic operation(S) does the symbol @ represent?A×onlyB+onlyC-onlyD-and×E+and÷
单选题If the set S is composed of the following numbers {99, 100, 100, 105, 106, 116, 123}, which of the following is largest?AThe average (arithmetic mean) of set SBThe median of set SCThe mode of set SDThe range of set SEThe standard deviation of set S
单选题The average (arithmetic mean) of five numbers is 10. The sum of three of the numbers is 30. What is the sum of the other two numbers?A5B10C20D30E40
单选题The average (arithmetic mean) of a set of seven numbers is 81. If one of the numbers is discarded, the average of the remaining numbers is 78. What is the value of the number that was discarded?A98B99C100D101E102
单选题有以下程序:#include int *f(int *s,int *t){ if(*s *t)*s=*t; return s;}main(){ int i=3,j=5,*p=i,*q=j,*r; r=f(p,q); printf("%d,%d,%d,%d,%d",i,j,*p,*q,*r);}程序的运行结果是( )。A5,5,5,5,5B3,5,5,5,5C5,3,3,3,5D3,5,3,5,5