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

Lesson 7 Quiz: Text Version

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

Graphics Version


> Question 1:  The Kill Logic for a New-style cross-reference is executed when a record is edited and:

A.  Old values used as subscripts are null, and the Kill Condition, if any, sets X to true (1).
B.  No old values used as subscripts are null, and the Kill Condition, if any, sets X to true (1).
C.  Neither of the above.


> Question 2:  The Set Logic for a Traditional cross-reference on a field is executed if:

A.  The field value goes from null to non-null.
B.  The field value goes from non-null to null.
C.  Neither of the above.


> Question 3:  If a field is part of a New-style MUMPS cross-reference, and the field value is deleted:

A.  The Kill Logic will not be executed under any circumstances.
B.  The Kill Logic will not be executed if the field is used as a subscript (has a subscript number assigned to it).
C.  Neither of the above.


> Question 4:  The Execution property of New-style cross-references controls the timing of cross-reference execution. Execution can be either Field or Record. Field execution means that:

A.  The cross-reference logic is executed after all the fields in the cross-reference are edited.
B.  The cross-reference logic is executed immediately after each and every field in the cross-reference is edited.
C.  Neither of the above.


> Question 5:  Record execution means that:

A.  The cross-reference logic is executed once at the end of an editing session after all fields in the record are edited.
B.  The cross-reference logic is executed immediately after each and every field in the cross-reference is edited.
C.  Neither of the above.


> Question 6:  Usually, simple cross-references (those that have only one field-type cross-reference value) have Field-level execution?

A.  True
B.  False


> Question 7:  Usually, compound cross-references (those that have more than one field-type cross-reference value) have Record-level execution:

A.  True
B.  False


CORRECT ANSWERS:

Question 1:  The Kill Logic for a New-style cross-reference is executed when a record is edited and:
     Answer:  B. "No old values used as subscripts are null, and the Kill Condition, if any, sets X to true (1)."

Question 2:  The Set Logic for a Traditional cross-reference on a field is executed if:
     Answer:  A. "The field value goes from null to non-null."

Question 3:  If a field is part of a New-style MUMPS cross-reference, and the field value is deleted:
     Answer:  B. "The Kill Logic will not be executed if the field is used as a subscript (has a subscript number assigned to it)."

Question 4:  The Execution property of New-style cross-references controls the timing of cross-reference execution. Execution can be either Field or Record. Field execution means that:
     Answer:  B. "The cross-reference logic is executed immediately after each and every field in the cross-reference is edited."

Question 5:  Record execution means that:
     Answer:  A. "The cross-reference logic is executed once at the end of an editing session after all fields in the record are edited."

Question 6:  Usually, simple cross-references (those that have only one field-type cross-reference value) have Field-level execution?
     Answer:  A. "True."

Question 7:  Usually, compound cross-references (those that have more than one field-type cross-reference value) have Record-level execution:
     Answer:  A. "True."


Back to the top


Reviewed/Updated: March 20, 2007