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

C2040-985 Online Practice Questions and Answers

Questions 4

Jamie needs to add a RestrictAccess field on a form in the Purchasing application. Only users with the [Admin] role should be able to see this field.

How should she write the hide/when formula to hide this field?

A. @Elements("[Admin]";@UserRoles)

B. @IsNotMember("[Admin]";@UserRoles)

C. @IsContained("[Admin];@UserRoles)

D. @Show("[Admin]";@UserRoles)

Buy Now
Questions 5

Hermes wants to program a button to allow a user to modify the Status field to a value of "Approved" on the document that they are currently editing in the Lotus Notes client.

Which of the following fragments of LotusScript code will do that?

A. Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Call uidoc.FieldSetText("Status", "Approved")

B. Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument uidoc.Statuc = "Approved"

C. Dim workspace As New NotesUIWorkspace Dim field As NotesUIField Set field = workspace.GetField ("Status") Call field.SetText( "Approved" )

D. Dim workspace As New NotesUIWorkspace Dim doc As NotesDocument Set doc = workspace.CurrentDocument doc.Status = "Approved"

Buy Now
Questions 6

Everyone needs read access to inventory documents. Only the Inventory Managers group should be able to create inventory documents. The Warehouse group must be able to edit these documents.

How should Claude configure the security?

A. Set Default read to "All readers and above" on the Security tab of the form properties. Add a computed Authors field to the form with the formula "Inventory Manager". Add a computed Editors field to the form with the "Warehouse" formula.

B. Do not use a Readers field. On the Security tab of the form Properties, decelect "All authors and above" under "Who can create documents with this form", and select "Inventory Managers". Add an "InventoryEditor" role to the ACL. Associate the role with the Inventory Managers group and the Warehouse group.Add a computed Authors field on the form with the "[InventoryEditor]" formula.

C. Add a computed Readers field with the "Default" formula. On the Security tab of the form Properties, clear "All authors and above" under "Who can create documents with this form", and select "Inventory Managers". Add an "InvEditor" role to the ACL, associate the role with the Inventory Managers group and the Warehouse group, and then create a computed Authors field on the form that contains the "InvEditor" formula.

D. Add a computed Readers field to the form with the formula "*". Add a computed Authors field to the form that contains the formula "Inventory Managers":"Warehouse". Open the ACL and deselect "Create documents" option for the Warehouse group.

Buy Now
Questions 7

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

Buy Now
Questions 8

Hassan has been emailed a spreadsheet with information about new training opportunities at his company. He has been asked to update the company's Announcements application with a link that, when clicked, will open the spreadsheet.

How can Hassan accomplish this?

A. Import the presentation as a new File resource, assigning an alias of "New Training". Add a new entry to the application outline, selecting Action as the Content Type, and setting the Content Value to @Command([OpenResource]; "New Training").

B. Embed the presentation on a new page, setting the page Auto Launch property to First OLE Object. Add a new entry to the application outline, selecting named Element as the Content Type and selecting the new page as the Content Value.

C. Attach the presentation on the About application document. Set the database launch property to launch the first attachment in the About database. Add a new entry to the application outline, selecting Action as the Content Type and setting the Content Value to @Command([HelpAboutDatabase]).

D. Import the presentation as a new Image Resource, retaining the filename extension as part of the resource name. Add a new entry to the application outline, selecting Named Element as the Content Type and selecting the new image resource as the Content Value.

Buy Now
Questions 9

In the past, Lloyd has copied an existing application if he needed to create a new application. This time, however, Lloyd wants to create a new application on his own hard drive, and he does not want the application to include any design elements from existing applications.

How can he do this?

A. From the menu bar, select File > Application > New. Leave the Server option set to "Local", and ensure that the Template option is set to "Blank".

B. From the menu bar, select File > Application > New. Leave the Server option set to "Local", and specify "_blank.nsf" for the new application's filename.

C. From the menu bar, select File > Application > New. Leave the Server option set to "Local", and specify "_blank.nsf" for the new application's filename. Ensure that the Template option is set to "-Default-".

D. From the menu bar, select File > Application > New. Specify "_blank.nsf" for the new application's filename.

Buy Now
Questions 10

Joe wants to display a company logo in the background of a view in his sales application. How can he do this?

A. Use URL as the background graphic for the view, where the URL points to the logo.

B. He can't do this. Views cannot have background graphics.

C. Use an Image Resource as the background graphic for the view.

D. Display the view in a frameset, and set the background of the view's frame to an Image resource or URL depicting the logo.

Buy Now
Questions 11

Maggie wants to display the authenticated user's name on her Web site's welcome page. How can she do this?

A. Write a JavaScript function that gets the name from the session cookie.

B. None of the Above

C. Use the JavaScript document.userName property.

D. Create computed text on the page that computes to the current user's name.

E. Display the name using the USER_NAME CGI field.

Buy Now
Questions 12

Logan has a servlet that he wants to deploy as part of his Lotus Domino-based Web application. What does he need to do to accomplish this task?

A. Deploy the server to a J2EE application server.

B. Enable servlet support for the Lotus Domino server by modifying the Java Servlet Support section of the server document.

C. Create a Web configuration settings document and change the Configuration Type to "Servlet Support".

D. Lotus Domino does not support the use of servlets.

Buy Now
Questions 13

Hans and Kristen, two mobile users, are editing different fields in the same document during a parallel review. The designer set a form property to merge replication conflicts.

Which one of the following will happen?

A. Edits to both fields will be saved in two identical main documents.

B. Edits to both fields will be saved in a single document marked as a replication conflict.

C. Edits to each field will be saved in two documents: one a main document and the other a response document marked as a replication conflict.

D. Edits to each field will be saved in a single document.

Buy Now
Exam Code: C2040-985
Exam Name: Developing IBM Lotus Notes and Domino 8.5 Applications
Last Update: Nov 14, 2024
Questions: 121
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99