Vcehome > IBM > IBM Certified Application Developer > C2040-985 > C2040-985 Online Practice Questions and Answers

C2040-985 Online Practice Questions and Answers

Questions 4

Therese wants to write some LotusScript code that steps through every document in a view and displays the "Title" field. She currently has the following code written:

Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Dim doc As NotesDocument Set db = session.CurrentDatabase Set view = db.GetView( "By Category") Set doc = view.GetFirstDocument Do Until (doc Is Nothing) Print doc.Title(0) '** MISSING CODE ** Loop

What does she need to add on the ** MISSING CODE ** line to make the code work properly?

A. Set doc = view.GetNextDocument()

B. Set doc = view.GetNextDocument(doc)

C. Nothing. The code will work properly as-is.

D. Call view.GetNextDocument()

Browse 121 Q&As
Questions 5

Erin has created a categorized view in her Human Resources database that supports unread marks. When users access the view and try to expand some categories, no documents appear even though the users see unread marks beside the category.

Which one of the following could be the problem?

A. The documents include Reader names fields.

B. The database needs to be replicated.

C. The missing documents in the category have been soft deleted from the database.

D. The view has an old index and must be reindexed.

Browse 121 Q&As
Questions 6

Bram needs to change a large number of documents in an existing application and add the three fields from the Document NewDoc to each existing document. He has created a document collection of the

documents to be changed. How can he best achieve this?

A. Call Collection.Stampall (NewDoc)

B. Call Collection.Stampall ("location" : "HomeID" : "HelpNr" ; "NY" : "123" : "80012345678" )

C. Call Collection.StampallMulti ("location" : "HomeID" : "HelpNr" ; "NY" : "123" : "80012345678" )

D. Call Collection.StampAll Multi(NewDoc)

Browse 121 Q&As
Questions 7

Marcello wants to create a custom startup page for his customer database, using different buttons and values from profile and normal documents.

How can he achieve this?

A. Create an outline with calculated entries, and display this directly through a frameset.

B. Create a page with calculated text and actions, and display this using a frameset. Create a frameset, and display that page with dynamic text.

C. Create a view with custom actions that calculate what actions the user might want to take.

D. Create a form and use action buttons, only calculated for display fields and computed text to display all available options to this specific user. Set the database properties to start with a doclink in the about database document to any document created with this form.

Browse 121 Q&As
Questions 8

When Eduardo tried to save a document, he got the following error message: Incorrect data type for operator or @Function: Text Expected.

Which one of the following did he most likely do to cause this to happen?

A. He neglected to place a formula in a translation event.

B. He entered text in a number field.

C. He combined a text field and a time field in a formula.

D. He neglected to place a formula in a validation event.

Browse 121 Q&As
Questions 9

Kelly supports the Inventory application. This application is accessed by staff in India, the UK, Brazil, and the USA. For reasons of performance and contingency planning, the office in each country has its own server. Kelly needs the Inventory application to reside on each of these servers, and she needs to ensure that the application data and design is kept in sync among all of these locations.

How can Kelly meet this requirement?

A. Select the Inventory application. For each server, create a replica of the application by selecting File > Replication > new replica, and specify the target Server.

B. Select the Inventory application. For each server, create a copy of the application by selecting File > Application > New Cope. Specify the target Server, and select the Synchronize option.

C. Select the Inventory application. For each server, create a mirror of the application by selecting File > Application > New Mirror, and specify the target Server.

D. Select the Inventory application. For each server, create a synchronized copy of the application by selecting File > Synchronization > New Copy.

Browse 121 Q&As
Questions 10

Janira is adding a Received date to her Video Rental form. She would like to have the date field show the user a calendar for date selection.

How would she accomplish this?

A. Set the field Type to Calendar

B. Set the field Style to Notes Calendar control

C. Set the field Style to Calendar/Time control

D. Set the field Type to Calendar/Time

Browse 121 Q&As
Questions 11

Donna created a full-text index for the PerformanceReview database, and she was careful to select the "Index encrypted fields" option. But the HR managers, who all have the secret key that they use to encrypt the data, have reported that their search results are not yielding the expected results.

What is one possible reason for this?

A. The "Index encrypted fields" setting applies only to documents added after the full-text index is created or to documents edited and saved after the index is created.

B. The full-text index was created with an id that did not include an encryption key capable of decrypting fields before indexing.

C. Encrypted fields can be indexed only from a database replica residing on the administration server as specified on the Advanced tab of the database ACL. Donna had indexed the database on the application server.

D. The "Index encrypted fields" setting enables the indexing. The next step before creating the index is to designate the specific encrypted fields that are to be indexed.

Browse 121 Q&As
Questions 12

Janira is adding a Received date to her Video Rental form. She would like to have the date field show the user a calendar for date selection.

How would she accomplish this?

A. Set the field Type to Calendar

B. Set the field Style to Noted Calendar control

C. Set the field Type to Calendar/Time

D. Set the filed Style to Calendar/Time control

Browse 121 Q&As
Questions 13

Dierdre is periodically asked to update the Readers field in documents created with the SalesOrder form. If a person's name changes, they are no longer able to access documents they'd been able to access in the past. Dierdre would like the Readers fields to be automatically updated when someone's name has been changed in the Domino directory.

How can she do this?

A. Open the Security tab of the Database properties. In the selection list for Administration Actions, choose "Update all Readers and Authors fields".

B. Open the Advanced tab of the Database ACL. In the selection list for Actions, choose "Modify all Readers and Authors fields".

C. Ask a Notes Administrator to enable "Maintain Reader/Author field consistency" on the Security tab of the server.

D. Ask a Notes Administrator to enable "maintain reader/Author field consistency" on the Security tab of the server.

E. Open the Security tab of the SalesOrder Form properties. Place a checkmark next to "Enable adminp updates".

Browse 121 Q&As
Exam Code: C2040-985
Exam Name: Developing IBM Lotus Notes and Domino 8.5 Applications
Last Update:
Questions: 121 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99