Skip to main content

C2040-410 Real Exam Questions

IBM Notes and Domino 9.0 Social Edition Application Development B

116 questions available · Page 1 of 12

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Charles wants to be able to add a collapsible area to his XPage.

Which control would allow him to do that?

  1. A

    Panel

  2. B

    Repeat

  3. C

    Section

  4. D

    Tabbed Panel

Show answer and explanation

Correct answer: C

Question 2 Single choice

How many of the JavaServer Faces (JSF) lifecycle phases involve the processing of events?

  1. A

    1

  2. B

    2

  3. C

    4

  4. D

    6

Show answer and explanation

Correct answer: C

Question 3 Single choice

Which control, used to dynamically switch content, includes a useHash property to support switching content via a URL hash tag?

  1. A

    Switch

  2. B

    Dynamic Content

  3. C

    Multi-image Output

  4. D

    Dynamic View Panel

Show answer and explanation

Correct answer: B

Question 4 Single choice

Ava is working on an XPage with multiple data sources which are document1, document2, view1, and view2. The XPage needs a new custom control that needs access to data source view1 from the XPage.

Which is the correct way to pass the data source object handle "view1" from the XPage to the custom control?

  1. A

    Click the Computed Property icon and type in ?Click the Computed Property icon and type in return view1;?

  2. B

    Click the Computed Property icon and type in eturn currentView;?eturn currentView;?

  3. C

    Click the Computed Property icon and type in ?Click the Computed Property icon and type in getComponent('view1').getValue();?

  4. D

    In the Resources tab section in Properties tab, create a Data source and select the form that view1 is using in the XPage.

Show answer and explanation

Correct answer: A

Question 5 Single choice

What is one effect triggered by @Command([ToolsRefreshAllDocs])?

  1. A

    The events on the form used by each document are triggered.

  2. B

    The last modifier of each document is updated to the signer of the form used by each document.

  3. C

    Data items that do not have corresponding fields on the form used by each document are removed.

  4. D

    The results of the computed fields on the form used by each document are recalculated and reapplied.

Show answer and explanation

Correct answer: D

Question 6 Single choice

Michael has designed a mobile application with two mobile pages. For the first mobile page he set the pageName property to "page1" and for the second mobile page he set the pageName property to "page2".

What server-side simple action can Michael add on the second page to navigate the mobile application user to the first page when touched?

  1. A

    Open Page

  2. B

    Open Mobile Page

  3. C

    Move To Mobile Page

  4. D

    Move To Application Page

Show answer and explanation

Correct answer: D

Question 7 Single choice

Nathan wishes to create the ability to refresh a specific area of his XPage.
Starting with "Select the onclick event of the button", which steps would Nathan then take to select the panel to refresh?

  1. A

    Select the Full Update option.

  2. B

    Select Partial Update and click on the Select Element Button.

  3. C

    Click the Add Action button and select the Modify Field action.

  4. D

    Click the Add Action button and select the Execute Script action.

Show answer and explanation

Correct answer: B

Question 8 Single choice

Steven is using Java to write an agent in his application and needs to get a handle to the database that the agent is running in.

How can Steven accomplish this?

  1. A

    Use the getCurrentDatabase method of the Session class.

  2. B

    Use the currentDatabase property of the Session class.

  3. C

    Use the Session class getDatabase method, and then make a call to the getCurrentDatabase method of the Database class.

  4. D

    Use the Session class getAgentContext method, and then make a call to the getCurrentDatabase method of the AgentContext class.

Show answer and explanation

Correct answer: D

Question 9 Single choice

Which statement is true about the Application Layout control?

  1. A

    The Application Layout control provides a consistent interface when added directly to each XPage in an application.

  2. B

    To render properly, the Application Layout control must implement one of the oneuiv2.1 themes or a theme that extends a oneuiv2.1 theme.

  3. C

    The Application Layout control includes a total of three facet areas for adding content (left, center and right columns) and three bar areas foricons, titles, links and drop down menus.

  4. D

    When the Application Layout control is enabled for an application each XPage will include a left, center and right column area with the samedimensions to provide a consistent user interface across the application.

Show answer and explanation

Correct answer: B

Question 10 Multiple choice

What two items are true regarding managed beans? (Choose two.)

  1. A

    Managed beans are a JSF framework feature.

  2. B

    Managed beans are accessible by IBM LotusScript.

  3. C

    Managed beans are a feature based on XPages and not JSF

  4. D

    Managed beans are accessible within Server Side JavaScript code

  5. E

    Managed beans are a Java technology and are not accessible within server-side JavaScript code.

Show answer and explanation

Correct answers: A, D