Difficulty: Easy
Correct Answer: Incorrect
Explanation:
Introduction / Context:
In databases and XML, a schema defines structure and constraints, not behavior. This question probes whether you confuse schemas with object-oriented programming (which uses “properties and methods”). Database schemas define tables, columns, keys, and relationships; XML Schemas define elements, attributes, types, and facets.
Given Data / Assumptions:
Concept / Approach:
“Properties and methods” are object-oriented class concepts. A schema is a blueprint for data shape and validity, not a class with behavior. While some object-relational mappers or object databases may blur terminology, standard database and XML schemas remain declarative metadata about structure and constraints. Therefore, the statement is incorrect.
Step-by-Step Solution:
Verification / Alternative check:
Inspect a CREATE TABLE statement or an XSD file: you will find data types and constraints, not function bodies or method signatures.
Why Other Options Are Wrong:
Common Pitfalls:
Overloading programming vocabulary onto data modeling; assuming validation logic equates to executable methods.
Final Answer:
Incorrect
Discussion & Comments