Exam Code: C2040-410 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: IBM Notes and Domino 9.0 Social Edition Application Development Exam B
Certification Provider: IBM
Free Today! Guaranteed Training- Pass C2040-410 Exam.

2021 May C2040-410 Study Guide Questions:

Q41. Which statement is true regarding the Extension Library Tooltip control? 

A. A developer is not allowed to place other data components in between the <xe:tooltip> start and end tags. 

B. To use the beforeContentLoad and afterContentLoad properties, a developer must set dynamicContent to true. 

C. When the position property is set to auto, the tooltip calculates where it should display in relation to the element on the page. 

D. To use the beforeContentLoad and afterContentLoad properties, a developer does need to set dynamicContent to false. 

Answer: B 


Q42. Charles is using IBM LotusScript to read a text file. He would like to read the first 23 characters in the file and replace them with a different string value. The following code snippet has a statement missing after the last line. What statement will Charles append to the snippet to complete the code? 

A. Write #eof 

B. Close fileNum% 

C. Close #fileNum% 

D. Close fileNum% for Output 

Answer: B 


Q43. James is using the simple action "Send mail message" in a button. Which statement describes a limitation when using this simple action? 

A. The Body field accepts only plain text. 

B. The Body field accepts only text and graphics. 

C. The Body field accepts only text and attachments. 

D. The Body field accepts both plain and styled text, but not graphics. 

Answer: A 


certifyforall.com

Regenerate C2040-410 exam cram:

Q44. If the facet is named, which is true? 

A. The control added is determined at run time. 

B. Controls cannot be added to the editable area. 

C. Multiple controls can be added to the editable area. 

D. Only one control can be added to the editable area. 

Answer: D 


Q45. Linda has an existing IBM LotusScript agent she would like to invoke from an XPage. Assuming the agent name is FRED, what should Linda add to her XPage to call the agent? 

A. ag = database.getAgent("FRED");ag.RunOnServer(NoteID) 

B. var agent=database.getAgent("FRED");agent.run(currentDocument.getDocument()); 

C. ag = database.getAgent("FRED");noteid = FREDSampleDoc.getDocument().getNoteID();ag.run(noteid) 

D. ag = database.getAgent("Fred");noteid = FREDSampleDoc.getDocument().getNoteID();ag.xpRun(NoteID) 

Answer: C 


Q46. Sam would like to use Formula Language to extract the word "cat" from the sentence: "The black cat walked under the ladder". She has assigned the sentence to the variable "MySentence". Which line of code could she use to do that? 

A. @Middle(MySentence; "cat"; 3) 

B. @MiddleBack(MySentence; 25; -3) 

C. @Left(@RightBack(MySentence; 3); 25) 

D. @LeftBack(@Right(MySentence; "cat"); 3) 

Answer: B 


C2040-410  test preparation

Simulation C2040-410 torrent:

Q47. When he saved this mobile XPage John received a compile-time error indicating a required property for the <xe:singlePageApp> control is not present. 

What property and value must John add to the <xe:singlePageApp> start tag to correct this error? 

A. startAppPage="appPage1" 

B. startAppPage="startPage" 

C. selectedPageName="appPage1" 

D. selectedPageName="startPage" 

Answer: D 


Q48. Sarah wants a partial refresh to occur within her XPages application when a user clicks a button. Which is the correct attribute for the button <xp:eventHandler> to ensure a partial refresh? 

A. submit="partial" 

B. refresh="partial" 

C. refreshMode="partial" 

D. submit="partialRefresh" 

Answer: C 


Q49. Julia wants to display the contents from a column in an IBM Domino view on a mobile page. Which control should Julia add to her mobile XPage to be the container for the Domino view? 

A. View 

B. Data View 

C. Mobile View 

D. Dynamic View 

Answer: B 


Q50. Marco has designed a mobile application with two mobile pages. For the first mobile page he set the pageName property to "viewMobilePage" and for the second mobile page he set the pageName property to "documentMobilePage". He designed the viewMobilePage to display a listing of customer names from the CustomersByName view. He designed the documentMobilePage to display the document details for the customer touched on the viewMobilePage. He specified "customerDoc" as the name for the Domino Document data source and the field with the customer phone number is named "phone". What can Marco do to add a touch control to dial the phone number for the customer currently displayed on the documentMobilePage? 

A. For the Edit Box control bound to the phone field add the property and value of type="tel". 

B. Nothing. Access to the phone dialer of the mobile device is not supported for mobile applications developed using the Mobile controls in Domino Designer. 

C. Add a Tool Bar Button control and compute its href property using this server-side JavaScript: 

return "tel:" + customerDoc.getItemValueString("phone"); 

D. Add a Rounded List Item control and compute its phone property using this server-side 

JavaScript: 

return customerDoc.getItemValueString("phone"); 

Answer: C