试题与答案

一组数据3、4、9、x,它的平均数比它唯一的众数大1,则x=( )。

题型:填空题

题目:

一组数据3、4、9、x,它的平均数比它唯一的众数大1,则x=(    )。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0602/c91ca55eb277dc67c05fe3776c22e0b9.html

下面是错误答案,用来干扰机器的。

参考答案:E

试题推荐
题型:选择题

《孔雀东南飞》通过描写因家长反对,刘兰芝、焦仲卿夫妻两人殉情而死的家庭悲剧,表达了古代中国的广大人民要求争取婚姻自由的强烈愿望!然而在古罗马时代,“孔雀东南飞”这种悲剧并不会经常出现。对此你如何解释?

①罗马法强调“法律面前人人平等” ②罗马法强调“子女的财产权和婚姻自主权得到保证”

③罗马法制约或消除父家长权、夫权 ④奴隶、平民和贵族之间可以通婚

A.①②④

B.①②③

C.①③④

D.①②③④

查看答案
题型:实验题

小明总结两年来所做的探究实验发现: 

 (1)当要研究的物理量不易直接测量时,也能想办法把它们的大小间接显示出来.例如:如图所示,甲实验是让木块在木板上做          运动,通过弹簧测力计的示数间接显示摩擦力的大小;乙实验中动能的大小是通过                 间接反映出来的.

(2)当要研究的物理量与多个因素有关时,都要采取一定措施,控制变量.例如:要研究摩擦力与压力的关系,就要多次改变压力,同时控制接触面的粗糙程度不变.做实验时我们改变压力的具体办法是                                               ;要研究动能跟质量的关系,就要改变质量,同时控制速度不变,具体办法是:换用                                 由静止滑下

查看答案
题型:阅读理解

There is a joke among flu researchers: “If you've seen one flu season, you've seen one flu season.” The joke is about the unpredictable nature of the flu virus. Every year it looks different, and every strain (类型) follows its own pattern — it's the reason why new strains like H1N1 are extremely difficult to predict.

Dr. Michael Osterholm is a former adviser to the U.S. Department of Health and Human Services. “I know less about influenza today than I did 10 years ago,” he says in a joking way. “Every stone we've turned over, we get more questions.”

The flu rectums every season and the world experiences terrible pandemics (全国或全世界范围流行的疾病), but researchers still do not understand why some strains infect people and others do not; they are not entirely sure about how the flu is transmitted; nor do they understand why some patients become seriously ill while others develop mild symptoms (症状). As a result, when a new strain shows up — like H1N1 — they often have little information to fall back on, and the lessons of previous pandemics are only somewhat helpful. While researchers are still putting together a complete picture of H1N1, for example, its most striking difference with the seasonal flu is that the elder1y are not the most vulnerable (易受攻击的) population.

Influenza's unpredictable nature makes it a moving target for researchers, says researcher Allison Aiello at the University of Michigan. “Even if we had complete seasonal flu data from the past, it wouldn't be much helpful for a new strain of influenza,” she explains.

Whi1e researchers are frustrated by the holes in their knowledge, they say, however, that the pub1ic--health community is generally doing a very good job responding to H1N1 with seasonal flu data that do exist. Studying influenza, says Osterholm, is “like looking through the windows of a house you can't get into because the door is locked.” Gathering the data researchers do have is like “looking through the windows to get a pretty good picture of what the inside looks like.”

One thing researchers do know for sure: the best way for people to protect against H1N1 is to get the vaccine once it becomes available to them.

小题1:What do we learn about H1N1 from the passage?

A.In fact it is not a kind of influenza virus.

B.It is quite possible to predict it in theory.

C.Old people are more likely to contract it than kids.

D.Receiving vaccines will be effective to protect against it.小题2: The underlined phrase “fall back on” in Para. 3 probably means      .

A.rely on

B.pass on

C.col1ect

D.exchange小题3: What do we know about previous seasonal flu data?

A.It is useless to study them.

B.It is still necessary to study them.

C.They are misleading most of the time.

D.They are much more helpful than expected.小题4:Which of the following could be the best title for the passage?

A.Outbreaks of the flu

B.Symptoms of the flu

C.Mysteries of the flu

D.Risks of the flu

查看答案
题型:问答题

【说明】
快速排序是一种典型的分治算法。采用快速排序对数组A[p..r]排序的3个步骤如下。
1.分解:选择一个枢轴(pivot)元素划分数组。将数组A[p..r]划分为两个子数组 (可能为空)A[p..q-1]和A[q+1..r],使得A[q]大于等于A[p..q-1)中的每个元素,小于 A[q+1..r]中的每个元素。q的值在划分过程中计算。
2.递归求解:通过递归的调用快速排序,对子数组A[p..q-1]和A[q+1..r]分别排序。
3.合并:快速排序在原地排序,故不需合并操作。

【问题1】
下面是快速排序的伪代码,请填补其中的空缺;伪代码中的主要变量说明如下。
A:待排序数组
p,r: 数组元素下标,从p到r
q: 划分的位置
x:枢轴元素
i:整型变量,用于描述数组下标。下标小于或等于i的元素的值小于或等于枢轴元素的值
j:循环控制变量,表示数组元素下标
QUICKSORT (A,p,r){
if (p <r){
q=PARTITION(A,p,r) ;
QUICKSORT(A,p,q-1);
QUICKSORT(A,q+1,r);
}
}
PARTITION(A,p,r){
x=A[r];i=p-1;
for(j=p;j≤r-1;j++){
if (A[j]≤x){
i=i+1;
交换A[i]和A[j]
}
}
(1) (2) //注:空(1)和空(2)答案可互换,但两空全部答对方可得分 return (3)
}

查看答案
微信公众账号搜索答案