Still overwhelmed by exam stress? You've come to the right place!

We know exam season has you totally swamped. To support your studies, access Gold Membership for FREE until December 31, 2025! Normally £29.99/month. Just Log In to activate – no strings attached.

Let us help you ace your exams efficiently!

Questions
Questions

Dashboard Quiz Two

Single choice

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

Options
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.
Question Image
View Explanation

View Explanation

Standard Answer
Please login to view
Approach Analysis
To evaluate how to test the control that assigns every new employee to a valid department, I will examine each option in turn and discuss what it tests and whether it aligns with the intended control. Option 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.' This focuses on ensuring the employee number exists in the departments table, which is conceptually wrong because employee numbers are not the link to departments. The key relationship is that the department number for an employee must reference an existing department. This option tests a referential integrity......Login to view full explanation

Log in for full answers

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

More Practical Tools for International Students

To make preparation and study season easier for more international students, we've decided to open up Gold Membership for a limited-time free trial until December 31, 2025!