问题 填空题

有下面的Applet程序段: import,java.awt.*; import.java.applet.*; public class Hello extends Applet{ public void panin(Graphics g){gdrawString("Hello World!",25,25); } } 为了使该Applet 程序段能在浏览器中运行,请将下面的程序段补充完整。 <HTML> <HEAD> <TITLE>Hello World</TITLE> </HEAD> <APPLET> 【15】 "WIDTH=150 HEIGHT=25"></APPLET>

答案

参考答案:CODE=“Hello.class”

解析: 本题考查Applet的概念。将小应用程序嵌入到HTML文件中,该Applet才能运行,必须使用特殊的HTML标记<APPLET>标记实现Applet的嵌入运行。这个标记应该规定浏览器要加在保存的类中,而题目中的类为Hello.class,故需填写 CODE="Hello.class",浏览器将在HTML文件所在的URL中寻找该文件。

完形填空
Shyness(害羞) means feeling frightened when you’re around other people. Some children are       shy. Some become very shy later because of their life experience.     , everybody gets a little shy sometimes. It’s just how much they feel shy.
Most people have red faces and talk in       sentences(句子) when they are shy. But some become       shy that they won’t go to a restaurant because they are too nervous to       and pay for their food. Some are afraid of meeting       people, so they seldom go outside. This kind of shyness can be       for a person.
If shyness doesn’t stop you from doing something you want to do, being shy isn’t a big      . Some experts(专家) say shy people are good at working because they think more and       less. But remember not to let good opportunities(机会) pass you by just because of it. If you have to sing a song at a birthday party or give some performances in front of others, just do it. There’s nothing to      .
小题1:
A.shownB.born C.thoughtD.seen
小题2:
A.For exampleB.In factC.So farD.First of all
小题3:
A.brokenB.strangeC.differentD.boring
小题4:
A.veryB.tooC.quiteD.so
小题5:
A.packB.orderC.cookD.serve
小题6:
A.newB.foreignC.oldD.friendly
小题7:
A.goodB.helpfulC.badD.usual
小题8:
A.questionB.exampleC.excuseD.problem
小题9:
A.doB.talkC.getD.sleep
小题10:
A.think aboutB.pay attention toC.worry aboutD.be afraid of
问答题 简答题