Slide 2:
190-737 QUESTION 1 Valerie is creating an action that will display the number of documents in a database. Which one of the following should be her strategy? A. Use the Search method on the NotesDatabase object to gather all the documents. Use the Count property to display the number of documents. B. Use the AllDocuments property of the NotesDatabase object to get a NotesDocumentCollection. Use the Count property to display the number. C. Use the FTSearch method on the NotesDatabase object to gather all the documents. Use the Count property to display the number of documents. D. Use the Documents property of the NotesDatabase object to display the number of documents in the database. Answer: B QUESTION 2 Customer documents all include a field called DocKey, which is a computed field populated with this formula: @Text(@DocumentUniqueID). SalesOrder documents all include a CustomerKey field that holds the value of the DocKey for the Customer who placed the order. Leilani is trying to use the following line of code to retrieve a Customer document but her code is not working. What is the problem? Set CustomerDoc = db.GetDocumentByID( SalesOrder.CustomerKey(0) ) A. The @Text(@DocumentUniqueID) formula will return a value that includes a colon in the middle of the string. The GetDocumentByID method requires a parameter without the colon. B. The GetDocumentByID method retrieves a document from a database based on the NoteID, which is a maximum of 8 characters. C. Leilani needs to include a second parameter of True if she wants to retrieve just a single document. D. The GetDocumentByID method retrieves a document from a database based on the NoteID, which is not a string value. Answer: B QUESTION 3 Which of the following LotusScript statements can convert a text string into an array of strings? A. Implode B. SplitText C. Split D. Separate Answer: C
Slide 3:
190-737 QUESTION 4 Which of the following methods will always return a collection that are in the SAME order that the documents appear in the view? A. NotesView.GetAllDocumentsByKey B. NotesView.GetAllEntriesByKey C. NotesView.Search D. NotesView.GetCategory Answer: B QUESTION 5 Which one of the following can be used to create a new document in a database? A. The constructor sub in the NotesDatabase class B. The CreateDocument method on the NotesDocument class C. The constructor sub (New) on the NotesDocument class D. The Set method on the NotesDocument class Answer: C QUESTION 6 Aubrey is coding a LotusScript agent that will create an array of test scores in order to calculate a number of statistical variations. The input for the agent will be obtained from an InputBox function, and the agent needs to be able to handle a variable number of entries. How would Aubrey define the array variable in order to accommodate an unknown number of test scores? A. Dim testScoreArray(count) As Integer B. ReDim testScoreArray() As Integer C. Dim testScoreArray() As Integer D. Dim testScoreArray() as Array Answer: C QUESTION 7 Which of the statements about LotusScript Lists is TRUE? A. You must call the Append method to add a new element to a List B. A List can hold a maximum of 32,768 elements C. You can remove single elements from a List using the Erase statement D. An element of a List can only be a standard Notes Data Type, not a class object Answer: C