ken_131 2008-3-7 08:22
Palm OS基本考题
[font=宋体][size=14pt]一、选择题(每题[/size][/font][size=14pt][font=Times New Roman] 1 [/font][/size][font=宋体][size=14pt]分,共[/size][/font][size=14pt][font=Times New Roman]4[/font][/size][font=宋体][size=14pt]分)[/size][/font][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]1. A Palm OS application is composed of resources, there include three resources, and now which is not belong to System resources? (
)[/size][/font][b]
[/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]A.
[/size][/font][font=Arial][size=10.5pt]Labels[/size][/font]
[font=Arial][size=10.5pt]B.
[/size][/font][font=Arial][size=10.5pt]Application code[/size][/font]
[font=Arial][size=10.5pt]C.
[/size][/font][font=Arial][size=10.5pt]Startup information required by the OS[/size][/font]
[font=Arial][size=10.5pt]D.
[/size][/font][font=Arial][size=10.5pt]Alert dialogs[/size][/font]
[font=Arial][size=10.5pt]E.
[/size][/font][font=Arial][size=10.5pt]Data structures for initializing the application’s global variables[/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]2. Which is correct? (
)[/size][/font][b]
[/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]F.
[/size][/font][font=Arial][size=10.5pt]Dialog can occupy less height than a full-screen form and also can occupy less width than a full-screen, and it also can include a menu.[/size][/font]
[font=Arial][size=10.5pt]G.
[/size][/font][font=Arial][size=10.5pt]A table may be scrolled vertically to display more rows of data than will fit on the screen at once. And tables also can be scrolled horizontally.[/size][/font]
[font=Arial][size=10.5pt]H.
[/size][/font][font=Arial][size=10.5pt]A table may organize a number of other user interface elements within its rows and columns.[/size][/font]
[font=Arial][size=10.5pt]I.
[/size][/font][font=Arial][size=10.5pt]A push button always occurs in a group of two or more push buttons. Only one button in the group may be selected at a time.[/size][/font]
[font=Arial][size=10.5pt]J.
[/size][/font][font=Arial][size=10.5pt]When the data in the element attached to the scroll bar changes, the scroll bar will auto get the change so it can properly position and size the scroll car.[/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]3. Which is correct? (
)[/size][/font][b]
[/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]K.
[/size][/font][font=Arial][size=10.5pt]The app icon family should be 30 × 18 pixels in size for a large application icon, or 15 × 9 for a small icon.[/size][/font]
[font=Arial][size=10.5pt]L.
[/size][/font][font=Arial][size=10.5pt]Images in an app icon family must be entered from lowest bit depth to highest, which usually means 1-bit (B&W) at the top of the list and 8-bit (256 colors) at the bottom.[/size][/font]
[font=Arial][size=10.5pt]M.
[/size][/font][font=Arial][size=10.5pt]Category names may be only 16 characters long, and there is a maximum of 16 categories.[/size][/font]
[font=Arial][size=10.5pt]N.
[/size][/font][font=Arial][size=10.5pt]The button index parameter starts at 0 for the leftmost button in the alert.[/size][/font]
[font=Arial][size=10.5pt]O.
[/size][/font][font=Arial][size=10.5pt]The BITMAP command converts bitmaps in .bmp, .pbitm, .xbm, and .pbm formats into Palm bitmap resources.[/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]4. Which is correct? (
)[/size][/font][b]
[/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]P.
[/size][/font][font=Arial][size=10.5pt]It is possible to set cells within a column to different item types for a table.[/size][/font]
[font=Arial][size=10.5pt]Q.
[/size][/font][font=Arial][size=10.5pt]Table can hide columns but can hide rows.[/size][/font]
[font=Arial][size=10.5pt]R.
[/size][/font][font=Arial][size=10.5pt]In order to hide or show columns, the entire table needs to be redrawn.[/size][/font]
[font=Arial][size=10.5pt]S.
[/size][/font][font=Arial][size=10.5pt]The table can include Text Fields. And more than one text field can exists at any one time in a table.[/size][/font]
[font=Arial][size=10.5pt]T.
[/size][/font][font=Arial][size=10.5pt]Tables that must support scrolling require a function to load and redraw the table whenever its data changes.[/size][/font]
[font=宋体][size=16pt]二、简答题[/size][/font][size=16pt][/size]
[font=Arial][size=10.5pt]1. How can I debug my Palm application to a Handspring device using a serial cradle?[/size][/font][b][font=Arial][size=10.5pt] (2 Points)[/size][/font][/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]2. When I build my application, I receive a "16-bit code reference to ... out of range" error. What is this mean? Why I receive this error?[/size][/font][b][font=Arial][size=10.5pt] (1 Points)[/size][/font][/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt]
[/size][/font]
[font=Arial][size=10.5pt]3. How to share a menu between multiple menu bars?[/size][/font][b][font=Arial][size=10.5pt] (2 Points)[/size][/font][/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]4. What is Alarms? Where and how can we use? Which are the steps required for setting and responding to an alarm? Please write the code of set an alarm.[/size][/font][b][font=Arial][size=10.5pt] (2 Points)[/size][/font][/b][font=Arial][size=10.5pt][/size][/font]
[font=Arial][size=10.5pt] [/size][/font]
[font=Arial][size=10.5pt]5. Palm OS provides three functions for deleting records from a database, appropriate for different circumstances, so what’s the difference of DmRemoveRecord, DmDeleteRecord, and DmArchiveRecord.?[/size][/font][b][font=Arial][size=10.5pt] (2 Points)[/size][/font][/b]
[font=宋体][size=16pt]三、编程题:[/size][/font][size=16pt][/size]
[font=Arial]1.
[/font][font=Arial]Write an application to realize the two numbers’ addition. See below, it is the UI design. User can enter the first number to the “Number 1” text field, then enter the second number to the “Number 2” test field, then click the “Add” button; the sum will show the last text field. And click the “Clear” button will clear all value from the textbox.[/font][b][font=Arial][size=10.5pt] (3 Points)[/size][/font][/b][font=Arial][/font]
[font=Arial]
[table=98%][tr][td][size=3][font=Times New Roman] [/font][/size]
[size=3][font=Times New Roman] [/font][/size]
[size=3][font=Times New Roman] [/font][/size]
[size=3][font=Times New Roman]
Number 1:[/font][/size]
[size=3][font=Times New Roman] [/font][/size]
[size=3][font=Times New Roman]
Number 2:[/font][/size]
[size=3][font=Times New Roman] [/font][/size]
[size=3][font=Times New Roman]
Sum:[/font][/size]
[/td][/tr][/table][table=98%][tr][td][align=center][align=center][b][size=3][font=Times New Roman]Demo App[/font][/size][/b][/align][/align]
[/td][/tr][/table][font=Times New Roman][size=3][/size][/font][font=Times New Roman][size=3][/size][/font][font=Times New Roman][size=3][/size][/font][table=98%][tr][td][align=center][align=center][font=Times New Roman][size=3]Add[/size][/font][/align][/align]
[/td][/tr][/table][table=98%][tr][td][align=center][align=center][font=Times New Roman][size=3]Clear[/size][/font][/align][/align]
[/td][/tr][/table][size=3][font=Times New Roman][/font][/size][/font]
[font=Arial] [/font]
[font=Arial]2.
[/font][font=Arial]Write an application to operate table. See below. There is a table on the form, and this table have 4 rows, each row have two columns and two lines, there is a CheckBox on the first line and a little graph on the second line. When I select a row, the entire row will become blue and text will become white. The data can from an array.[/font][b][font=Arial][size=10.5pt] (4 Points)[/size][/font][/b][font=Arial][/font]
[font=Arial][table=98%][tr][td][size=3][font=Times New Roman] [/font][/size]
[font=Times New Roman][size=3]There are 4 items[/size][/font]
[/td][/tr][/table][table=98%][tr][td][align=center][align=center][b][size=3][font=Times New Roman]Demo App[/font][/size][/b][/align][/align]
[/td][/tr][/table][table=98%][tr][td][font=Symbol][size=3]·[/size]
[/font][font=Times New Roman][size=3]Today is Monday.[/size][/font]
[size=3][font=Times New Roman]
Do you believe it?[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[/td][/tr][/table][table=98%][tr][td][font=Symbol][size=3]·[/size]
[/font][font=Times New Roman][size=3]It’s a find day.[/size][/font]
[size=3][font=Times New Roman]
However you live.[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[/td][/tr][/table][table=98%][tr][td][font=Symbol][size=3]·[/size]
[/font][font=Times New Roman][size=3]How are you?[/size][/font]
[size=3][font=Times New Roman]
Can you receive it?[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[/td][/tr][/table][table=98%][tr][td][font=Symbol][size=3]·[/size]
[/font][font=Times New Roman][size=3]See you later.[/size][/font]
[size=3][font=Times New Roman]
All over the world.[/font][/size]
[size=3][font=Times New Roman] [/font][/size]
[/td][/tr][/table][/font]
[size=10.5pt][/size]