1.Which one of the following can be used to create a new document in a database?
A: The Set method on the NotesDocument class
B: The constructor sub in the NotesDatabase class
C: The constructor sub (New) on the NotesDocument class
D: The CreateDocument method on the NotesDocument class
Correct Answers: C
2.Which of the ICDL-IT HP0-773 following is a characteristic of the web services design object?
A: Web services in LotusScript. must be written as Classes
B: Only Java can be used to create web services, not LotusScript
C: LotusScript. web services can only be used by other Domino servers
D: All current LotusScript. agents can be converted to web services by changing their design element type from "agent" to "web service"
Correct Answers: A
3.Which of the following is a characteristic of the web services design object?
A: Web services in LotusScript. must be written as Classes
B: Only Java can be used to create web services, not LotusScript
C: LotusScript. web services can only be used by other Domino servers
D: All current LotusScript. agents can be converted to web services by changing their design element type from "agent" to "web service"
Correct Answers: A
4.Melanie wants to build a script. that e-mails a document to the people in the domain's Managers group. There is no need to store the form. since it is available in all mail files. Given that doc is the document object, which one of the following will accomplish this goal?
A: doc.Send True,Managers
B: doc.Send True,"Managers"
C: doc.Mail False,"Managers"
D: doc.Send False,"Managers"
Correct Answers: D
5.Ignacia is writing code in the QuerySave event of her form. The code will populate the Notify field based on the value of the Status field. Here is what Ignacia has written so far:
Dim ws As New NotesUIWorkspace
Dim doc As NotesDocument
Set doc = ws.CurrentDocument.Document
Select Case doc.Status(0)
Case "Draft" : doc.Notify = ""
Case "Submitted" : doc.Notify = "RequestReviewers"
Case "Approved" : doc.Notify = "FullfillmentTeam"
' Completed or Canceled
' Unexpected values for the Status field
End Select
What lines should Ignacia add to handle Status values of 'Completed' or 'Canceled', and to handle any unexpected values in the Status field?
A: Case "Completed", "Canceled" : doc.Notify = ""
Case Other : doc.Notify = "NotesAdministrators"
B: Case "Completed" Or "Canceled" : doc.Notify = ""
Case Else : doc.Notify = "NotesAdministrators"
C: Case "Completed", "Canceled" : doc.Notify = ""
Case Else : doc.Notify = "NotesAdministrators"
D: Case "Completed" Or "Canceled" : doc.Notify = ""
Case Other : doc.Notify = "NotesAdministrators"
Correct Answers: A
5.Chris has imported a number of documents into a Notes database that contain MIME data. He now needs to write an agent that will display the type of MIME encoding for the data. What code fragment below will get the MIME entry and display the encoding type?
A: Set mime = doc.GetAllMIMEEntries
Messagebox "Encoding type: " + mime.Encoding
B: Set mime = doc.GetMIMEEntity
Messagebox "Encoding type: " + Cstr(mime.Encoding)
C: Set mime = doc.GetFirstItem(mime)
Messagebox "Encoding type: " + mime.Encoding
D: Set mime = doc.GetFirstMIMEEntry
Messagebox "Encoding type: " + Cstr(mime.Encoding)
Correct Answers: B