Structured decision-making is required with respect to the batch update of the COMPUTER MASTER file in an organization, which can be described as follows. There are three types of updates: ADD, DELETE and CHANGE. The COMPUTER MASTER record must be read. If the transaction is an ADD and the master is not found, format and write the new COMPUTER MASTER record. Print a valid transaction line on an UPDATE REPORT. For a CHANGE or DELETE transaction, print a CHANGE ERROR LINE or a DELETE ERROR LINE if the COMPUTER MASTER record is not found. If the COMPUTER MASTER record is found, check the active code. If the record is inactive and the transaction is an ADD, format and rewrite the new COMPUTER MASTER record. Print a valid transaction line on an UPDATE REPORT.
For a CHANGE or DELETE TRANSACTION, print a CHANGE ERROR LINE or a DELETE ERROR LINE. For a DELETE transaction, if the COMPUTER MASTER record is found and the code is inactive, in addition to other rules, also select DELETE COMPUTER RECORD. If the COMPUTER MASTER record is active and the transaction is an ADD, print an ADD ERROR LINE. For a CHANGE transaction, format the changes and rewrite the COMPUTER MASTER record. Print the VALID TRANSACTION LINE. For a DELETE transaction, CHANGE COMPUTER RECORD and rewrite the COMPUTER MASTER record. Print the VALID TRANSACTION LINE.
1. Create a Decision Table for the above situation
2. Create a Decision Tree for the above situation
Additional information
The problem related to Computer Science and it describes about structured decision making required for making batch update and creating decision table and decision tree for a situation.
Word limit: 500