问题 填空题

说明中的链接测试页面实现的功能是:如果10秒链接不上指定网站,则显示“链接超时”,否则显示链接时间(单位为秒)。请根据以上功能描述,补齐代码:
……
<script>
tim=1 //时间初值
(1) ("tim++", 100); //定时调用时间设定
bTestFinish=0
c=1
var b=1
var autour1=new Array()
autorul[1] ="61.236.219.100 "
autorul[2] ="220.181.26.132" //测试网站IP地址
function butt()

document.write("<form name = autof>")
for(var i=1; i<autour1. lenght; i++)

if(i==1 || i==3 || i==5)

document.write("<input type=text class=noborder name=url" + i + "
value=htttp: //" + autour1[i] + "   size=40>→    <input type= text name=txt" + i + " size = 10 class = noborder value =测试中……><br><br>")

else

document.write("< input type = text class = noborder name = url " + i + " value = htttp://" + autour1[i] + "   size = 40> →    < input type = text name = txt " + i + " size = 10 class = noborder value = 测试中……><br><br>")


document. write("<br><div align = ’center’><input type = submit value =重新测试></div></form> ") //初始测试页面

butt()
function auto(c)

if(tim > (2) )
document .forms[0]["txt" + c].value = "链接超时"
else
document .forms[0]["txt" + c]. value = "时间" + tim/10 + "秒"
//测试结果判断
function run()

for(var i=1; i<autour1.lenght; i++)

document.write("<img src=http://" + autour1[i] + " / " + Math. random() + " width = 1 height = 1 onerror = (3) (’" + i + "’)> ");

//运行测试
run();
</script>

答案

参考答案:setInterval

阅读理解

四、阅读理解(15小题,计30分)

There are probably no other two museums in the world that share such a similar name. In Chinese, they are both called Gugong. In English, the one in Taipei is named the "National Palace Museum". The other one is in Chinese mainland--the Palace Museum standing inside the Forbidden City (紫禁城) in Beijing.

The name suggests the two museums are connected, and soon they may be. The "National Palace Museum" has a collection of more than 650,000 pieces of ancient Chinese artwork, making it one of the largest in the world. Most of the collection is made up of high quality art collected by China's ancient emperors.

After years of waiting, people from the Chinese mainland could soon get a look at the relics (文物)that were once housed in Beijing' s Palace Museum.

In late February, the mainland agreed to lend 29 Qing Dynasty relics from the Palace Museum to Taiwan to display in October. They hope the favor will be returned. It is reported that the second half of the swap(交换)might happen within the next three to five years.

Chinese citizens are already drawing up lists of relics they'd most like to see in a mainland exhibition. These include the jade cabbage(翡翠玉白菜), the Dongpo look-alike stone(东坡肉形石)and the other half of the Song Dynasty painting Riverside Sceneat Qingming Festival. Half of it has hung in Taipei since 1949; the other half can be seen in Beijing.

45. Which is right about the "National Palace Museum"?

A. The "National Palace Museum" stands inside the Forbidden City in Beijing.

B. It is the largest museum in the world.

C. All the collection in it is made up of high quality art collected by China's ancient emperors.

D. There is the jade cabbage and the Dongpo look-alike stone in it.

46. The underlined sentence "They hope the favor will be returned. "means ________.

A. it's hoped that Taiwan will have some of its relics appear in a mainland exhibition

B. they hope Taiwan will return their favourite relics

C. the mainland hope some relics once housed in Beijing' s Palace Museum will be returned

D. it's hoped that the "National Palace Museum" and the Palace Museum will become one

47. According to the passage, which is right about the painting Riverside Scene at Qingming Festival ?

A. It was painted in Qing Dynasty.

B. In 1949 the whole painting once hung in Taipei.

C. The two halves of the painting were not drawn by the same person.

D. It's likely that half of the painting hanging in Taipei was once housed in Beijing's Palace Museum.

单项选择题