Header Ads Widget

Responsive Advertisement

Module 20: Navigation

Navigation


01. You write a form in which there are two text items (FIELD 1 and FIELD2) and a button (BTN1) arranged in the following sequence:                                                                                                                      

FIELD1,                                                                                                                                  

BTN2,                                                                                                                                    

FIELD2                                                                                                                                   

Which three conditions will combine to produce a Navigation Trap when the focus is in FIELD1 and the user presses the [Next Item] key? (Choose three)                                                                                                                                                                                                                                  

A. FIELD1 has a Post-Text-Item trigger that fails.                                                                                       

B. FIELD1 has a Pre-Text-Item trigger that fails.                                                                                        

C. FIELD1 has a When-New-Item-Instance trigger that fails.                                                                               

D. FIELD2 has a Post-Text-Item trigger that fails.                                                                                       

E. FIELD2 has a Pre-Text-Item trigger that fails.                                                                                        

F. FIELD2 has a When-New-Item-Instance trigger that fails.                                                                               

G. The Keyboard Navigable property of BTN1 is set to No.                                                                                 

H. The Keyboard Navigable property of BTN1 is set to Yes.   

Answer: B, E, G

02. Consider the following scenario:                                                                                                         

In a multiform application, the user started in FormA.                                                                                   

1. From FormA, the user invoked FormB using CALL_FORM.                                                                                   

2. From FormB, the user invoked FormC using OPEN_FORM.                                                                                   

3. From FormC, the user invoked FormD using OPEN_FORM.                                                                                   

4. From FormB, the user invoked FormE using CALL_FORM.                                                                                   

There is an additional form in the application, called FormF.                                                                            

Which statement is true?                                                                                                                                                                                                                                                    

A. FormF can be invoked from FormC using CALL_FORM.                                                                                      

B. FormF can be invoked from FormA using OPEN_FORM.                                                                                      

C. FormF can be invoked from FormD using CALL_FORM.                                                                                      

D. FormF can be invoked from FormE using CALL_FORM.                                                                                      

E. FormF can be invoked from FormB using OPEN_FORM. 

Answer: D

03. You are developing an account management system for First National Bank. The Layout Editor for the Customer form is shown in the exhibit. The three buttons on the form invoke separate forms to enter deposits and withdrawals for the customer's checking, savings, and money market accounts. Often deposit and withdrawals to these accounts are accomplished as part of a single transaction, so they must all be committed together or all rolled back if the commit fails. How should you code the Checking button?                                                                                                                                                                                                                        

A. OPEN_FORM('Checking');                                                                                                                

B. OPEN_FORM('checking,session);                                                                                                         

C. OPEN_FORM('Checking', SESSION,ACTIVATE);                                                                                              

D.OPEN_FORM('Checking', SESSION,NO_ACTIVATE); 

Answer: A

04. Which built-in subprogram can you use to navigate to the instance of the current item in the previous record?

A. PREVIOUS_RECORD

B. UP

C. SCROLL_BACK

D. PREVIOUS_BLOCK

Answer: B

05. When does external navigation occur?

A. When the navigation unit is outside the form.

B. When the cursor input focus changes.

C. When the input focus goes outside of the Mouse Navigation Limit.

D. When you click on a display item with Mouse Navigable set to No.

Answer: B

06. You created a multi-record block in your form displaying five text items per record. The cursor is in the last field of the first record. The navigation style property has not been altered. You select Field --->Next from the menu.

Where does the cursor navigate?

A. To the last field of the next block.

B. To the first field of the next block.

C. To the first field of the first record.

D. To the first field of the second record.

Answer: C

07.You created a form that has two data blocks. Which two default navigation methods can a user employ to move the cursor from the first block to the second block? (Choose two)

A. Press the [NEXT BLOCK] function key.

B. Click an item in the second block with the mouse.

C. Click the single right-arrow icon on the menu toolbar.

D. Right-click an item in the first block, and choose Next Block from the pop-up menu.

Answer: A, B

08. Which two built-ins can initiate navigation programmatically? (Choose two)

A. UP

B. GO_FORM

C. NEW_BLOCK

D. CLOSE_FORM

E. SCROLL_BLOCK

Answer: A, B

Post a Comment

0 Comments