J2ME低级界面题目——测验你的J2ME技术能力如何?

一、要求如下:

在手机上绘制2个同心圆:

<group id="_x0000_s1026" style="WIDTH: 162pt; HEIGHT: 179.4pt; mso-position-horizontal-relative: char; mso-position-vertical-relative: line" coordsize="3240,3588" coordorigin="4380,3234" editas="canvas"><lock aspectratio="t" v:ext="edit"></lock><shapetype id="_x0000_t75" coordsize="21600,21600" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="_x0000_s1027" style="LEFT: 4380px; WIDTH: 3240px; POSITION: absolute; TOP: 3234px; HEIGHT: 3588px" o:preferrelative="f" type="#_x0000_t75"><font size="3"><fill o:detectmouseclick="t"></fill><path o:connecttype="none" o:extrusionok="t"></path><lock v:ext="edit" text="t"></lock></font></shape><rect id="_x0000_s1028" style="LEFT: 4560px; WIDTH: 2700px; POSITION: absolute; TOP: 3390px; HEIGHT: 3277px" fillcolor="black"><font size="3"></font></rect><oval id="_x0000_s1029" style="LEFT: 5280px; WIDTH: 1260px; POSITION: absolute; TOP: 4014px; HEIGHT: 1260px" filled="f" strokecolor="white"><font size="3"></font></oval><oval id="_x0000_s1030" style="LEFT: 5666px; WIDTH: 514px; POSITION: absolute; TOP: 4326px; HEIGHT: 517px" filled="f" strokecolor="white"><font size="3"></font></oval><wrap type="none"></wrap><anchorlock></anchorlock></group>

1、 按方向键2个同心圆一起移动

2、 内部圆不停的扩大,当碰到外部圆后,内部圆缩小,缩小到一个点后,再次方法,如此循环往复

3、 [select]键以后,内部圆消失,再按一次内部圆又出现。

二、要求如下:

程序的具体要求如下:

1、 不停的在手机屏幕随机位置上产生序号为1-9的一个圆,在圆中标有序号

2、 按键盘上的数字键,如果该数字键与某圆的序号相同,则该圆消失,然后继续以上步骤

3、 圆消失一次,分数增加,增加的分数为圆中的数字

4、 如果数字键与圆的序号不相同,或者分数加了10次后,显示结束画面

<group id="_x0000_s1031" style="WIDTH: 414pt; HEIGHT: 187.2pt; mso-position-horizontal-relative: char; mso-position-vertical-relative: line" coordsize="8280,3744" coordorigin="2220,2141" editas="canvas"><lock aspectratio="t" v:ext="edit"></lock><shape id="_x0000_s1032" style="LEFT: 2220px; WIDTH: 8280px; POSITION: absolute; TOP: 2141px; HEIGHT: 3744px" o:preferrelative="f" type="#_x0000_t75"><font size="3"><fill o:detectmouseclick="t"></fill><path o:connecttype="none" o:extrusionok="t"></path><lock v:ext="edit" text="t"></lock></font></shape><rect id="_x0000_s1033" style="LEFT: 4380px; WIDTH: 2700px; POSITION: absolute; TOP: 2297px; HEIGHT: 3433px"><font size="3"></font></rect><oval id="_x0000_s1034" style="LEFT: 5100px; WIDTH: 360px; POSITION: absolute; TOP: 3077px; HEIGHT: 360px"><font size="3"></font></oval><shapetype id="_x0000_t202" coordsize="21600,21600" path="m,l,21600r21600,l21600,xe" o:spt="202"><stroke joinstyle="miter"></stroke><path o:connecttype="rect" gradientshapeok="t"></path></shapetype><shape id="_x0000_s1035" style="LEFT: 5100px; WIDTH: 359px; POSITION: absolute; TOP: 3077px; HEIGHT: 468px" stroked="f" filled="f" type="#_x0000_t202"><textbox><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr><td style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"><div><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US">9</span></p></div></td></tr></tbody></table></textbox></shape><wrap type="none"></wrap><anchorlock></anchorlock></group>

你可能感兴趣的:(ext,F#)