How would you use test data to test the control that every new employee is assigned to a valid department?Single choice

Question Image
A

a. Use a valid code test to ensure that employees can only be entered into the system if their employee number is already present in the departments table.

B

b. Use cascading updates to ensure that when a department number is changed in the departments table that all records in the employees table have their departments numbers changed to the new number

C

c. Create a new employee record in the employees table and enter an invalid department number in the department field and see if the computer rejects it. Then create a new employee record with a valid department number and see if the computer accepts it.

D

d. Create a new employee record in the employees table and check that the department number is autonumbered.

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!