The class of tide that prevails in the greatest number of important harbors on the Atlanti
A.interval
B.mixed
C.diurnal
D.Semidiurnal
A.interval
B.mixed
C.diurnal
D.Semidiurnal
第1题
A.public class MyRunnable extends Runnable{public void run(){}}
B.public class MyRunnable extends Runnable{void run(){}}
C.public class MyRunnable implements Runnable{public void run(){}}
D.public class MyRunnable extends Object{public void run(){}}
第2题
下列程序的输出结果是public class fff { void printValue (int m) { do { System.out.println("The value is" +m); } while(--m>10) } public static void main (String arg[]) { int i=10; Test t= new Test(); t. printValue(i); }}
A.8
B.9
C.10
D.11
第3题
第4题
The term biological clock is applied to the means, which living things 【M1】______
adjust their activity patterns, without any obvious cue, the time of day, or 【M2】______
the month, or the year. They are affected but little, if at all, by drugs,
chemical, or wide temperature differences—factors may alter substantially 【M3】______
the rates of all ordinary processes of the body.
The nature of the biological clocks mechanism is still a mystery. Two 【M4】______
quite different theories have been advanced to account to them. According 【M5】______
to the first of these theories, each individual have evolved, aided by natural
selection, an adaptation to the rhythmic environment. It has now 【M6】______
become independence on the environment. According to this view, the clocks 【M7】______
are not perfect timers. They require regular corrections by the natural light
and tide cycles and the changed lengths of the day throughout the year. 【M8】______
The other theory holds up living things react continuously to their 【M9】______
rhythmic physical environment. The setting of their biological clocks,
therefore, involves a constant adjustment to subtle clocks are potential 【M10】______
perfect timers.
【M1】
第5题
阅读下列说明,回答问题l和问题2,将解答填入答题纸的对应栏内。
【说明】
某系统在线讨论区栗用ASP+Access开发,其主页如图4-1所示。
0;" >
【问题1】(8分)
以下是该网站主页部分的html代码,请根据图4一1将(1)~(8)的空缺代码补齐
< 1 -- (1) file="conn.asp-->
<html >
.....
<div id=&39; content " class=" layout &39; >
<div class=" right_body &39; >
< 2 ) name=" gues tbook" (3)= post " (4) = " guestbook_add. asp&39; >
<table clas s= " table">
<tr>
<th width="&39; 6 0 " > </th>
<td><label></label></td>
</tr>
<tr>
<th width=60&39;> </th>
<td><input name="title type=".(5 )" size=."50&39; /></td>
</tr>
<tr>
<th> </th>
<td><(6) name="&39;body " cols= 60 " rows=" 5 &39; ></textarea></td>
</tr>
<tr>
<td colspan="2&39;><p class="tj &39;>
<input name="tj" type="(7) " (8) "&39;提交吧! " />
</p></td>
</tr>
</table>
</form>
</div>
.....
</html>
(1)~(8)的各选答案:
A.submit B.Fonn C. Text D . textarea
E.include F action G. Method H. value
【问题2】(7分)
该网站在主页上设置了分页显示,每页显示10条留言,以下是该网站页面分页显
示部分代码,请阅读程序代码,并将(9)~(15)的空缺代码补齐。
第6题
下列程序通过实现Runnable接口创建一个线程,选择正确的语句填入程序的横线处。 class MyRun implements Runnable { String str; MyRun(String s) { str = s; } public void run() System.out.println(str); } } public class ex40 { public static void main(String[] args) { String name = "实现阶段Runnable 接口"; MyRun my = new MyRun(name); Thread th = th. start (); } }
A.new MyRun(my)
B.new Thread()
C.new Thread(my)
D.Thread(my)
第7题
试题(71)~(75)Object-oriented analysis (OOA) is a semiformal specification technique for the object-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). It determines how the various results are computed by the product and presents this information in the form. of a (72) and associated scenarios. The second is (73) , which determines the classes and their attributes. Then determine the interrelationships and interaction among the classes. The last step is (74) , which determines the actions performed by or to each class or subclass and presents this information in the form. of (75) .
(71)
A. use-case modeling
B. class modeling
C. dynamic modeling
D. behavioral modeling
(72)
A. collaboration diagram
B. sequence diagram
C. use-case diagram
D. activity diagram
(73)
A. use-case modeling
B. class modeling
C. dynamic modeling
D. behavioral modeling
(74)
A. use-case modeling
B. class modeling
C. dynamic modeling
D. behavioral modeling(75)
A. activity diagram
B. component diagram
C. sequence diagram
D. state diagram
第8题
下列程序打包到example包,main方法调用线程类输出0~9这10个数,请填写横线处的内容。
注意:请勿改动main()主方法和其他已有语句内容,仅在横线处填入适当语句。
______
interface MyInterface
{
public abstract void print(int n);
}
class Mythread extends Thread ______ MyInterface
{
public void run()
{
for(int i = 0; i < 10; i++)
this.print(i);
}
public void print(int n)
{
System.out.print(n +" ");
}
}
public class Example1_6
{
public static void main(String argv[])
{
Mythread th = new Mythread();
______
}
}
第9题
下面是一个Apple(程序,程序的功能是在Applet显示区内画一个动态的、多维的绿色椭圆环。本题主要是通过数学方法sin(),cos()画出一个圆环。请改正程序中的错误(有下划线的语句),使程序能输出正确的结果。
注意:不改动程序的结构,不得增行或删行。程序的执行结果:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class YuanHuan extends Applet
{
public void paint(Graphics g)
{
double w=getSize().width/2;
double h=getSize().height/2;
g.getColor(Color.green);
for(double th=0;th<10;th+=0.00003)
{
double r=Math.cos(16*th)+th;
double x=r*Math.cos(th)+w;
double y=r*Math.sin(th)+h;
g.drawOval((int)x-1,(int)y-1,3,3);
}
}
public static void main(String args[ ])
{
Frame. f=new Frame("Draw");
YuanHuan p=new YuanHuan();
p.inti();
p.start();
f.add(p);
f.setSize(400,300);
f.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e)
{
System.out.exit(0);
}
});
f. show ();
}
}
ex3 3_3. htm1:
<html>
<head>
<title>A Simple Program</title>
</head>
<body>
<applet code=" YuanHuan.class" width=800 height=400>
</applet>
</body>
</html>
第10题
Taking Notes in Class Taking good notes is a three-stage process _____________ (1) there are certain things you should do before class, during class, and after class. Before class. Review your notes from the previous class session before you come to class. This will help you remember what _____________ (2) and get you ready to understand new information your teacher provides. Also, complete all assigned readings before you come to class. During class. Keep your attention _____________ (3) what your teacher is saying. Listen for “signal statements” that tell you that what your teacher is about to say is important to write in your notes. Write quickly by writing ____________ (4) words such as “med” for “medicine”, using symbols such as “%” for “percent”, and writing short sentences. After class. Rewrite your notes to make them more complete by changing abbreviated words into whole words. Make your notes __________ (5) accurate by answering any questions you had when writing your notes in class. You may ask your teacher or other students for help.
1.
A、in that
B、in which
C、where
D、which
2.
A、was covered
B、is covered
C、covers
D、are covering
3.
A、focusing on
B、focus on
C、is focused on
D、focused on
4.
A、short
B、abbreviated
C、other
D、several
5.
A、very
B、quite
C、more
D、most
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!