VistA, VHA OI - System Design & Development Logo: Return to Home Page

Lesson 3 Quiz: Text Version

The correct answers can be found at the bottom of the page.

Graphics Version


> Question 1:  When using a compound index in an interactive lookup:

A.  FileMan prompts you for the values for each of the data subscripts in the index.
B.  FileMan expects you to pass the data subscript values in the index to IX^DIC.
C.  Both of the above.


> Question 2:  You can look up a record based on more than one field value in a compound index:

A.  By passing the values in the variable X.
B.  By passing the values in the X(n) array.
C.  Neither of the above.


> Question 3:  During a lookup, what does the 'n' in the X(n) array correspond to in the index?

A.  The subscript number.
B.  The field number.
C.  Neither of the above.


> Question 4:  How do you use the X(n) array to lookup values in multiple data subscripts for compound indexes?

A.  Set X(1) to the lookup value for the data in subscript 1, X(2) to the lookup value for the data in subscript 2, etc.
B.  Set X(1) to the lookup value for the combined data in both subscripts 1 and 2.
C.  Neither of the above.


> Question 5:  The Collation property of cross-reference subscripts for New-style indexes allows you to:

A.  Control the direction in which FileMan traverses a subscript in an index when it displays entries to the user.
B.  Control whether entries are displayed in MUMPS or ASCII collating sequence.
C.  Both of the above.


> Question 6:  What cross-reference value property allows you to control the prompt issued to the user during an interactive lookup?

A.  Transform for Lookup.
B.  Lookup Prompt.
C.  Neither of the above.


CORRECT ANSWERS:

Question 1:  When using a compound index in an interactive lookup:
     Answer:  A. "FileMan prompts you for the values for each of the data subscripts in the index."

Question 2:  You can look up a record based on more than one field value in a compound index:
     Answer:  B. "By passing the values in the X(n) array."

Question 3:  During a lookup, what does the 'n' in the X(n) array correspond to in the index?
     Answer:  A. "The subscript number."

Question 4:  How do you use the X(n) array to lookup values in multiple data subscripts for compound indexes?
     Answer:  A. "Set X(1) to the lookup value for the data in subscript 1, X(2) to the lookup value for the data in subscript 2, etc."

Question 5:  The Collation property of cross-reference subscripts for New-style indexes allows you to:
     Answer:  A. "Control the direction in which FileMan traverses a subscript in an index when it displays entries to the user."

Question 6:  What cross-reference value property allows you to control the prompt issued to the user during an interactive lookup?
     Answer:  B. "Lookup Prompt."


Back to the top


Reviewed/Updated: March 20, 2007