Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Database Design Using Normalization Questions
In database design, is it always desirable in every situation to normalize all relations up to Boyce–Codd Normal Form (BCNF), regardless of reporting needs, performance constraints, or legacy integration requirements?
Do denormalized tables, by definition, satisfy Boyce–Codd Normal Form (BCNF)? Consider the typical practice of intentionally merging attributes to reduce joins.
Does normalizing a schema generally require programmers to write more complex SQL queries (for example, more joins) compared with an equivalent denormalized design?
When building a new database from preexisting tables or flat files, is it safe to assume that referential integrity (foreign key consistency) has already been enforced on the received data?
When reverse-engineering a schema from existing data, is the presence of a general-purpose “remarks” or “comments” column a common design problem that can hide multiple attributes and hinder normalization?
Do modification anomalies (insertion, update, and deletion anomalies) typically cause enough practical issues that most operational tables should be normalized to at least BCNF unless there is a justified trade-off?
In SQL, does the aggregate COUNT() return the total number of rows in a table or result set, including rows that contain NULLs in any column?
When designing from existing data, is it a common problem to find multiple values for a single attribute stored in one cell (for example, comma-separated lists), which violates First Normal Form (1NF)?
In legacy or imported datasets, are missing values (for example, blanks or NULLs) a common design/data-quality problem that must be addressed during database design and loading?
Is there an SQL construct called COLUMNS() to return the number and type of columns in a table, or should schema introspection be done via INFORMATION_SCHEMA or database-specific catalog views?
Database normalization and anomalies: evaluate the claim below. "We can eliminate modification anomalies with proper normalization that results in tables in Boyce–Codd Normal Form (BCNF)."
Design from existing tables: evaluate the assumption. "When building a database from existing tables, we may safely assume that there are no multivalued dependencies (MVDs) in the provided data."
BCNF criterion — clarify the condition. "We have normalized a table into BCNF if all candidate keys are determinants."
Reverse engineering from existing tables: do normalization principles still apply?
Multivalued dependencies (MVDs): are they harmless? "Multivalued dependencies create harmless anomalies that can be noted but need not be eliminated."
Does proper normalization eliminate duplicated data?
First step when given legacy tables: what should you do before creating the new database?
Design from existing data: are inconsistent values a common problem?
Read-only database design: do guidelines differ because updates never occur?
Identify the constraint type: "SALE.CNumber must exist in CUSTOMER.CNumber."
1
2