您的位置: 首页 计算机类> 水平考试> 历年真题> 其它真题
公务员考试辅导课程

2005年下半年电子商务设计师下午试题

发布时间:06-20

来 源:

页 数:4页

上一篇:2006年下半年软件水平《电子商务技术员》试题

下一篇:2005年上半年电子商务设计师上午试题


试题三(15分)
  阅读下列说明,回答问题1至问题3,将解答填入答题纸的对应栏内。
[说明]
  某测试小组对两个网站进行了系统测试。以下是连接速度的测试界面。

[问题1](5分)
  右图是该测试小组对网站制定的测试流程图,请将其补充完整。
[问题2](4分)
  WEB测试包括:Cookies测试、数据库测试、连接速度测试、设计语言测试、负载测试、表单测试、压力测试、链接测试等。请将他们按功能测试和性能测试进行分类。 
[问题3](6分) 
  说明中的链接测试页面实现的功能是:如果10秒链接不上指定网站,则显示"链接超时",否则显示链接时间(单位为秒)。请根据以上功能描述,补齐代码:
  ... ... ...
  <script>
  tim=1  //时间初值 
  __(1)__ ("tim++", 100); //定时调用时间设定
  bTestFinish = 0
  c=1
  var b= 1
  var autour1 = new Array()
  autoru1[1] = "61. 236. 219. 100"
  autoru1[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]+"&nbsp;size=40> →&nbsp; &nbsp; < 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]+"&nbsp; size=40> →&nbsp; &nbsp; < input type=text name =txt"+ i+"size=10 class= oborder 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>
   ... ... ...




Google
 

     

考试信息

热点排行

最近更新

考试辅导

网校辅导

面授培训

©2005-2006 100ksw.com 版权所有 皖ICP备06013378号