Writing Flexible Code |
01. An application uses a menu that contains a Check type menu item. You want to programmatically toggle the checked/unchecked state of the Check item.
Which two built-ins can you use to accomplish this? (Choose two)
A. FIND_ITEM
B. REPLACE_MENU
C. FIND_MENU_ITEM
D. GET_ITEM_PROPERTY
E. SET_ITEM_PROPERTY
F. SET_MENU_ITEM_PROPERTY
G. GET_MENU_ITEM_PROPERTY
Answer: F,G
02. The Products.fmb module has one content canvas, which displays information about products sold by your company. You want to increase the canvas display area by creating an overlay canvas to enable images of selected products to be displayed on request. How can you size the display area of the overlay canvas?
A. Define the display area for a stacked canvas by using the built-in procedure SET_CANVAS_PROPERTY.
B. Define the display area for a stacked canvas by using the built-in procedure SET_WINDOW_PROPERTY.
C. Define the display area for a content canvas by using the built-in procedure SET_CANVAS_PROPERTY.
D. Define the display area for a content canvas by using the built-in procedure SET_VIEW_PROPERTY.
E. Define the display area for a stacked canvas by using the built-in procedure SET_VIEW_PROPERTY.
Answer: E
03. What are two ways that you can assign a value to an item on a form from within the code of a menu item? (Choose two)
A. Use the COPY built-in.
B. Use the NAME_IN built-in.
C. Use the FIND_ITEM built-in.
D. Use the SET_ITEM_PROPERTY built-in.
E. Use the EXECUTE_TRIGGER built-in call code in the form that assigns the value.
Answer: A,E
04. Which statement about object libraries is true?
A. Object libraries are saved as part of the Forms module.
B. You cannot place an individual item into an object library.
C. When you open Forms Builder, all object libraries in the current working directory are opened.
D. Using object libraries can increase network performance by promoting object similarities.
Answer: D
05. You are building a new application using generic code where possible, accessing Forms variable names at runtime. Which two built-ins can you use to access the Form variables? (Choose two)
A. COPY
B. NAME_IN
C. DISPLAY_ITEM
D. GET_FORM_PROPERTY
E. GET_PARAMETER_LIST
F. GET_APPLICATION_PROPERTY
Answer: A, B
06. You are building a payroll application and are planning to use as many generic programming units as possible. Which built-in can you use across the application to obtain the name of the current form for navigation purposes?
A. GET_APPLICATION_PROPERTY
B. GET_FORM_PROPERTY
C. GET_BLOCK_PROPERTY
D. GET_ITEM_PROPERTY
Answer: A
07. You have written some generic PL/SQL code which loops through the invoked form, getting and setting the global variables in the form. Which two built-ins would you use in this code to get and set these variables and their values? (Choose two)
A. COPY
B. NAME_IN
C. GET_ITEM_PROPERTY
D. GET_BLOCK_PROPERTY
E. GET_PARAMETER_LIST
F. GET_APPLICATION_PROPERTY
Answer: A,B
08. Which built-in subprogram can be used to return the contents of a variable as an indirect reference?
A. NAME_IN
B. FIND_ITEM
C. GET_ITEM_PROPERTY
D. SET_ITEM_PROPERTY
Answer: A
09. You need to determine the current visible record in the top of a block. Which built-in subprogram can you use?
A. GET_RELATION_PROPERTY
B. GET_RECORD_PROPERTY
C. GET_ITEM_PROPERTY
D. GET_BLOCK_PROPERTY
Answer: D
0 Comments