O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Oracle 1z0-151

Mahbubul Alam 30 perguntas

Fazer o quiz

Este quiz tem tempo limite, por isso abre no player de sempre.

Perguntas do quiz (30)

  1. 1The Credit_Rating item in the Customers block of an Order Entry form must be restricted to three possible values: Good, Poor, or Null (the latter value indicates that the credit rating has not been determined). Order entry clerks must be able to update this item to any of the preceding three values.

    You want to change the item to a check box labeled "Credit Risk" that should be selected if the customer has poor credit, the check box should not be selected if the customer's credit rating is good or undetermined.
    Imagem da pergunta 1
    1. AChange the initial Value property to Good.
    2. BChange the Check Box Mapping of Other Values property to Not Allowed.
    3. CChange the initial Value property to Good and the Value When Unchecked property to Null
    4. DChange the initial Value property to Good and the Chock Box Mapping of Other Valued property to Null.
    5. EChange the initial Value property to Good and the Check Box Mapping of Other Values property to checked.
    6. FChange the item type. It is not appropriate to use a check box to enable entry and update of more than two values in an item
  2. 2When tabbing through items in the Employees form, users should not be able to navigate to the Salary text item. If they need to update the item, they will have to explicitly navigate to it by using the mouse.
    Which property setting accomplishes this requirement?
    1. AEnabled = Yes; Keyboard Navigable = No
    2. BEnabled = No; Keyboard Navigable = Yes
    3. CEnabled = Yes; Keyboard Navigable = Yes
    4. DEnabled = No; Keyboard Navigable = No
    5. EAutomatic Skip = Yes
  3. 3You have a text item in your form named Object1. You want to create Object2 as an exact duplicate of Object1. You want to be able to change the properties of Object2. However if you change Object1, you do not want Object2 to change.

    Which method of reusing Object1 would be best for these requirements
    1. ACopying Object1
    2. BSubclassing Object1
    3. CCreating a property class from Object1
    4. DPutting Object1 in an Object library
    5. EReferencing Object1 in a PL/SQL library
  4. 4The Orders form has four blocks. The Orders and Order_items block are on the CV_Order content canvas; the inventories block items are on the CV_inventories content canvas; and Control block buttons are on the CV_Buttons toolbar canvas. All buttons have mouse Navigate set to No.

    The Order_Items block is a detail of Orders. The inventories block is a detail of Order_Items, showing the stock of the selected product.

    There is a button in the Control block with a When-Button-Pressed trigger:

    IF GET_CANVAS_PROPERTY(:SYSTEM.cursor_item, item_canvas) = 'CV_ORDER' THEN

    GO_BLOCK ('inventories')

    ELSE

    GO_BLOCK('orders');

    END IF;

    When you run the form and click the button, navigation does not occur, and the form displays the runtime error “FRM-41053: Cannot find Canvas: invalid ID.” What should you do to correct this problem?
    1. AChange the sequence of blocks in the Object Navigator
    2. BChang the Mouse Navigator property of the button to yes
    3. Cin the first line of code, change the built-in to GET_ITEM_PROPERTY
    4. Din the first line of code, change the system variable to: SYSTEM.CURSOR_CANVAS.
    5. Ein the first line of code, change the CV_ORDER to lowercase
    6. FChang the argument to the GO_BLOCK built-ins to uppercase
  5. 5Which four types of variables must have their names preceded by a colon when they are referenced in trigger code?
    1. APL/SQL variables
    2. BForm items
    3. Cglobal variables
    4. Dsystem variables
    5. Eparameters
  6. 6The Order Entry application contains several forms. The inventories form uses an LOV that is based on a record group that queries the Warehouses table to return a warehouse ID.

    Several of the forms use LOVs that are based on the same query. You decide to centralize the creation of the record group to the entry form of the application, which opens all the other forms, for example, to open the inventories form, there is a When-Button Pressed trigger on the inventories button with the following code;

    OPEN _FORM ('inventories');

    in a When-New-Form-instance trigger for the entry form, you create the warehouse_rg record group by using the CREATE_GROUP_QUERY built in with the following arguments:

    ('warehouse_rg' , 'SELECT ALL WAREHOUSE.WAREHOUSE_ID, WAREHOUSE.WAREHOUSE_NAME FORM WAREHOUSE order by warehouse_name);

    You also populate the record group in this trigger.

    What must you do to make this record group available to the inventories form and the other forms?
    1. Ain the When-New-Form-instance trigger for the entry form, add a values for the SCOPE argument of CREATE_GROUP_QUERY.
    2. Bin the entry form, move the record group code to the end of the When-Button-Pressed triggers for the buttons that open other forms, so that the record group is created and populated immediately after OPEN_FORM is called.
    3. Cin the entry form, move the record group code to the beginning of the When-Button-Pressed triggers for the button that open other forms, so that the record group is created and populated just before OPEN_FORM is called.
    4. Din the When-Button_Pressed triggers of the entry from the buttons that open other forms, add a value for the SESSION argument of OPEN_FORM.
    5. Ein the other forms, refer to the record group as: global.warehouse_rg.
  7. 7Iin the Human Resources form shown in the Exhibit, you want to modify the prompts, heights, and widths of the Department Id, Manager Id, and Location Id Holds in the Departments data block.

    What must you select before invoking the Layout Wizard in reentrant mode to modify these item properties?
    Imagem da pergunta 7
    1. AFrame5
    2. BFrames
    3. CCanvas4
    4. Dthe Departments block
    5. Ethe DEPARTMENT_ID, MANAGER_ID and LOCATION_ID item
  8. 8You are implementing a JavaBean in a form, the bean has no visible component on the form when invoked, the bean displays an input text where users enter a zip code, the bean has a single method that returns a short weather forecast for that zip code as a character value.

    How can you retrieve that value so that you can display it to the user?
    1. AUse FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtain the value of SYSTEM.CUSTOM_ITEM_EVENT in a When-Custom item Event trigger, and then use that value as an argument to the MESSAGE built in.
    2. BUse FBEAN.REGISTER_BEAN as an argument to the MESSAGE built in to invoke the bean's method and return the value as a message displayed to the user.
    3. CUse FBEAN.REGISTER_BEAN to register the bean, so that when the user enters a zip code into the bean s input text, the value is automatically displayed in the bean area item.
    4. DUse FBEAN.ENABLE_EVENT to register a listener for the bean event. Obtain the value of SYSTEM.CUSTOM_EVENT_PARAMETER in a When_Custom-item-Event trigger, and then use that value as an argument to the MESSAGE built-in
  9. 9The Orders database table uses Order_id as its primary key. You have written the following code to use in the Orders block of a form:

    SELECT orders_seq.NEXTVAL

    INTO :orders.order_id

    FROM SYS.dual;

    Which statement is true about this code?
    1. AIf you place this Code in a trigger that fires when the record is inserted into the database, you will likely have more gaps in Order IDs than if you use the sequence as a default value for the item.
    2. BIf you place this code in a trigger, you should ensure that Order_Id has its required property set to Yes.
    3. CIf you place this code in a trigger, you should ensure that Order_Id has its Database Item property set to No.
    4. DIf the named sequence does not exist, it is automatically created the first time the code is called.
    5. EYou should place this code a in a database trigger to minimize the gaps in Order IDs.
    6. FYou should place this code in Pre-insert trigger to minimize the gaps in Order IDs.
    7. GYou should place this code in a Post_insert trigger to minimize the gaps in Order IDs.
  10. 10In Forms Builder, the iconic buttons on the form are blank, but when you click Run Form the form appears in the browser with Images in the iconic buttons.

    What are two things that you can check to track the source of this problem?
    1. Aforms Builder runtime preferences
    2. Bthe UI_ICON setting in the operating system
    3. Cthe iconpath setting in the Forms registry file
    4. Dthe UI_ICOM_EXTENSION setting in the operating system
    5. Ethe iconextension setting in the Forms registry file
    6. Fthe FORMS_PATH setting in the Forms environment file
    7. Gthe classpath setting in the operating system

Informações

Descrição
Oracle Fusion Middleware 11g: Build Applications with Oracle Forms Version: 5.
Idioma
English
Visualizações
476
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?