若要获得名为login的表单中,名为txtuser的文本输入框的值,以下获取的方法中,正确的是()

A:username=login.txtser.value B:username=document.txtuser.value C:username=document.login.txtuser D:username=document.txtuser.value

Oracle7.2之前的数据库连接用户名和密码在网络传输时是不进行加密的,为了要和旧版本兼容Oracle数据库9.02存在DBLINK_ENCRYPT_LOGIN参数用来调节数据库连接时用户名和密码的加密特性,以下说法正确的是:()。

A:DBLINK_ENCRYPT_LOGIN为TRUE时,数据库连接加密用户名和密码 B:DBLINK_ENCRYPT_LOGIN时,数据库连接不加密用户名和密码 C:DBLINK_ENCRYPT_LOGIN为FALSE时,如果加密的数据库连接失败,会尝试不加密的连接 D:DBLINK_ENCRYPT_LOGIN为TRUE时,加密的数据库连接失败,也不会尝试不加密的连接

Millions of stars are traveling about in space. A few form groups which journey together, but most of them travel alone. And they travel through a universe so large that one star seldom comes near to another.
We believe, however, that some two thousand million years ago, another star wandering through space, happened to come near our sun. Just as the sun and the moon raise tides on the earth, so this star must have raised tides on the surface of the sun. But they were very different from the small tides that are raised in our oceans; a large tidal wave’ must have travelled over the surface of the sun, at last forming a mountain so high that we cannot imagine it. As the cause of the disturbance (动荡) came nearer, so the mountain rose higher and higher. And before the star began to move away again, its tidal pull had become so powerful that this mountain was torn to pieces and threw off small parts of itself into space. These small pieces have been going round the sun ever since. They are the planets (行星).
Some two thousand million years ago, the mountain on the sun was raised probably because______.

A:the star moved away from the sun B:another star happened to come near the sun C:fhe sun and the moon raised the tides on the earth D:a large tidal wave of a star travelled over the surface of the sun

Black Holes
What is a black hole Well, it’s difficult to answer this question, since the terms we normally use to describe a scientific phenomenon are inadequate here, Astronomers and scientists think that a black hole is a region of space (not a thing) into which matter has fallen and from which nothing can escape—not even light. So we can’t see a black hole. A black hole exerts (施加) a strong gravitational (重力的) pull and yet it has no matter. It is only space—or so we think. How can this happen
The theory is that some stars explode when their density increases to a particular point; they "collapse" and sometimes a supernova (超新星) occurs. The collapse of a star may produce a "White Dwarf (白矮星) "or a "neutron star"—a star whose matter is so dense that it continually shrinks by the force of its own gravity. But if the star is very large this process of shrinking may be so intense that a black hole results. Imagine the earth reduced to the size of a marble, but still having the same mass and a stronger gravitational pull, and you have some idea of the force of a black hole. Any matter near the black hole Is sucked in. It is impossible to say what happens Inside a black hole.
Our space and time laws don’t seem to apply to objects in the area of a black hole. Einstein’s relativity theory is the only one that can explain such phenomena. Einstein claimed that matter and energy are interchangeable, so that there is no "absolute" time and space, There are no constants at all, and measurements of time and space depend on the position of the observer— they are relative. Einstein’s theory provided a basis for the idea of black holes before astronomers started to find some evidence for their existence. It is only recently that astronomers have begun specific research into black holes.
The most convincing evidence of black holes comes from research into binary (由两部分组成的) star systems. In some binary star systems, astronomers have shown that there is an invisible companion star, a "partner" to the one which we can see in the sky. There is one star, called by its catalogue number HDE 226868, which must have a Partner. This partner star, it seems, has a mass ten or twenty times greater than the sun—yet we can’t see it. Matter from HDE 226868 is being dragged towards this companion star. Could this invisible star, which exerts such a great force, be a black hole Astronomers have evidence of a few other stars too, which might have black holes as companions.

We learn from this passage that( )

A:the sun is the heaviest star in the universe. B:a star in the sky might have an invisible partner. C:two black holes are dragged towards each other. D:the mass of a star is equal to that of its companion.

{{B}}第三篇{{/B}}

Black Holes Trigger Stars to Self-Destruct

? ?Scientists have long understood that super massive black holes weighing millions or billions of suns can tear apart stars that come too close. The black hole’s gravity pulls harder on the nearest part of the star, an imbalance that pulls ’the star apart over a period of minutes or hours, once it gets close enough.
? ?Scientists say this uneven pulling is not the only hazard facing the star. The strain of these unbalanced forces can also trigger a nuclear explosion powerful enough to destroy the star from within. Matthieu Brassart and Jean-Pierre Luminet of the Observatoire de Paris in Meudon, Francel, carried out computer simulations of the final moments of such an unfortunate star’s life, as it veered towards a super massive black hole.
? ?When the star gets close enough, the uneven forces flatten it into a pancake shape. Some previous studies had suggested this flattening would increase the density and temperature inside the star enough to trigger intense nuclear reactions that would tear it apart. But other studies had suggested that the picture would be complicated by shock waves generated during the flattening process and that no nuclear explosion should occur.
? ?The new simulations investigated the effects of shock waves in detail, and found that even when their effects are included, the conditions favor a nuclear explosion. "There will be an explosion of the star—it will be completely destroyed," Brassart says. Although the explosion obliterates the star, it saves some of the star’s matter from being devoured by the black hole. The explosion is powerful enough to hurl much of the star’s matter out of the black hole’s reach, he says.
? ?The devouring of stars by black holes may already have been observed, although at a much later stage. It is thought that several months after the event that rips the star apart, its matter starts swirling into the hole itself. It heats up as it does so, releasing ultraviolet light and X-rays.
? ?If stars disrupted near black holes really do explode, then they could in principle allow these events to be detected at a much earlier stage, says Jules Halpern of Columbia University in New York, US2. "It may make it possible to see the disruption of that star immediately if it gets hot enough," he says.
? ?Brassart agrees. "Perhaps it can be observed in the X-rays and gamma rays, but it’s something that needs to be more studied," he says. Supernova researcher Chris Fryer of the Los Alamos National Laboratory in Los Alamos, New Mexico, US3, says the deaths of these stars are difficult to simulate, and he is not sure whether the researchers have proven their case that they explode in the process.
Something destructive could happen to a star that gets too close to a black hole. Which of the following destructive statements is NOT mentioned in the passage?

A:The black hole could tear apart the star. B:The black bole could trigger a nuclear explosion in the star. C:The black hole could dwindle its size considerably. D:The black hole could devour the star.

{{B}}第三篇{{/B}}

Black Holes Trigger Stars to Self-Destruct

? ?Scientists have long understood that super massive black holes weighing millions or billions of suns can tear apart stars that come too close. The black hole’s gravity pulls harder on the nearest part of the star, an imbalance that pulls ’the star apart over a period of minutes or hours, once it gets close enough.
? ?Scientists say this uneven pulling is not the only hazard facing the star. The strain of these unbalanced forces can also trigger a nuclear explosion powerful enough to destroy the star from within. Matthieu Brassart and Jean-Pierre Luminet of the Observatoire de Paris in Meudon, Francel, carried out computer simulations of the final moments of such an unfortunate star’s life, as it veered towards a super massive black hole.
? ?When the star gets close enough, the uneven forces flatten it into a pancake shape. Some previous studies had suggested this flattening would increase the density and temperature inside the star enough to trigger intense nuclear reactions that would tear it apart. But other studies had suggested that the picture would be complicated by shock waves generated during the flattening process and that no nuclear explosion should occur.
? ?The new simulations investigated the effects of shock waves in detail, and found that even when their effects are included, the conditions favor a nuclear explosion. "There will be an explosion of the star—it will be completely destroyed," Brassart says. Although the explosion obliterates the star, it saves some of the star’s matter from being devoured by the black hole. The explosion is powerful enough to hurl much of the star’s matter out of the black hole’s reach, he says.
? ?The devouring of stars by black holes may already have been observed, although at a much later stage. It is thought that several months after the event that rips the star apart, its matter starts swirling into the hole itself. It heats up as it does so, releasing ultraviolet light and X-rays.
? ?If stars disrupted near black holes really do explode, then they could in principle allow these events to be detected at a much earlier stage, says Jules Halpern of Columbia University in New York, US2. "It may make it possible to see the disruption of that star immediately if it gets hot enough," he says.
? ?Brassart agrees. "Perhaps it can be observed in the X-rays and gamma rays, but it’s something that needs to be more studied," he says. Supernova researcher Chris Fryer of the Los Alamos National Laboratory in Los Alamos, New Mexico, US3, says the deaths of these stars are difficult to simulate, and he is not sure whether the researchers have proven their case that they explode in the process.
According to the fourth paragraph, which of the following is NOT true?

A:No nuclear explosion would be triggered inside the star. B:The star would be destroyed completely. C:Much of the star’s matter thrown by the explosion would be beyond the black hole’s reach. D:The black hole would completely devour the star.

{{B}}第二篇{{/B}}

Black Holes Trigger Stars’ Self-destruction

? ?Scientists have long understood that super massive (大块的) black holes weighing. Millions or billions of suns can tear apart stars that come too close. The black hole’s gravity (地心引力) pulls harder on the neatest part of the star, an imbalance that pulls the star apart over a period of minutes or hours, once it gets close enough.
? ?Scientists say this uneven pulling is not the only hazard (冒险) facing the star. The strain of these unbalanced forces can also trigger (触发) a nuclear explosion powerful enough to destroy the star from within. Matthieu Brassart and Jean-Pierre Luminet of the Observatoire of the Paris in Meudon, France, carried out computer simulations of the final moments of such an unfortunate star’s life, as it veered towards a supermassive black hole.
? ?When the star gets Close enough, the uneven forces flatten it into a pancake shape. Some previous studies had suggested this flattening would increase the density and temperature inside the star enough to trigger intense nuclear reactions that would tear it apart (扯开). But other studies had suggested that the picture would he complicated by shock waves generated during the flattening process and that not nuclear explosion should occur.
? ?The new simulations investigated the effects of shock waves in detail, and fund that even when their effects are included; the conditions favor a nuclear explosion. "There will be an explosion of the star. It will be completely destroyed," Brassart says. Although the explosion obliterates the star, it saves some of the start’s matter from being devoured by the black hole. The explosion is powerful enough to hurt much of the star’s matter out of the black hole’s reach, he says.
? ?The devouring of stars by black holes may already have been observed, although at a much later stage. It is thought that several months after the event that rips the star apart, its matter starts swirling into the hole itself. It heats up as it does so, releasing ultraviolet light and X-rays.
? ?If stars disrupted (使分裂) near black holes really do explode, then they could in principle allow these events to be detected at a much earlier stage, says Jules Halpern of Columbia University in New York, US. "It may make it possible to see the disruption of that star immediately if it gets hot enough. "
? ?Brassart aggress. "Perhaps it can be observed in the X-rays and gamma rays, but it’s something that needs to be more studied , "he says. Supernova researcher Chris Fryer of the Los Alamos National Laboratory in Los Almos, New Mexico, US, says the deaths of these stars are difficult to simulate, and he is not sure whether the researchers have proven their case they exploded in the process.
Something destructive could happen to a star that gets too close to a black hole. Which of the following statements is NOT mentioned in the passage?

A:The black hole could tear apart the star. B:The black hole could trigger a nuclear explosion in the star. C:The black hole could dwindle its size considerably. D:The black hole could devour the star.

{{B}}第二篇{{/B}}

Black Holes Trigger Stars’ Self-destruction

? ?Scientists have long understood that super massive (大块的) black holes weighing. Millions or billions of suns can tear apart stars that come too close. The black hole’s gravity (地心引力) pulls harder on the neatest part of the star, an imbalance that pulls the star apart over a period of minutes or hours, once it gets close enough.
? ?Scientists say this uneven pulling is not the only hazard (冒险) facing the star. The strain of these unbalanced forces can also trigger (触发) a nuclear explosion powerful enough to destroy the star from within. Matthieu Brassart and Jean-Pierre Luminet of the Observatoire of the Paris in Meudon, France, carried out computer simulations of the final moments of such an unfortunate star’s life, as it veered towards a supermassive black hole.
? ?When the star gets Close enough, the uneven forces flatten it into a pancake shape. Some previous studies had suggested this flattening would increase the density and temperature inside the star enough to trigger intense nuclear reactions that would tear it apart (扯开). But other studies had suggested that the picture would he complicated by shock waves generated during the flattening process and that not nuclear explosion should occur.
? ?The new simulations investigated the effects of shock waves in detail, and fund that even when their effects are included; the conditions favor a nuclear explosion. "There will be an explosion of the star. It will be completely destroyed," Brassart says. Although the explosion obliterates the star, it saves some of the start’s matter from being devoured by the black hole. The explosion is powerful enough to hurt much of the star’s matter out of the black hole’s reach, he says.
? ?The devouring of stars by black holes may already have been observed, although at a much later stage. It is thought that several months after the event that rips the star apart, its matter starts swirling into the hole itself. It heats up as it does so, releasing ultraviolet light and X-rays.
? ?If stars disrupted (使分裂) near black holes really do explode, then they could in principle allow these events to be detected at a much earlier stage, says Jules Halpern of Columbia University in New York, US. "It may make it possible to see the disruption of that star immediately if it gets hot enough. "
? ?Brassart aggress. "Perhaps it can be observed in the X-rays and gamma rays, but it’s something that needs to be more studied , "he says. Supernova researcher Chris Fryer of the Los Alamos National Laboratory in Los Almos, New Mexico, US, says the deaths of these stars are difficult to simulate, and he is not sure whether the researchers have proven their case they exploded in the process.
According to the fourth paragraph, which of the following is NOT true?

A:No nuclear explosion would be triggered inside the star. B:The star would be destroyed completely. C:Much of the star’s matter thrown by the explosion would be beyond the black hole’s reach. D:The black hole would completely devour the star.

用户单击“登录”按钮后,将会以[ (2) ]方式将用户输入的登录信息提交给服务器,并且触发[ (3) ]页面的执行,从而完成登录验证。
试题五
认真阅读以下网页制作和网页编程的内容,回答问题1~5,将解答填入对应的解答栏内。
(1) 网页制作
[说明]
某网络资源站点用JSP实现了一个简单的验证码登录控制,网页效果如右图所示。

[login.jsp文档的内容]
<%@page contentType="text/html;charset=gb2312"language="java"import=
"Java.sql.*"errorPage=""%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>用户登录页面</title>
<meta http-equiv="Content-Type"content="text/html;charset=gb2312">
<style type="text/css">
<!--
STYLE1{
font-family:"宋体";
font-size:12px;
}
-->
</style>
</head>
<body>
<form method="post" action="checkUser.jsp">
<table align="center"height="168">
<tr>
<td colspan="3"align=left><hr size="1"></td>
</tr>
<tr>
<td width="78"align=left> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td align=left><span class="STYLE1">用户账号:</span></td>
<td colspan="2">
<inputname="userID"type="text"id="userID"> </td>
</tr>
<tr>
<td align=left><span class="STYLEl",用户密码:</span></td>
<td colspan="2">
<inputname="userPwd"type="password"id="userPwd"size="10",</td>
</tr>
<tr>
<td align=left><span class="STYLE1">系统认证码:</span></td>
<tdwidth="114"><inputname="rand"type="text"value=""size="10" maxlength=4></td>
<td width="50"><img border="0" src="image.jsp"></td>
 </tr>
  <tr>
<td align=left> </td>
<td colspan="2"> </td>
</tr>
<tr>
<tdheight="23"align=left> </td>
<td colspan= "2"><inputname="submit"type=submit value="登录">
<input type= "reset"name="Submit"value="重置"></td>
</tr>
<tr>
<tdheight="15"align=left> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan=4 align=center><hr size="1"></td>
</tr>
</table>
</form>
</body>
</html>
(2) 动态网页编程
[说明]
下图是用户登录提交以后的效果。
[]
[Check.jsp文档的内容]
<%@ pagecontentType="text/html;charset=gb2312" language= "java"import="]ava.sql.*"errorPage=’"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>验证页面</title>
<meta http-equiv= "Content-Type"content="text/html;charset=gb2312">
</head>
<body>
<%
String userID=request.getParameter("userID");
String userPwd=request.getParameter("userPwd");
String rand=(String)session.getAttribute("rand");
String input=request.getParameter("rand");
%>
<br>
<br>
<hr size="1">
<br>
<br>
<center>
<%
if(rand.equals(input))
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager. getConnection(
"jdbc:odbc=testDB","test","test");
Statement stmt=con.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
String strSQL="SELECT*FROM AdminInfor"+
"WHERE AdminID=’"+userID+"’"+
"AND AdminPwd=’"+userPwd+"’";
ResultSet rs=stmt.executeQuery(strSQL);
if(!rs.next( ))
{
out.println("您输入的账号或密码有误,请重试!");
%>
<br>
<br>
<a href="login.jsp">>>返回登录页面</a>
<%
}
else
{
out.println("您已经顺利通过验证,可以进行下一步的操作!");
%>
<br>
<br>
<a href="main.jsp">>>进入系统主界面</a>
<%
}
}
else
{
out.println("您输入的验证码可能有误,请重试!");
%>
<br>
<br>
<a href="login.jsp">>>返回登录页面</a>
<%
}
%>
</center>
<br>
<br>
<hr size="1">
</body>
</html>

A:image.jsp B:checkUser.jsp C:login.jsp

微信扫码获取答案解析
下载APP查看答案解析