你还在为考试焦头烂额?找我们就对了!
我们知道现在是考试月,你正在为了考试复习到焦头烂额。为了让更多留学生在备考与学习季更轻松,我们决定将Gold会员限时免费开放至2025年12月31日!原价£29.99每月,如今登录即享!无门槛领取。
助你高效冲刺备考!
题目
Dashboard Quiz Two
单项选择题
How would you use test data to test the control that every new employee is assigned to a valid department?
选项
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.

查看解析
标准答案
Please login to view
思路分析
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登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
What is the purpose of enforcing Referential Data Integrity in a relationship between two tables in Access?
You must always use the Relationships tool in Microsoft Access to enforce referential integrity between two related tables
If Referential Data Integrity is enforced and Cascade Delete Related Fields is active, then what happens if the primary key, that this constraint is related to, is deleted?
Assume you have identified a referential integrity problem with your Microsoft Access database. What could the source of your issue be? [Select all that apply]
更多留学生实用工具
希望你的学习变得更简单
为了让更多留学生在备考与学习季更轻松,我们决定将Gold 会员限时免费开放至2025年12月31日!