摘要: 一、安装SeleniumIDE插件 1、打开Firefox浏览器,右上角打开菜单-添加组件,搜索Selenium 2、找到下图中的Selenium IDE,添加 二、录制脚本 1、打开SeleniumIDE,打开网址http://121.193.130.195:8080/使用学号登录系统 2、登陆后 阅读全文
posted @ 2017-03-24 12:00 刘晓超017 阅读(189) 评论(0) 推荐(0)
摘要: 一、习题答案 a、控制流图 b.将MAXPRIMES设置为4时,t2会发生数组越界错误,但t1不会发生错误。 c.令numPrimes=1. d. 点覆盖:{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} 边覆盖:{(1,2),(2,3),(3,4),(4,5),(5 阅读全文
posted @ 2017-03-14 23:05 刘晓超017 阅读(142) 评论(0) 推荐(0)
摘要: Tasks: Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the triang 阅读全文
posted @ 2017-03-10 17:13 刘晓超017 阅读(243) 评论(0) 推荐(0)
摘要: 1. public int findLast (int[] x, int y) {//Effects: If x==null throwNullPointerException// else return the index of the last element// in x that equal 阅读全文
posted @ 2017-03-02 16:47 刘晓超017 阅读(225) 评论(0) 推荐(0)
摘要: 曾经遇见的错误:在写滑块拼图作业时,用到了很多数组来保存每一个图快的位置,但在点击图块的时候图块不能按预期进行移动,于是就利用编译器中的调试和是指断点功能查错,最终发现是一个数组发生了溢出。 阅读全文
posted @ 2017-02-27 18:49 刘晓超017 阅读(89) 评论(0) 推荐(0)