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

Lesson 8 Quiz: Text Version

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

Graphics Version


> Question 1:  The Activity cross-reference property allows you to prevent a particular cross-reference from firing during a re-indexing operation and/or a KIDS installation. By default, when you create a New-style cross-reference, Activity is automatically set to:

A.  'XR'.
B.  'IR'.
C.  Neither of the above.


> Question 2:  Which character label must be removed from Activity to suppress firing a cross-reference when FileMan's reindexing APIs (xxx^DIK) and Re-Index File option are called?

A.  'I'.
B.  'R'.
C.  Neither of the above.


> Question 3:  If you explicitly select a cross-reference in an EN^DIK, EN1^DIK, or ENALL^DIK call, or in the UTILITY FUNCTIONS/RE-INDEX FILE option on the VA FileMan menu, that cross-reference will be fired whether or not its Activity contains an 'R'.

A.  True
B.  False


> Question 4:  Which character label must be removed from Activity to suppress firing a cross-reference during a KIDS installation?

A.  'I'.
B.  'R'.
C.  Neither of the above.


> Question 5:  FileMan automatically fires cross-references during an edit, regardless of Activity, though you can control whether a cross-reference is fired by entering Set and Kill Conditions:

A.  True
B.  False


> Question 6:  In this lesson, the reindexing call IX1^DIK caused the Set Logic of the MUMPS 'AE' index you created in Lesson 7 to be executed. When an entry is reindexed, fields aren't being edited, and so the old field values in the X1 array and the new field values in the X2 array both equal the current field values. Hence, in this lesson, when the Set Logic of our 'AE' cross-reference is executed, both the OLD PHONE NUMBER and PHONE NUMBER fields reflected:

A.  The current values of the AREA CODE and LOCAL NUMBER fields.
B.  The old values of the AREA CODE and LOCAL NUMBER fields.
C.  Neither of the above.


CORRECT ANSWERS:

Question 1:  The Activity cross-reference property allows you to prevent a particular cross-reference from firing during a re-indexing operation and/or a KIDS installation. By default, when you create a New-style cross-reference, Activity is automatically set to:
     Answer:  B. "IR".

Question 2:  Which character label must be removed from Activity to suppress firing a cross-reference when FileMan's reindexing APIs (xxx^DIK) and Re-Index File option are called?
     Answer:  B. "R".

Question 3:  If you explicitly select a cross-reference in an EN^DIK, EN1^DIK, or ENALL^DIK call, or in the UTILITY FUNCTIONS/RE-INDEX FILE option on the VA FileMan menu, that cross-reference will be fired whether or not its Activity contains an 'R'.
     Answer:  A. "True."

Question 4:  Which character label must be removed from Activity to suppress firing a cross-reference during a KIDS installation?
     Answer:  A. "I".

Question 5:  FileMan automatically fires cross-references during an edit, regardless of Activity, though you can control whether a cross-reference is fired by entering Set and Kill Conditions:
     Answer:  A. "True."

Question 6:  In this lesson, the reindexing call IX1^DIK caused the Set Logic of the MUMPS 'AE' index you created in Lesson 7 to be executed. When an entry is reindexed, fields aren't being edited, and so the old field values in the X1 array and the new field values in the X2 array both equal the current field values. Hence, in this lesson, when the Set Logic of our 'AE' cross-reference is executed, both the OLD PHONE NUMBER and PHONE NUMBER fields reflected:
     Answer:  A. "The current values of the AREA CODE and LOCAL NUMBER fields."


Back to the top


Reviewed/Updated: March 20, 2007