VA FileMan V. 22 Key and Index Tutorial
[<-- Back to Lesson 6]   [Lesson 6 Quiz: Text Version]   [Go to Lesson 7 -->]

Lesson 6 - Quiz

Answer the questions by selecting the radio buttons, then click the Get Score button at the bottom of the page to calculate your score and see your test results.

1. The logic of a New-style MUMPS cross-reference, which is defined by the programmer, is executed whenever a field in the cross-reference is edited, and usually performs some action other than maintaining an index.
True.
False.
2. The Set and Kill logic and the Set and Kill conditions of New-style cross-references can reference the X, X1, and X2 arrays. What does the X(order#) array contain when a record is edited, and the cross-reference is fired?
The old cross-reference values when the Kill logic and Kill condition are executed.
The new cross-reference values when the Set logic and Set condition are executed.
Both of the above.
3. What does the X1(order#) array contain when a record is edited, and the cross-reference is fired?
The old cross-reference values when the Set and Kill logic and conditions are executed.
The new cross-reference values when the Set and Kill logic and conditions are executed.
Neither of the above.
4. What does the X2(order#) array contain when a record is edited, and the cross-reference is fired?
The old cross-reference values when the Set and Kill logic and conditions are executed.
The new cross-reference values when the Set and Kill logic and conditions are executed.
Neither of the above.
5. When a new record is added to a file, FileMan sets the .01 field and immediately fires the Set logic of all the cross-references on the .01 field. The X1(order#) array element that corresponds to the .01 field is null at this point.
True.
False.
6. When a record is deleted from a file, the Kill logic of all cross-references for that record is executed. All X2(order#) array elements are null at this point.
True.
False.
7. You can define Set and Kill Conditions on both Regular and MUMPS cross-references to prevent a cross-reference from firing under conditions you specify. If there is a Set Condition, the Set Logic will be executed only if the Set Condition sets X to Boolean true (i.e., after the Set Condition code is executed, the command IF X evaluates to true).
True.
False.
8. If there is Kill Condition on a Regular and MUMPS cross-reference, the Kill Logic is executed only if the Kill Condition sets X to Boolean false.
True.
False.
9. An Action-type cross-reference is a cross-reference with Set and Kill logic that performs some action other than building an index. Most MUMPS cross-references are Action-type cross-references. An Action-type cross-reference must have a name that starts with the letter:
'A'.
'C'.
Neither of the above.


[<-- Back to Lesson 6]   [Lesson 6 Quiz: Text Version]   [Go to Lesson 7 -->]

 


Reviewed/Updated: March 20, 2007