IBM C2040-410 - IBM Notes and Domino 9.0 Social Edition Application Development Exam

Page:    1 / 24   
Total 116 questions

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

Helen is using a Repeat control to add a row to a table for each view entry in a Domino
View data source. When she tests her code she sees 10 tables and not one table with 10 rows. How could she correct this?

  • A. In the Output section select the "Create as a Table" option and individually add the fields to be displayed.
  • B. Use the ignoreTableHeader property of the repeat control to suppress the creation of multiple tables.
  • C. Change the number of rows to be displayed from 100 to 10 and that will create only one table with 10 rows.
  • D. Take the Table Header row and Footer row lines of source code and move them outside of the repeat control.


Answer : D

The "Run server-based XPages applications directly on Domino server" property setting is selected for an xPage application. When launched by an IBM Notes client user, what will happen?

  • A. The application will run using the local Notes web container.
  • B. The application will run on the IBM Domino server over HTTP.
  • C. The application is requested to run on the remote Domino server using DIIOP.
  • D. The application will run in local Notes XPD web container and fetch design elements from Domino server.


Answer : B

Jenna is working on an XPage with multiple data sources which are document1, document2, view2, and view1. The XPage needs a new custom control that needs access to data source document2 from the XPage. After opening the custom control in IBM
Domino Designer, how should Jenna pass the data source object handle "document2" from the XPage to the custom control?

  • A. In the Resources tab section in the Properties tab, choose "Create a Data source" and select the form that document2 is using in the XPage.
  • B. On the Property Definition tab, create a new property definition and for the Type, select "string". In the XPage, select the custom control, thengo to the Custom Properties section and type in "document2.View;".
  • C. On the Property Definition tab, create a new property definition and for the Type, select "dataInterface" from the complex types. In the XPage,select the custom control, then go to the Custom Properties section, click the Computed Property Icon and type in "return document2;".
  • D. On the Property Definition tab, create a new property definition and for the Type, select "Domino Document" from the complex types. In theXPage, select the custom control, then go to the Custom Properties section, click the the Computed Property Icon and type in"getComponent(document2').getValue();".


Answer : C

Which server notes.ini property will set the maximum Java Heap size used by the HTTP process?

  • A. JavaMaxHeapSize
  • B. Runtime.maxMemory()
  • C. HTTPJVMMaxHeapSize
  • D. JVM command option -Xms


Answer : C

Page:    1 / 24   
Total 116 questions