问题 填空题

食物中含有________、______、_______ 、_________、________、________ 等六大营养物质,这六大营养物质对人体的作用包括_______、__________和维持生命和健康。

答案

糖类     蛋白质     脂肪      水      无机盐    维生素      建造我们的身体     给我们提供能量

问答题

下面是一个Applet程序,其功能是输入2个字符串,比较两者的长度。要求,窗口中有2个输入区,用于输入字符串,一个按钮点击实现比较,比较结果用绘图方式显示出来。请改正程序中的错误(有下划线的语句),使程序能输出正确的结果。 注意:不改动程序的结构,不得增行或删行。 程序运行结果如下:

import java.awt.*; import java.applet.*; /* <applet code="ex25_3.class" width=800 height=400 > </applet> */ public class ex25_3 extends Applet{ private TextField tf1; private TextField tf2; private Button btn; private String strOut; public void init(){ Label 1 = new Label("串1:"); add(1); tf1 = new TextField(20); add(tf1); l = new Label("串2:"); add(1); tf2 = new TextField(20); add(tf2); btn = new Button("比较"); add(btn); strOut = " "; resize(250, 200); } public void paint(Graphics g){ g.drawString(strOut, 30,150); } public boolean action(Event e, Object o){ if (o == "btn"){String str1 = tf1.getText();String str2 = tf2.getText(); int result; result = str1.compare(str2);if (result > 0) strOut = "串1种字符数少于串2";else if (result == 0) strOut = "串1和串2长度一样";else strOut = "串1字符数多于串2";repaint ( ); //该方法主要用于applet的重新显示,它调用Update ()方法实现对于Applet的更新。return true; }elsereturn false; } } ex25_3.htm1 <HTML> <HEAD> <TITLE>ex25_3</TITLE> </HEAD> <BODY> <applet code="ex25_3.class" width=800 height=400 > </applet> </BODY> </HTML>

填空题

President Bush arrived in Washington and forged ahead with an ambitious agenda- (1) tax cuts, vast changes in federal social programs, expansions of executive power and (2) broad remaking of energy and education policies.
Claiming a mandate by simply declaring (3) existence, his early successes dazzled his critics. With guru Karl Rove directing the (4) , Bush won a stunning series of political victories.
He muscled his agenda through (5) friendly Congress, and gained seats for his party in the 2002 midterm elections. (6) biggest triumph came in 2004, when he won a second term despite a (7) unpopular war.
The "permanent" Republican majority he and Rove envisioned even seemed attainable (8) Bush plunged himself into his most ambitious legislative effort yet: a partial privatization (9) Social Security.
But the president who boasted about "political capital" in the heady (10) after his re-election now faces the worst of political fates as he enters (11) final year in office: borderline irrelevance.
The president’s second term has (12) defined by legislative paralysis, marked by record-low approval ratings, presidential candidates who are (13) from his shadow, and a lingering war that’s sapping his remaining reservoirs of (14) .
As he enters his final year in office with the war continuing, Republican (15) for president bolting from his shadow, and his party back in the minority (16) Congress, he is politically weakened, an early entry into lame-duck status.
And the (17) Washington atmosphere he hoped to cure is just as nasty as it was (18) he came to office seven years ago.
"lie’s left our political institutions much (19) troubled than they were before," said Thomas E. Mann, a senior fellow at (20) Brookings Institution, a Washington-based think tank. "He didn’t create the ideological polarization, but he magnified it. \