Pass4itsure > IBM > IBM Certified Application Developer > C2040-951 > C2040-951 Online Practice Questions and Answers

C2040-951 Online Practice Questions and Answers

Questions 4

Darren is working with the Outline view on a new XPage. He drags a button control so that it is above an edit box control. What effect does this have on the XPage in the Design editor?

A. The button control will move above and to the left of edit box control.

B. There will be no effect until Darren saves the Xpage, then the button control will move above and to the left of edit box control.

C. There will be no effect until Darren clicks the Synchronize Navigator with Editor tab in the application navigator, then the button control willmove above and to the left of edit box control.

D. There will be no effect until Darren clicks the Synchronize Navigator with Editor tab in the Outline view, then the button control will moveabove and to the left of edit box control.

Buy Now
Questions 5

Devin has been developing an application that includes an XPage. When he opened the application in Designer this morning, he noticed a small "x" icon by the XPages listing in the Applications view. He had closed several of the Eclipse views yesterday, and does not see any errors displayed in the remaining views. How can Devin locate the problems in the source code?

A. Right-click the "x" icon from the Applications view and select Go To Error. The Problems view displays with the cursor at the first error.

B. Display the Problems view by selecting Window > Show Eclipse Views > Problems. Right-click a displayed error and select Go To. The Source view opens to the line with the error.

C. Click to expand the XPages listing. A small "x" icon displays by the XPage with the errors. Double-click the name of the XPage and the Sourceview opens to the line with the error.

D. Click to expand the XPages listing. A small "x" icon displays by the XPage with the errors. Double-click the name of the XPage. The Sourcetab opens with the cursor at the first error line.

Buy Now
Questions 6

Jessica would like to use the sessionScope object to share the value of the "Name" Edit Box for the duration of the user's XPage session. Which of the following can she use to set her "myName" sessionScope variable with the value of the Edit Box?

A. var name = getComponent("Name").getValue(); sessionScope.set("myName", name);

B. var name = getComponent("Name").getValue(); sessionScope.put("myName", name);

C. var name = getComponent("Name").getValue(); sessionScope.set(name, "myName");

D. var name = getComponent("Name").getValue(); sessionScope.put(name, "myName");

Buy Now
Questions 7

Emma is writing code to validate the input of various fields on her Courses Xpage. In her JavaScript code, she needs to access the actual field object to examine it for content. What function should she use to get the field?

A. getElement

B. bindElement

C. getComponent

D. bindComponent

Buy Now
Questions 8

Russell has added a button to the XPage he is developing to save the contents as a Lotus Notes document. What steps can Russell take to configure the button to accomplish this?

A. In the button's Events view, select the Server tab, click the "AddAction..." button, select the Save Document action, and click OK

B. In the button's Events view, select the Client tab, click the "AddAction..." button, select the Save Document action, and click OK

C. In the button's Properties view, select the Server tab, click the"Add Action..." button, select the Save Document action, and click OK

D. In the button's Properties view, select the Client tab, click the"Add Action..." button, select the Save Document action, and click OK

Buy Now
Questions 9

Christopher's Environment Monitoring XPage dashboard allows the user to enter the current time, temperature, and humidity. The Update core control button needs to update two different Domino databases with this data when clicked. What simple action can Christopher use to accomplish this task?

A. Set Value

B. Modify Field

C. Save Document

D. Save Data Sources

Buy Now
Questions 10

Abigail has added a computed field control to her Person XPage. For that field, she chose to use JavaScript? For binding data to that field How will she add code to that control to get the data to display?

A. Right-click the Computed Field control and select Open Script Editor.

B. Click the Computed Field control and enter the code into the correct Events tab area.

C. Right-click the Computed Field control and select the Source option for the control.

D. Click the Computed Field control and then click the Open Script Dialog button on the Properties > Value tab.

Buy Now
Questions 11

Michael has created an XPage that will be used to create Lotus Notes documents. In the button he wants to use to create the document, he also wants to redirect the user to another XPage. Which two Simple Actions can Michael use to do this?

A. Save Document and Open Page

B. Create Document and Open Page

C. Save Document and Redirect to XPage

D. Create Document and Redirect to XPage

Buy Now
Questions 12

Manesh is developing the ActivityPlanner XPage. He now needs to add check boxes that allow a user to select one or more of the activities of Monthly Volunteering, New Hire Orientation, and Quality Circle.

How can Manesh create the needed check boxes?

A. Drag a check box control onto the XPage canvas. In the Options area of the Properties tab, enter the following values on separate lines: Monthly Volunteering New Hire Orientation Quality Circle

B. Create a check box group control on the XPage canvas. In the Options area of the Properties tab, enter the following values on separatelines: Monthly Volunteering New Hire Orientation Quality Circle

C. From the controls palette, drag "Check Box" onto the XPage canvas. Open the Source tab, and within the xp:checkBox tag, enter these lines:

D. From the controls palette, drag "Other" onto the XPage and select Other Controls > Checkbox group. Open the Source tab, and within the xp:checkBoxGroup tag, enter these lines:

Buy Now
Questions 13

Hye needs to create an XPage to allow users to browse a view of Inventory documents. She needs to allow a user to select one or more documents and click a button to delete the selected documents.

How can Hye accomplish this task?

A. Create a viewPanel and set the Selectable option on the first column. Add a button to the XPage and specify the Delete simple action for the onclick event.

B. Drag an EditTable control onto the XPage. Specify the view for the Source property and set the Selectable property. In the Submit section,select Delete for the action.

C. Create a viewPanel and include a column with the Check box property enabled. Add a button to the XPageand specify the Delete SelectedDocuments simple action for the onclick event.

D. Drag an EditTable control onto the XPage. Specify the view for the Data property and select Left margin and Check box. In theActionarea,select Submit for the Type, and select Delete Selected for the argument.

Buy Now
Exam Code: C2040-951
Exam Name: IBM Lotus Notes Domino 8.5 Application Development Update
Last Update: Dec 29, 2024
Questions: 94
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99