learn englishi about exams

上一篇 / 下一篇  2007-10-11 15:01:12

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


TAG: exams 学习

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-28  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 90
  • 日志数: 4
  • 建立时间: 2007-09-19
  • 更新时间: 2007-10-19

RSS订阅

Open Toolbar