C2040-951 Exam Details

  • Exam Code
    :C2040-951
  • Exam Name
    :IBM Lotus Notes Domino 8.5 Application Development Update
  • Certification
    :IBM Certifications
  • Vendor
    :IBM
  • Total Questions
    :94 Q&As
  • Last Updated
    :Jul 11, 2026

IBM C2040-951 Online Questions & Answers

  • Question 71:

    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

  • Question 72:

    Steve wants to add a style sheet to his Web application. What does he need to do to accomplish this?

    A. Build the style sheet with one of the numerous available CSS editors, and import it into an XPage.
    B. From the Application Navigator in Lotus Domino Designer, expand Resources and double-click Style-Sheets. From the buttons, select "New Style-Sheet" and build it by using the built-in CSS editor.
    C. He cannot; Web applications in Lotus Domino cannot use style sheets.
    D. From the application navigator in Lotus Domino Designer, double-click Pages. Click the "New Page" button, and build your style sheet as apage. Then open your XPage and import the page with the style sheet.

  • Question 73:

    What is the difference between the global objects header and headerValues?

    A. Both represent the same object.
    B. headerValues is not a global object.
    C. header contains a RequestHeaderMap, which returns the first value of each header only, whereas headerValues provides all values of eachheader in an array.
    D. header contains the header values of the servlet request, whereas headerValues is an object, containing all the properties of the actualXPage in an string array.

  • Question 74:

    Mike wants to add a delete button to his XPage so that the owner of the document can delete the document. In the following code, Mike wants to prompt the user to verify that the user wants to delete this document.

    What attribute and value can he use to complete the code?

    xp:this.action>

    A. alert="Are you sure you want to delete current document?"
    B. prompt="Are you sure you want to delete current document?"
    C. msgbox="Are you sure you want to delete current document?"
    D. message="Are you sure you want to delete current document?"

  • Question 75:

    Zachary is creating a new theme for his XPage. How is the theme file formatted in the Resources area of the application?

    A. XML
    B. CSS
    C. HTML
    D. JavaScript

  • Question 76:

    Caleb added a view control to his Contacts XPage. What type of control is the view control?

    A. Core control
    B. Theme control
    C. Custom control
    D. Container control

  • Question 77:

    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.

  • Question 78:

    Ivy is working on an XPage that displays one of 20 different pictures depending on the values of key fields. How should she accomplish this task?

    A. Drag the image control onto the XPage, select the first image and set a visibility formula to control when it displays. Repeat for each image.
    B. Drag the image control onto the XPage, select the first image and set a Hide When formula to control when it displays. Repeat for eachimage.
    C. Drag the image control onto the XPage and select an image placeholder, then set the Image Source to be Computed and define it based onthe appropriate formula.
    D. Drag the image control onto the XPage and select an image placeholder, then add each image to the Images[...] property and assign eachimage a visibility formula.

  • Question 79:

    Oleg would like to add a banner at the top of his XPage to display a graphic and the name of the application. How can he do this task?

    A. Drag a Header control from the core controls to the top of the XPage canvas. Select the image from the Image option,and select ApplicationTitle for the Text option.
    B. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the headerImageproperty. For the headerLabel property, select Application Title
    C. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the pageIconproperty. For the pageTitle property, specify that it is a Computed value and enter @DbTitle();
    D. Drag a Panel control from the controls palette to the top of the XPage canvas. Drag an Image control onto the panel and select the image toinclude. Drag a Label control onto the panel. From the Properties view for the Label, open All Properties, select data > value. Set the Valueto Compute value, and enter @DbTitle();

  • Question 80:

    Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage. What global object should she use to access the parameters that she's interested in?

    A. param
    B. header
    C. cookie
    D. requestScope

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-951 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.