Working with Data Blocks and Frames A.
Item Type
B. Column Name
1. Why would you want to create a control block in C. Conceal Data
a Forms module? D. Database Item
A. To control all items in other blocks that are not Answer: D
base table items. 6. Which item type can you edit with the Editor
B. To control relationship between a master block object?
and its detail block. A. List items
C. To control the way additional forms are opened B. Text items
and to track the call stack. C. Image items
D. To control navigation within the form so that D. Graphics items
users cannot randomly navigate to any item. E. Hierarchical tree items
E. To place various control items (such as buttons) Answer: B
on a single block that is not related to a table in the 7. You would create a customized Editor object in a
database. form so you could edit _____ .
Answer: E A. Text items at run time.
2. Which three properties add functionality to a B. Text items at design time.
text item? (Choose three) C. A layout of form objects at run time.
A. Window D. A layout of forms object at design time.
B. Multi-Line Answer: A
C. Wrap Style 8. Which two statements define a Static Record
D. Raise on Entry Group? (Choose two)
E. Execution Style A. The Record Group can be created only at run
F. Case Restriction time.
G.Horizontal Scroll Bar B. The Record Group is not associated with a query.
Answer: B, C, F C. The Record Group can be created and modified
3. Which two operations create a text item? only at design time.
(Choose two) D. The Record Group can be created and modified at
A. Use the Create icon in the Layout Editor. design time or at run time.
B. Convert an existing item into a text item by setting E. You can modify the structure of this Record Group
its item Type property. by adding columns and rows at run time.
C. Use the text item tool in the Object Navigator. F. You can modify the structure of this Record Group
D. Use the text item tool in the Layout Editor. by associating it with a query at run time.
E. Select Field—>New—>Text item from the menu. Answer: B,C
Answer: B, D
4. You have been asked to correct a problem with a Creating Non-input Items
form that was created by another developer. Users
complain that they are unable to query on the 1. Which statements are true for Content Canvas-
employee Hire Date, which is a base table item. Views? (Choose two)
What is a possible cause for this problem? A. A content canvas-view is always created implicitly.
A. The Hire Date item is a display item. B. A content canvas-view always completely fills its
B. The Hire Date item has its Enabled property set to window.
No. C. A content canvas view sits on top of a stacked
C. The Hire Date item has its Query Allowed property canvas-view.
set to Yes. D. If a content canvas-view is too big, the window
D. The Hire Date item width is not large enough to needs to be resized.
display the complete date. E. There must be at least one content canvas-view
Answer: A for each window in an application.
5. You create a text item in the Object Navigator. Answer: B, E
Which property must you change from the default 2. You have created two separate data blocks on
value 50 that the text item will not be part of the two Content canvases. Users complain that when
SOL statement when a query is issued on the block? they navigate to block two, they can no longer see
the block one data. How could you enable them to time.
see both canvases at once? C. The Record Group can be created and modified
A. Create a new window and assign one of the only at design time.
canvases to it. D. The Record Group can be created and modified at
B. Set the canvas property Raise on Entry to No for design time or at run time.
both canvases. E. The query associated with this Record Group can
C. Set the viewpoint size large enough so that both be defined only at design time.
canvases can be seen. F. The query associated with this Record Group can
D. Put a scroll bar on the window so that users can be modified only at design time.
scroll back and forth between the canvases. G. The query associated with this Record Group can
Answer: C be modified only at run time.
3.How can you display both the CV_SALARY and Answer: A,D
CV_EMP content canvases at the same time in the 3. Which two statements about a Non-Query
same window? Record Group are true? (Choose two)
A. Assign both content canvasses to the same A. The Record Group is associated with a query at
window. run time or at design time.
B. Assign each of the content canvasses to separate B. The Record Group can be created and modified
modeless windows. only at run time.
C. You must display both canvases through the same C. The Record Group can be created and modified
window. only at design time.
D. You cannot display two content canvases at the D. The Record Group can be created and modified at
same time. design time or at run time.
Answer: D E. You can modify the structure of this Record Group
4. Which statement is true? by adding columns and rows.
A. A window can have only one content canvas. F. The Record Group is associated with a query only
B. A window must have at least one content canvas. at design time.
C. A content canvas can be assigned to multiple Answer: B,E
windows.
D. A form can contain multiple windows, but only Creating Windows and Content Canvases
one content canvas.
Answer: B 1. What is window?
A. Window is a container for all visual objects that
Creating Additional Input Items make up a form Application.
B. Is similar to an empty picture frame.
1. You created a LOV based on the query Record C. Window can be minimized.
Group PRODUCTS. The LOV is attached to the D. Is similar to an empty frame.
:PROD.DESC text item. The validate from List Answer: A, B, C
property is set to No for the :PROD.DESC Text item. 2. What is Canvas?
Which built-in can you call to execute the query A. Is a surface inside a window container on which
associated with the Record Group? you place visual objects, such as interface items and
A. SHOW_LOV graphics.
B. ADD_GROUP_ROW B. Is similar to the window on which a picture is
C. ADD_GROUP_COLUMN painted.
D. SET_GROUP_SELECTION C. Always displays in the window to which it is
E. CREATE_GROUP_FORM_QUERY assigned.
F. VALIDATE(ITEM_SCOPE) when :PROD.DESC is the D. Is similar to the canvas on which a picture is
current item. painted.
Answer: A Answer: A, C, D
2. Which two statements are true of a Query 3. What is viewport?
Record Group? (Choose two) A. Is an attribute of a Canvas.
A. The Record Group is associated with a query. B. Is effectively the visible portion of, or view on to
B. The Record Group can be created only at run the canvas.
C. Is defectively the visible portion of, or view on to 2. Which are the canvas properties.
the canvas. A. canvas type
D. Is an attribute of a Item. B. window
Answer: A, B C. Horizontal toolbar canvas
4. Benefits and use of new window. D. vertical toolbar canvas
A. Display two or more window content canvases at Answer: A, B
once. 3. Benefits of tab canvas are…
B. Take advantage of window manager functionality, A. create an overlay effect within a single canvas
such as allowing the user to resize or close a B. hide information
window. C. decrease form module maintenance time
C. Display three or more window content canvases D. Increase application usability
at once. Answer: A, B
D. Switch between window without replacing the 4. Which is true about tab page ?
initial one. A. Display on top of a content canvas
Answer: A, B B. A sub object of a tab canvas
5. Functional properties for GUI hints: C. Hide information
A. Close allowed D. A special type of canvas
B. Move allowed Answer: B
C. Resize allowed 5. Which are the Benefits of Toolbars
D. Average allowed A. create an overlay effect within a single canvas
E. Copy allowed. B. hide information
Answer: A, B, C C. Easily access information by clicking the tab
6. To set properties for windows to determine their D. Increase application usability
behavior and appearance. The following are some Answer: D
of the properties: 6. In the Products. Fmb module, a trigger currently
A. Tab canvas fires each time you navigate to any item in the
B. x/y position Product data block. You want to make a change so
C. Horizontal /vertical toolbar canvas. that the trigger fires only when you navigate to a
D. Modal specific item. What change should you make to the
Answer: B, C, D trigger to correct this behavior?
7. Which are true about default window? A. Change the Trigger scope from Block to Form.
A. It’s name is Window1 B. Change the Trigger scope from Block to Item.
B. It’s Modeless C. Change the Trigger scope from Form to Item.
C. It’s attribute can’t be deleted D. Change the Trigger scope from Form to Block.
D. Cannot be renamed E. Change the Trigger scope from Item to Block.
Answer: A, B F. Set the Trigger Execution Hierarchy property to
8. Which are true? After.
A. Modal window is restricted window G. Set the Trigger Execution Hierarchy property to
B. Modeless window is restricted window. Before.
C. Modal window is an unrestricted window. Answer: B
D. Modeless window is an unrestricted window 7. You have been asked to define a data block
Answer: A, D based on a query that is dependent on SQL only.
The data will not be updated by the user. Selection
of the tables to be queried will be decided by the
Working with Other Canvas Types user’s at run time. How should you define the
1.Which are the types of Canvas? appropriate data source?
A.Stacked canvas A. Define a data block based on Ref Cursor.
B. toolbar canvas B. Define a data block based on a Table of Records.
C.tab canvas C. Define a data block based on a From Clause query.
D. content canvas D. Define a data block based on a combination of a
Answer : Above all Ref Cursor and a Table of Records.
statements.
Answer: A