190-803 Free Dumps Study Materials
Question 15: Ichiro needs to write an agent to read a comma-delimited ASCII file of data about parts that his
company uses when building computers. The data is from one of the parts suppliers, and includes 10
fields in each record. Ichiro needs to extract the Part Number, Part Description, and Price from each input
record and update his company's Inventory database with the current data. How should Ichiro proceed?
A.Create a user-defined data Type to represent a Part. Write a 'getter' method for each of the 3 fields that
need to be accessed from the data Type.
B.Create a user-defined class to represent the ASCII file. Write a 'getter' method to retrieve each record,
and use the NotesStream.SplitText method to extract the fields.
C.Create a user-defined class to represent the Parts data. Use notesDOMTextNode.SplitText( "," ) to
parse each field into the appropriate member variable.
D.Create a user-defined data Type to represent the structure of the Parts data. Each field of a given input
record can be referenced using the appropriate member variable.
Correct Answer:D