Naming guidance for attributes Which guideline set is most appropriate when choosing an attribute name in a data model?
-
AUse a singular noun to describe the fact being stored
-
BFollow a consistent naming standard or convention across the model
-
CAvoid ambiguous aliases and pick clear, business-friendly terms
-
DAll of the above
-
EPrefer verbs and action phrases over nouns
Answer
Correct Answer: All of the above
Explanation
Introduction / Context:Good attribute names improve readability, reduce onboarding time, and minimize misinterpretation in analytics and applications. Naming is a low-cost design decision with high downstream impact. Standards provide consistency across teams and systems, especially in regulated environments where clarity is critical.
Given Data / Assumptions:
- The goal is a clear, maintainable data model.
- Names should reflect business meaning and be stable over time.
- Developers, analysts, and stakeholders share and reuse these names extensively.
Concept / Approach:
Best practice is to use singular nouns (for example, amount, order_date), apply a consistent naming convention (for example, snake_case or lowerCamelCase, standardized abbreviations), and avoid aliases that obscure meaning (for example, amt vs amount unless amt is a defined standard). These rules keep schemas predictable and self-documenting, which supports code generation, query reuse, and data governance.
Step-by-Step Solution:
Prefer nouns: they name facts or properties rather than actions.Adopt and document a convention (case, separators, allowed abbreviations).Eliminate synonyms and aliases that confuse users; choose one canonical term.Apply the rules consistently and review them in data modeling standards.Verification / Alternative check:
Many modeling style guides from industry and academia recommend singular nouns and consistent conventions; they discourage ad-hoc aliases that fragment understanding and lineage.
Why Other Options Are Wrong:
- E: Verbs describe actions; attributes describe facts, so nouns are preferred.
Common Pitfalls:
- Using abbreviations that are not standardized, leading to inconsistent naming.
- Embedding units or formatting in names (for example, amount_in_usd) without a clear convention for units metadata.
Final Answer:
All of the above