Forms mcq2
Forms mcq2
Forms mcq2
Ans:a
2. When the user navigates from one record to another record in a block,
which trigger can be fired among the given options?
a)WHEN-NEW-FORM-INSTANCE
b)WHEN-NEW-RECORD-INSTANCE
c)PRE-FORM
d)WHEN-NEW-BLOCK-INSTANCE
Ans:b
Ans:d
Ans:a
Ans:d
6.In oracle forms, Which of the following triggers is used to trap the
check box events when the selection is changed?
a)WHEN-CHECKBOX-CHANGED
b)WHEN-BUTTON-CHANGED
c)WHEN-CHECK-CHANGED
d)WHEN-CHECK-BOX-CHANGED
Ans:WHEN-CHECKBOX-CHANGED (a)
Ans:a
Ans:a
9.In oracle forms, Which of the following trigger is used to trap the
radio button events when the selection is changed?
a)WHEN-RADIO-CHANGED
b)WHEN-BUTTON-CHANGED
c)WHEN-RADIO-MOVED
d)WHEN-RADIO-BUTTON-CHANGED
Ans:a
Ans:d
11.In the Master-Detail form, when the user queries for the records in
the master block and starts moving through them,
Which of the following options can occur in the detail block? Choose the
most appropriate option.
a) The detail records can get displayed automatically after the master
record is displayed.
b) The detail records can be displayed only when the cursor is positioned
on the detail block.
c) The detail records can be displayed after the user queries for them in
the detail block.
d) all of the above
Ans:d
Ans:b
13.In Master detail block, Which of the following property specifies how
the deletion of the record when the master block should affect the detail
block.
a) Delete record behaviour
b) Remove record behaviour
c) Delete Row behaviour
d) Delete Record
Ans:a
a)Deferred: No
Automatic Query: Yes/No
a)Deferred: Yes
Automatic Query: Yes
a)Deferred: Yes
Automatic Query: No
a)Deferred: Yes/No
Automatic Query: Yes
Ans:a
15.Which of the following is the valid value for SWITCH MENU argument of
open_form builtin?
a)DO_REPLACE
b)REPLACE
c)DO_REMOVE
d)DO_SWITCH
Ans:a
Ans:a
17.If user wants to perform DML operations through a called form, in form
to form navigation. Which of the following value has to be assigned to
Query Mode property?
a)QUERY_ONLY
b)NO_QUERY_ONLY
c)QUERY_WRITE
d)None
Ans: b
Ans:a
Ans:d
Ans: b
Ans:a
22. Which of the following builtin is used to move from one block to
another block in oracle forms?
a)GO_BLOCK()
b)MOVE_BLOCK()
c)NAVIGATE_BLOCK()
d)None
Ans:a
Ans:b
24. Which one of these options can be used to raise an error in a form
module?
Choose most appropriate option.
Ans:RAISE FORM_TRIGGER_FAILURE
25. Laxman created Products form. When he runs the form he is able to
query the existing products and modify them. However he was not able to
add a new product
and getting an error as 'Cannot perform this operation'. What might be
the reason?
a) Update Allowed is set to 'yes' Query Allowed is set to 'yes' and insert
allowed is set to 'yes'.
b) Update Allowed is set to 'yes' Query Allowed is set to 'no' and insert
allowed is set to 'yes'.
c) Update Allowed is set to 'yes' Query Allowed is set to 'yes' and insert
allowed is set to 'no'.
d) Update Allowed is set to 'no' Query Allowed is set to 'yes' and insert
allowed is set to 'no'.
Ans:c
26. Which of the following form builder module will have .pll extension?
a)Program Library List
b) Primary Library List
c) PL/SQL Library Module Binary
d)Programming List Library
Ans:c
27. Which of the following module of oracle forms builder a menu can be
attached in the property palette?
a) Form Module
b) PL/SQL Library
c) Object Library
d)All
Ans:a
Ans:a
Ans:a
30. Which of the following builtin is used to change the visual attribute
property at runtime?
a) SET_ITEM_PROPERTY()
b)GET_ITEM_PROPERTY()
c)SET_PROPERTY_FORM()
d)SET_ITEM_ATTRIBUTE()
Ans:a
Ans:a
32. Which option should Lucy choose to display the current date in an item
named TransactionDate in the Transaction Module.
Choose most appropriate option.
a)SYSDATE
b)$$SYSDATE$$
c)$$date$$
d)$$currentdate$$
Ans:c
33. Ram has created a form in which data block is created using wizard,
which of the following builtin is used to perform insertion
operation?
a) FORM_COMMIT;
b)SAVE_COMMIT;
c)COMMIT_FORM;
d)LOG_FORM;
Ans:c
34. Which of the following builtin is used to retrieve the name of the
item that caused the ON-ERROR trigger to fire?
Ans:SYSTEM.TRIGGER_ITEM
35. What is the default value for the Menu Module Property for a form.
Choose the most appropriate option.
a)DEFAULT
b)SMARTBAR
c)DEFAULTSMARTBAR
d)DEFAULT&SMARTBAR
Ans:d
36. Which of the following is a system variable, which holds a value that
indicates whether the current record is the last record in a block?
a)SYSTEM.LAST_RECORD
b) SYSTEM.FINAL_RECORD
c)SYSTEM.RECORD_LAST
d)SYSTEM.LAST_ROW
Ans:a
37. In oracle forms, Which of the following builtin is used to display a
message?
a)MESSAGE()
b)RAISE_MESSAGE()
c)DISPLAY_MESSAGE()
d)None
Ans:a
38. Which of the following is not a correct match for component and
executable?
1)Form:.fmx
2)Menu:.mmx
3)PL/SQL Library:.plx
4)Object Library:.olx
a)1
b)2
c)3
d)4
Ans:d
Ans:a
41. To create a 'CUT' (Which cuts the selected text)menu option in menu
module. Which type of menu has to be selected?
a)Magic
b)Plained
c)Checked
d)All
Ans:a
42. Which of the following builtin is used to change the menu property at
run time?
Ans:SET_MENU_ITEM_PROPERTY
Ans:b
44. Which of the following is a system variable that holds the value of
the current record number?
Ans:SYSTEM.CURSOR_RECORD (SYSTEM.CURRENT_RECORD)
45. Which of the following is a valid menu item type in oracle forms?
a)Magic
b)Plain
c)check
d)all
Ans:d
Ans:d
47. Identify the first step that needs to be performed in order to attach
a custom menu module to a form module.
Choose the most appropriate option.
a) creates the executable of the menu module by compiling the same.
b) Attach the menu module to the appropriate form.
c) Create the executable of the menu module by executing the same.
d) None of the above.
Ans:a
48. Which of the following can be associated only to an item and not to a
module in Oracle forms?
a)Menu
b)Popup Menu
c)Both
d)None
49.State True/False
An alert can have maximum five buttons.
Ans:False
Ans:c
51. Which of the following library can store program units in oracle
forms?
a) PL SQL Library
b) Object Library
c) Object Navigator
d) Data Library
Ans:a
52. Ram wants to make TOTAL PRICE item to be non-editable in orders form
when the form applets loads. Select the appropriate trigger to achieve
the same.
a)when-new-record-instance
b)when-new-item-instance
c)when-validate-item
d)when-new-form-instance
Ans:d
53. Customer name is mandatory field in customer form, What are the
different ways to achieve this?
a) Go to property Palette of customer name and set required yes.
b) write a code in when-validate-item of customer name to check whether
customer name is null.If null,raise a form error.
options
a) Only A is correct option
b) only B is correct option
c) Either A or B is suffice
d) Both A and B or needed
Ans:c
55. The requirement is to ensure that the fields are loaded with data when
the form opens up.
which trigger can be used for this requirement?
a)when-validate-form
b)pre-form
c)pre-logon
d)post-form
Ans:b
56. Which of the following operations can be done with the 'when-button-
pressed' trigger?
a) Forms and Block Navigation
b) Saving the Form data
c) Invoking Calculations
d)All
Ans:d
57. Ramesh has created a form in which data block is created using wizard.
Which of the following builtin and trigger combination
should be used to load the data into the form, when the form loads?
Ans:When-new-form-instance,EXECUTE_QUERY
58. which of the following trigger can be used to perform datablock level
validation?
Ans:when-new-block-instance
59. which of the following options can be used to raise an error in a form
module?
a)raise_application_error
b)rise trigger_form
c) raise form_trigger_failure
d) pragma exception init
Ans:c
Ans:b
61) What are the different types of delete details we can have on master
detail forms?
Ans:Non-Isolate,Cascade,Isolate
62) What are the different default triggers created when Master Deletes
Property is set to Cascade?
a)Cascading On-Clear-Details
b)On-Populate-Details
c)Pre-delete
d)all
Ans:d
63) Which of the following contains the select statement associated with
LOV in oracle forms?
a) Record Group
b) Block Group
c) Object Group
d) PLSQL Library
Ans:a
65) The form builder launches a web browser and specifies the URL to run
the form. Inorder to run the form,there must be an
HTTP listener already started and goes by the name
.
a) Form Runtime Listener
b) OC4J HTTP Listener
c) Forms Listener
d) HTTP Listener
Ans:b
68) Amit has placed two text items and a push button on the canvas. Pick
the triggers that get executed when he presses the tab key.
a)Post-text-item
b)when-item-pressed
c)pre-text-item
d)key-next-item
Ans:a,c,d
69) The CUST_DEPT form has called the ORD_DET form for the user to enter
the order details for the customer. The CALL_FORM function has been used
to call
ORD_DET from CUST_DET. what is the feature of the CALL_FORM function?
Ans:When called form completes the operation, it releases lock and
control goes back to the calling form.
71) Under which situations does the following error occur: No master
Blocks are available.
Ans:If the foreign key is not defined at the block level.
72) Which of the following functions can be accomplished only with the use
of key triggers?
Ans:
1.Changing function keys default functionality
2.Disabling function keys
73) Which of the following module of oracle forms builder a menu can be
attached in the property palette?
a) Form Module
b) PL/SQL cursor
c) Object Library
d)All
Ans:a
74) Which of the following is used to retrieve the name of the item that
caused the ON-ERROR trigger to fire?
Ans:SYSTEM.TRIGGER_ITEM
75) In Master Detail Block, Which of the following value has to be set to
'DELETE RECORD BEHAVIOUR' so that a Master record can be deleted, but
the associated Detail Records are not affected?
a)NON-ISOLATED
b)Cascading
c)Isolated
d)All
Ans:d
Ans:BC(ans doubt)
77) which two statements are true of a Query Record Group?(choose two)
a)The record group is associated with a query.
b) The record group can be created only at run time.
c) The record group can be created and modified only at design time.
d) The record group can be created and modified at design time or at run
time.
Ans:AD
Ans:ABF
Ans:BC
80) An application uses a menu that contains a check type menu item. You
want to programmatically toogle 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
Ans: FG
81) How can you programmatically determine which button a user pressed to
respond to an alert?
a) Use the GET_ALERT_PROPERTY function.
b) Use the GET_ALERT_BUTTON_PROPERTY function.
c) Check the value returned by the SHOW_ALERT function to see if it is 1,2
or 3.
d) Check the value returned by the SHOW_ALERT function to see if it is
ALERT_BUTTON1,ALERT_BUTTON2 and ALERT_BUTTON3.
Ans:d
82) Which of the following are the types parameters passed from calling
form?(choose three)
a)GLOBAL
b)SYSTEM
c)PARAMETER
d)LOCAL
Ans:abc
83) Which of the following built in is used to add elements in list item
at run time?
a)ADD_LIST_ELEMENT()
b)ADD_ELEMENT()
c)ADD_LIST_ELEMENTS()
d)ADD_ELEMENTS()
Ans:a
84) Which of the following contains select statement associated with LOV
in oracle forms?
a) RECORD GROUP
b) BLOCK GROUP
c) OBJECT GROUP
d) PLSQL LIBRARY
Ans:a
85) Which of the following item type has to be chosen for displaying more
than 4 options for a single field?
a) TEXT ITEM
b) RADIO BUTTON
c) LIST ITEM
d)ALL
Ans:c
Ans:d
88) In forms development, Which GUI item needs to be considered for the
fields like GENDER?
a) RADIO BUTTON
b) CHECK BOX
c) TEXT ITEM
d) DISPLAY ITEM
Ans:a
Ans:d
90) Which of the following database can oracle forms connect to?
a)Oracle Database
b) Oracle NoSQL database
c)DB2
d)None
Ans:a
Ans:d
94) Which of the following are the various ways to print a message in
oracle forms?
a)MESSAGE()
b)DISPLAY()
c)PRINT()
d)None
Ans:a
95) Which of the following library can contain objects such as Data
Blocks, Items, Canvases, windows etc.
a) PLSQL library
b) Object Library
c) Object Navigator
d) Data Library
Ans:b
96) Lucifier Created a Login form. When user login, he should get a
BOOKING form where he can book tickets for a movie.
He wrote the following codein When-button-pressed of Login Button.
BEGIN
CALL_FORM('FORM',NO_HIDE,NO_REPLACE,QUERY_ONLY);
END;
Whenever he has logged in and tried booking details for Avengers. However
when he is typing something in booking
form, he is getting an error "Form is running in query only mode" what is
the reason for this?
97) You wish to have certain values initialized in a form when the form is
first opened. Which trigger
will you use? Choose an appropriate option.
a)WHEN-NEW-FORM
b)PRE-FORM
c)PRE-LOGON
d)WHEN-NEW-FORM-INSTANCE
Ans:b
98) Which built in combination we use to create a parameter list and check
the parameter list created successfully?
a) CREATE_PARAMETER_LIST
b)ID_NULL
c)CREATE_QUERY_PARAMETER_LIST
d)ID-NULL
Ans:AB
Ans:ABD
Ans:C
Ans:a
103) Which are the valid statements about key triggers?(Choose three)
a)Key triggers change the default behaviour of the function key.
b))Key-trigger fires when the key combination of corresponding function..
c)A function key can be disabled by acting NULL trigger.
d)Key-triggers cannot change the default behaviour of the function key.
Ans:abc
Ans:ab
105) Which builtin should be used to invoke one form from another form
so that you can navigate between the two forms?
a)CALL_FORM
b)OPEN_FORM
c)NEW_FORM
d)RUN_FORM
Ans:b
Ans: b
107) which of the following property can be set using visual Attribute of
oracle forms?
a)Foreground color
b)Background color
c)Font Name
d)All
Ans:d
Ans:b
110) Which of the following is the argument value that allows you to only
read the data from base tables?
Ans:QUERY_ONLY
111) which builtin is used to destroy parameter list from the memory?
Ans:DESTROY_PARAMETER_LIST
Ans:d
114) You wish to implement the logic for changing a text item as non-
editable in a form when the form is loaded into the browser.
In which trigger we can implement the logic.
Ans:when-new-form-instance
115) The customer is filling up the ORDER_ENTRY form. Various triggers are
written for the ITEM_DETAILS text field.
What will be the sequence of firing these triggers for the text item?
Ans:pre-text-item,when-new-item-instance,key-next-item,when-validate-
item,post-text-item
116) What is the physical and logical limit of toolbar canvases in a form?
a)No limit,10-15
b) No limit,1-5
c) No limit,10
d) Zero limit,10-15
Ans:c
118) Which builtin will copies the value into the object by name you
specify?
a)COPY
b)COPY_CASE
c)CP_PLAN
d)COPY_IN
Ans:a
119) You wish to implement a list item initially with few values for a
column in a data block and then allow the users to enter the values
in the column at runtime, which list items type will allow you to achieve
this behaviour?
a) A poplist
b) A TList
c) A combo box
d)None
Ans:c
120) which of the following functions can be accomplished only with the
use of key triggers?
a)Navigating between blocks
b)Disabling functions keys
c)Validating data
d)Modifying data before it is committed
e)Changing function key's default functionality
Ans:be
121) which of the following system variable returns the record position
status?
Ans:CURSOR_RECORD
125) which of the following canvas type can include multiple tab pages in
oracle forms?
Ans:All(Content,Stacked,Tabbed)
126) which of the following collection type can be declared and used in
oracle forms?
Ans:Collections cannot be used in Oracle forms Pl/sql