|
新生入学
- 帖子
- 1
- 金币
- 0 枚
- 原创分
- 0 点
- 资源分
- 0 点
- 铜币
- 2 枚
- 注册时间
- 2008-3-7
- 最后登录
- 2008-3-8
|
1楼
大中
小发表于 2008-3-7 08:22 只看该作者
Palm OS基本考题一、选择题(每题 1 分,共4分)
1. A Palm OS application is composed of resources, there include three resources, and now which is not belong to System resources? (
)
A.
Labels
B.
Application code
C.
Startup information required by the OS
D.
Alert dialogs
E.
Data structures for initializing the application’s global variables
2. Which is correct? (
)
F.
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.
G.
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.
H.
A table may organize a number of other user interface elements within its rows and columns.
I.
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.
J.
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.
3. Which is correct? (
)
K.
The app icon family should be 30 × 18 pixels in size for a large application icon, or 15 × 9 for a small icon.
L.
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.
M.
Category names may be only 16 characters long, and there is a maximum of 16 categories.
N.
The button index parameter starts at 0 for the leftmost button in the alert.
O.
The BITMAP command converts bitmaps in .bmp, .pbitm, .xbm, and .pbm formats into Palm bitmap resources.
4. Which is correct? (
)
P.
It is possible to set cells within a column to different item types for a table.
Q.
Table can hide columns but can hide rows.
R.
In order to hide or show columns, the entire table needs to be redrawn.
S.
The table can include Text Fields. And more than one text field can exists at any one time in a table.
T.
Tables that must support scrolling require a function to load and redraw the table whenever its data changes.
二、简答题
1. How can I debug my Palm application to a Handspring device using a serial cradle? (2 Points)
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? (1 Points)
3. How to share a menu between multiple menu bars? (2 Points)
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. (2 Points)
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.? (2 Points)
三、编程题:
1.
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. (3 Points)
2.
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. (4 Points)
·
Today is Monday.
Do you believe it?
|
·
It’s a find day.
However you live.
|
·
How are you?
Can you receive it?
|
·
See you later.
All over the world.
|
|