用户user1在宿主目录下有文件index.html,继续执行命令“vi~/index.htm”将有()操作效果。

A:新建文件index.htm B:打开已有文件index.htm C:新建文件的内容将覆盖index.htm的已有内容 D:删除该文件

假设在服务器根目录下有文件index.htm与include.htm,则希望从index.htm连接到include.htm正确的路径是:()

A:include.htm B:/index.htm C:include.htm D:/include.htm

在Dreamweaver中,关于用Z-Index改变层的次序说法正确的是( )

A:Z值(即Z-Index的值)越大,这个层的位置就越靠上 B:Z值(即Z-Index的值)越大,这个层的位置就越靠下 C:Z值(即Z-Index的值)越大,这个层的位置就越靠中央 D:以上说法都错

以下是用ASP实现的一个在线留言系统。

index.html 文档如下:
<html>
 <head>
 <title>在线留言系统</title>
 </head>
 <body>
 <p align= "center" ><font color="#006699">在线留言系统</font></p>
 <form method="post" action="submit.asp">
 <table border="0" cellspacing="l" width="89%">
 <tr>
 <td>姓名: </td>
 <td>< (2) name="name" size="30" class="text"maxlength="20"></td>
 </tr>
 <tr>
性别: </td>
 <td>< (3) name="sex" size="1"
<option selected>请选择你的性别</option>
 <option value="男">男</option>
 <option value:"女">女</option>
 </select></td>
 </tr>
 <tr>
 <td><b>简短留言: </b></td>
 <td>< (4) name:"content" rows="6" cols="45" class="tsxt"></textarea></td>
 </tr>
 <tr>
 <td>< (5) name="submit" class:"btn" value="提交留言"></td>
 <td>< (6) name=:Bl" value="全部重填" class="btn"></td>
 </tr>
 </table>
 </form>
 </body>
 </html>
submit.asp 文档的内容如下:
<%
If request, form("name"):" " Then
 response. write" <script>alert (’请填写留言人的姓名! ’; history, back ( ) </script>"
response. end
 End If
 If request.form("sex")=’ ’" or request. form("sex")="请选择你的性别" Then
 request. write" <script>alert (’请选择留言人的性别’); history, back ( ) </script>"
response, end
 End If
 If len( (7) )>100 Then
 request.write"<script>alert(’留言不能超过100字!’) ; history, back( )</script>"
response. end
 End If
 %>
 <!--#include file="conn.asp"-->
 <%
dim rs, sql
 set rs=server. (8)
sql="select * from data where ( id is null)"
 rs.open sql, conn, 1, 3
 rs. (9)
rs("name")= (10)
rs ("sex") =request. form("sex")
 rs("content")= request. form(" content")
 rs ("date") =now ( )
 rs("ip")=request.ServerVariables("remote addr")
 rs. (11)
rs. close
 conn. close
 response.redirect "success.asp"
 %>

将以上index.html更名为()后,将不能直接在IE中正常显示该网页。

A:index.html B:index.php C:index.asp

窗体上有名称为Text1、Text2的两个文本框,和一个由3个单选按钮构成的控件数组Optionl,如图1所示。程序运行后,如果单击某个单选按钮,则执行Text1中数值与该单选按钮所对应的运算(乘1、乘10或乘100),并将结果显示在Text2中,如图2所示。为了实现上述功能,在程序中的横线处应填入的内容是( ) Private Sub Optionl Click(Index As Integer) If Text1.Text<>" "Then Select Case__________________ Case 0 Text2.Text=Text1.Text Case 1 Text2.Text=Text1.Text*10 Case 2 Text2.Text=Text1.Text*100 End Select End If End Sub

A:Optionl.Index B:Index C:Optionl(Index) D:Optionl(Index).Value

执行命令“INDEX on姓名TAG index name”建立索引后,下列叙述错误的是 ______。

A:此命令建立的索引是当前有效索引 B:此命令所建立的索引将保留在. idx文件中 C:表中记录按索引表达式升序排序 D:此命令的索引表达式是“姓名”,索引名是index name

变量定义语句Dim Index&与下面的______等价。 ( )

A:Dim Index As Long B:Dim Index As Integer C:Dim Index As Single D:Dim Index As Double

执行命令“INDEX on姓名TAG index name”建立索引后,下列叙述错误的是

A:此命令建立的索引是当前有效索引 B:此命令所建立的索引将保存在.idx文件中 C:表中记录按索引表达式升序排序 D:此命令的索引表达式是“姓名”,索引名是“index name”

变量定义语句Dim Index&与下面的______等价。 ( )

A:Dim Index As Long B:Dim Index As Integer C:Dim Index As Single D:Dim Index As Double

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