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

Lesson 11 Quiz: Text Version

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

Graphics Version


> Question 1:  The Mandatory/Required Field Check option checks that all fields that are key fields or designated as required:

A.  Contain data.
B.  Are unique.
C.  Both of the above.


> Question 2:  What FileMan option allows you to use a field's definition to verify the data stored in a file?

A.  Verify Fields.
B.  Modify File Attributes.
C.  Neither of the above.


> Question 3:  How has the FileMan option Enter or Edit File Entries been modified to automatically enforce key integrity?

A.  FileMan does not let you delete key field values.
B.  FileMan does not allow you to edit key field values.
C.  Both of the above.


> Question 4:  If you edit the key fields in a record, and FileMan encounters another record in the file that has the same key, a message is displayed indicating that making these edits would violate key integrity. In addition, FileMan automatically restores the key fields to their pre-edited values.

A.  True
B.  False


> Question 5:  How do you instruct FileMan to fire the record-level indexes and check the integrity of all compound keys at a particular point in an input template or the DR input variable to ^DIE?

A.  You can call the entry point FIRE^DIE.
B.  You can set the variable DIEFIRE.
C.  Both of the above.


> Question 6:  If you set DIEFIRE to null ("") in an input template, record-level cross-references on edited fields would be fired at that point. If in addition, edits to key fields violate key integrity:

A.  The key fields are restored to their pre-edited values.
B.  X is set 'BADKEY'.
C.  Both of the above.


> Question 7:  In an input template, how would you instruct FileMan to fire record-level cross-references, and, if key integrity is violated, restore the key fields to their pre-edited values?

A.  Set DIEFIRE to "R".
B.  Set DIEFIRE to "M".
C.  Both of the above.


CORRECT ANSWERS:

Question 1:  The Mandatory/Required Field Check option checks that all fields that are key fields or designated as required:
     Answer:  A. "Contain data."

Question 2:  What FileMan option allows you to use a field's definition to verify the data stored in a file?
     Answer:  A. "Verify Fields."

Question 3:  How has the FileMan option Enter or Edit File Entries been modified to automatically enforce key integrity?
     Answer:  A. "FileMan does not let you delete key field values."

Question 4:  If you edit the key fields in a record, and FileMan encounters another record in the file that has the same key, a message is displayed indicating that making these edits would violate key integrity. In addition, FileMan automatically restores the key fields to their pre-edited values.
     Answer:  A. "True."

Question 5:  How do you instruct FileMan to fire the record-level indexes and check the integrity of all compound keys at a particular point in an input template or the DR input variable to ^DIE?
     Answer:  B. "You can set the variable DIEFIRE."

Question 6:  If you set DIEFIRE to null ("") in an input template, record-level cross-references on edited fields would be fired at that point. If in addition, edits to key fields violate key integrity:
     Answer:  B. "X is set 'BADKEY'."

Question 7:  In an input template, how would you instruct FileMan to fire record-level cross-references, and, if key integrity is violated, restore the key fields to their pre-edited values?
     Answer:  A. "Set DIEFIRE to 'R.'"


Back to the top


Reviewed/Updated: March 20, 2007