问题 单项选择题

要在HTML文件中嵌入Applet,在<applet>标记中必须定义的是

A.Applet字节码文件的URL

B.Applet显示区域的高度和宽度

C.Applet字节码的文件名

D.选项B和选项C

答案

参考答案:A

解析: Applet是能够嵌入HTML页面中,并在浏览器中运行的Java类。Applet的运行环境是Web浏览器,所以不能直接通过命令行启动,必须建立HTML文件,告诉浏览器如何加载和运行Applet。在浏览器中指定此HTML文件的URL,就可以通过HTML文件启动Applet运行。

完形填空
下面是Mary的笔友Amanda写给她的信,信中Amanda介绍了烤肉串的制作方法。仔细阅读短文,完成信息采集表格。答案写在答题卷对应题号位置上。
Dear Mary,
How’s it going? Things are fine here. I am very happy every day. Last week on the “Good Cook” on CCTV-2, I learn to make the kebabs(烤肉串). And I want to tell you how to do it.
Before starting to cook, we should have some meat, vegetables and some sauce. Of course, we need tools(工具), too, like skewers(烤肉签), the barbecue(烤肉架) and the charcoal(木炭).
Now you can start! First, cut up some meat and vegetables and put them in a bowl with your favorite sauce. Mix them up. 20 minutes later, put the meat and vegetables on the skewers. Then put charcoal in the barbecue and light it. After that, put the kebabs on the barbecue and cook for 10 minutes to 15 minutes, turning them over from time to time. Finally, take the kebabs off the barbecue and enjoy them!
I tried this recipe. It is really great! I hope you can try it later.
Best wishes!
Yours’
Amanda
How to make kebabs
Things needed
How to do it
Ingredients:
小题1:_________
1)Cut up the meat and vegetables, and put them in a bowl. Add some 小题2:______ and mix them up.
2) Put the meat and vegetables on the skewers.
3) Put the charcoal in the barbecue and
小题3:______.
4) Put the kebabs on the barbecue to cook 10-15 minutes,小题4:______ from time to time.
5) Take off the kebabs and you can enjoy them.
Tools:
Barbecue,
小题5:________
多项选择题