Database Design Fundamentals
- 119Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
119 questions
- 1A database is something that stores_____.
Hint
Think of anything that can be recorded or assigned a value.
Answer
data
- 2In database design, data should be understood broadly as anything that can be_____.
Hint
The term includes customer lists, transactions, usernames, and weather events.
Answer
stored
- 3Most platforms, programs, and applications rely on a back-end_____to store information.
Hint
It acts as the organized storage system behind an application.
Answer
database
- 4Database design is primarily concerned with properly structuring_____.
Hint
The goal is to organize stored information efficiently.
Answer
data
- 5The course presents database design as a general discipline rather than design for one specific database management_____.
Hint
Examples include MySQL, Oracle, and SQL Server.
Answer
system
- 6A relational database stores data in_____.
Hint
Think of organized structures made of rows and columns.
Answer
tables
- 7A database should generally be designed conceptually before it is programmed on a_____.
Hint
The design process may use diagrams, plans, or a design program first.
Answer
computer
- 8The front end is what the_____sees, while the back end operates behind the scenes.
Hint
Consider the person interacting with a website or application.
Answer
user
- 9A website remembers a registered username and password because those values are stored in a_____.
Hint
The system checks the stored values when the user logs in again.
Answer
database
- 10A database can use queries to find employees who meet conditions such as a minimum tenure and a limited number of missed_____.
Hint
The example uses an employee attendance condition.
Answer
days
- 11A database can give different users access to different information, providing an important_____feature.
Hint
This prevents ordinary users from seeing hidden or administrative data.
Answer
security
- 12A mathematical relation is a connection between_____of data.
Hint
The concept comes from combining mathematical collections.
Answer
sets
- 13An entity is anything that we store_____about.
Hint
Examples include a person, customer, order, or employee.
Answer
data
- 14An attribute is something that we store about an_____.
Hint
A person's name, address, and phone number are examples.
Answer
entity
- 15For a person entity, name, username, password, and hair color are examples of_____.
Hint
They describe characteristics of the person.
Answer
attributes
- 16An attribute type is a category such as username or password, while a specific value is an actual_____such as Caleb Curry.
Hint
The category becomes concrete when a particular value is supplied.
Answer
example
- 17A row contains all attribute values for a specific_____.
Hint
One row might contain all information about one user.
Answer
entity
- 18A column contains all the values for a specific attribute_____.
Hint
A username column contains usernames for many entities.
Answer
type
- 19Another mathematical name for a database row is a_____.
Hint
It begins with the sound 'tup' and refers to one record.
Answer
tuple
- 20The entity type is the category of entities being stored, such as_____for a table containing only users.
Hint
Caleb and Billy can both be individual examples of this category.
Answer
user
- 21The attribute types of a user table might include name, username, and_____.
Hint
It is another piece of account information.
Answer
password
- 22A relation is another name for a database_____.
Hint
It is the physical structure that organizes rows and columns.
Answer
table
- 23A file is another name for a table, a record is another name for a row, and a field is another name for a_____.
Hint
A field stores values for one attribute category.
Answer
column
- 24A value is the information entered into a specific_____.
Hint
Examples include a person's name or phone number.
Answer
column
- 25An entry is another name for a database_____.
Hint
It is produced when data is entered into a table.
Answer
row
- 26A database management system is commonly abbreviated_____.
Hint
The abbreviation uses the initial letters of the three words.
Answer
DBMS
- 27A relational database management system is abbreviated_____.
Hint
It adds an initial letter to DBMS.
Answer
RDBMS
- 28A DBMS allows users to run a_____to search and manipulate stored data.
Hint
It is similar to searching data and returning useful results.
Answer
query
- 29An RDBMS is a specific type of DBMS designed to work with_____databases.
Hint
It works with tables and connections among them.
Answer
relational
- 30A DBMS can change the surface appearance of stored data using a_____mechanism.
Hint
Different users can see different selected columns without changing storage.
Answer
view
- 31A view changes the presentation of data but does not change the internal_____of the database.
Hint
The underlying tables and stored columns remain the same.
Answer
structure
- 32A view can act as a security layer by limiting which information a_____can access.
Hint
Different roles may receive different views of the same database.
Answer
user
- 33A transaction either completes entirely or is canceled, a property often described as all-or-_____operation.
Hint
If a multi-step transfer fails, no partial result is saved.
Answer
nothing
- 34SQL is a programming language used to communicate with a_____.
Hint
It acts as a mediator between human instructions and stored data.
Answer
database
- 35SQL stands for Structured Query_____.
Hint
It is the final word in the name of SQL.
Answer
Language
- 36SQL is a general language whose core concepts remain similar across database_____.
Hint
MySQL and SQL Server may vary in syntax, but their general SQL ideas remain related.
Answer
vendors
- 37The SQL category used to define database structure is Data Definition_____.
Hint
Its abbreviation is DDL.
Answer
Language
- 38The SQL category used to insert, update, delete, and search values is Data Manipulation_____.
Hint
Its abbreviation is DML.
Answer
Language
- 39The SQL command used as an example for creating tables is_____.
Hint
It is a DDL command whose name describes its action.
Answer
CREATE
- 40The SQL command used to change values without changing the table structure is_____.
Hint
It changes existing attribute values.
Answer
UPDATE
- 41A SQL_____combines related data from separate tables into a new view.
Hint
It can combine a user's name with items they purchased.
Answer
join
- 42A SQL keyword is a reserved word that the database already recognizes as having a defined_____.
Hint
SELECT is an example of a reserved word.
Answer
meaning
- 43A naming convention is a repeated pattern used to create_____.
Hint
It helps different people understand table and column names.
Answer
consistency
- 44A database is well designed when its data has high data_____.
Hint
The data should be correct, current, and properly connected.
Answer
integrity
- 45A database design problem occurs when related tables become disconnected and one table is left_____after another is updated.
Hint
The outdated table no longer matches the current data.
Answer
behind
- 46The three broad database schemas are conceptual, logical, and_____.
Hint
It is the most implementation-specific level.
Answer
physical
- 47The conceptual schema focuses primarily on how_____is related.
Hint
It is the general brainstorming level before technical limitations.
Answer
data
- 48The logical schema plans the structure of tables, columns, data types, and_____.
Hint
It turns general concepts into a more specific database plan.
Answer
relationships
- 49The physical schema addresses the specific database management system, server, access method, and actual_____.
Hint
This is the stage where the design becomes a working database.
Answer
implementation
- 50Database design is a method of separating information over multiple_____rather than placing everything in one huge table.
Hint
This reduces duplication and update problems.
Answer
tables
- 51Repeated information that can cause inconsistent updates is called an update_____.
Hint
It occurs when one copy of data changes while another copy does not.
Answer
anomaly
- 52An archive of historical orders may remain unchanged because it is intended to preserve historical_____.
Hint
Not all old data is erroneous; some data is deliberately retained.
Answer
records
- 53The three main types of data integrity are entity, referential, and_____integrity.
Hint
This type concerns acceptable values for a column.
Answer
domain
- 54Entity integrity requires entities in a table to be_____.
Hint
An ID can distinguish two people with the same name and phone number.
Answer
unique
- 55Referential integrity preserves valid_____between related tables.
Hint
A comment should continue to point to the user who posted it.
Answer
connections
- 56Domain integrity restricts a column to its acceptable range of_____.
Hint
A phone-number column should contain appropriate digits rather than a word such as cake.
Answer
values
- 57A data type can restrict a character column to a maximum number of_____.
Hint
A column limited to 20 characters cannot store an arbitrarily long string.
Answer
characters
- 58A foreign key constraint can remove a user's comments when that user is deleted by using a cascading_____.
Hint
The child records are removed when the parent record is removed.
Answer
delete
- 59A missing value in a database field is represented by_____.
Hint
It means that no value is present, not that the value is zero.
Answer
NULL
- 60An anomaly is an error or unexpected result that departs from what is considered_____.
Hint
Updating ten columns when only one should change is an example.
Answer
normal
- 61A one-to-one relationship means that one entity is connected to exactly one other_____.
Hint
A person and their intended unique social security number illustrate the pattern.
Answer
entity
- 62A one-to-many relationship allows one entity to connect to multiple entities, while each entity on the many side connects back to only_____entity.
Hint
A user can write many comments, but each comment has one owner.
Answer
one
- 63A many-to-many relationship allows multiple entities on each side to connect to multiple entities on the other_____.
Hint
Students can take many classes, and classes can contain many students.
Answer
side
- 64A class and a student commonly form a_____-to-many relationship because one class has many students and one student can take many classes.
Hint
The same relationship type applies in both directions.
Answer
many
- 65A one-to-many relationship is usually stored with the foreign key on the_____side.
Hint
Each child record points back to its one parent.
Answer
many
- 66The table that a foreign key points to is called the_____table.
Hint
The related child inherits identifying information from it.
Answer
parent
- 67The table containing the foreign key is called the_____table.
Hint
It points back to the parent.
Answer
child
- 68A many-to-many relationship is implemented by splitting it into two_____-to-many relationships.
Hint
An additional table connects the two original tables.
Answer
one
- 69The table used to connect the two sides of a many-to-many relationship is called an intermediary or_____table.
Hint
It links students to classes or authors to books.
Answer
junction
- 70In an intermediary table for students and classes, the combination of student ID and class ID identifies one unique_____.
Hint
Each row represents one student's enrollment in one class.
Answer
connection
- 71A key is used to enforce_____within a table.
Hint
It distinguishes one row or entity from another.
Answer
uniqueness
- 72A primary key must be unique, never changing, and never_____.
Hint
Every record must have a value that identifies it.
Answer
NULL
- 73A foreign key is a reference to a_____key.
Hint
It connects a child table to a parent table.
Answer
primary
- 74A natural key is a value already stored in the table that has real-world_____.
Hint
A username or email may naturally identify an account.
Answer
meaning
- 75A surrogate key is an added identifier, often a number, with no real-world_____.
Hint
A generated user ID such as 72 identifies a row but does not describe the person.
Answer
meaning
- 76A super key is any number of columns that forces every row to be_____.
Hint
It may contain more columns than are actually necessary.
Answer
unique
- 77A candidate key is the smallest number of columns needed to force every row to be_____.
Hint
It is a minimal version of a super key.
Answer
unique
- 78The candidate key selected as the main identifier for a table is the_____key.
Hint
Other candidate keys not selected may be called alternate keys.
Answer
primary
- 79Candidate keys that are not selected as the primary key are called_____keys.
Hint
They remain possible unique identifiers but are not the main one.
Answer
alternate
- 80A simple key consists of one column, while a composite key consists of_____or more columns.
Hint
The word composite indicates that multiple columns are combined.
Answer
two
- 81A compound key is a multi-column key in which the columns are also_____themselves.
Hint
An intermediary table may use two foreign keys together as its compound key.
Answer
keys
- 82A foreign key constraint protects_____integrity between related tables.
Hint
It prevents a child from pointing to a nonexistent parent.
Answer
referential
- 83Normalization is a series of steps used to create a better database_____.
Hint
It reduces anomalies and improves integrity.
Answer
design
- 84The three main normal forms are first, second, and_____normal form.
Hint
It is the final form in the basic sequence presented.
Answer
third
- 85A database in third normal form is also in first and_____normal form.
Hint
The normal forms are cumulative steps.
Answer
second
- 86First normal form requires values to be_____.
Hint
Each field should store one individual thing rather than a list.
Answer
atomic
- 87A full address stored in one field may violate first normal form because it contains street, city, state, and other_____.
Hint
The solution is to separate address parts into columns.
Answer
components
- 88Multiple email addresses should be stored as separate rows rather than as multiple values in one_____.
Hint
One email field should contain one email address.
Answer
field
- 89Second normal form removes partial_____.
Hint
A partial dependency occurs when a column depends on only part of a composite key.
Answer
dependencies
- 90A partial dependency can occur only when the primary key contains_____than one column.
Hint
A single-column key cannot have a column depend on only part of itself.
Answer
more
- 91In a book-author intermediary table, an author's position in a book depends on both the author and the_____.
Hint
The same author may have different positions in different books.
Answer
book
- 92Third normal form removes_____dependencies.
Hint
This occurs when a column depends on another non-key column that depends on the primary key.
Answer
transitive
- 93A star meaning that depends on a star rating is an example of a_____dependency when the rating itself depends on the review ID.
Hint
The dependency passes through an intermediate column.
Answer
transitive
- 94An index helps a database find data faster, like the index of a_____.
Hint
It points to the location of a topic instead of requiring a complete search.
Answer
book
- 95Searching every row in a table without using an index is called a table_____.
Hint
The database checks rows one by one.
Answer
scan
- 96Searching through an index to locate data is called an index_____.
Hint
It goes directly toward the relevant location instead of checking every row.
Answer
seek
- 97A nonclustered index stores references to data separately from the actual_____.
Hint
It points to where the data is located.
Answer
data
- 98A clustered index physically reorganizes the actual_____.
Hint
A phone book ordered alphabetically illustrates this type of organization.
Answer
data
- 99A table can have multiple nonclustered indexes but only one_____index.
Hint
Only one physical ordering can exist at a time.
Answer
clustered
- 100The primary key commonly receives a clustered index because it is frequently used to locate_____.
Hint
It identifies individual rows efficiently.
Answer
records
- 101An index can speed up queries but increases maintenance because the index must also be updated when the underlying data_____.
Hint
The lookup structure must remain synchronized with the table.
Answer
changes
- 102A data type specifies the kind of information that a column can_____.
Hint
It may restrict values to text, numbers, or dates.
Answer
store
- 103The three broad categories of data types are string, numeric, and_____.
Hint
This category includes dates, times, and timestamps.
Answer
date
- 104A fixed-length character type is commonly called_____.
Hint
It is contrasted with variable character storage.
Answer
CHAR
- 105A variable-length character type is commonly called_____.
Hint
Its name combines variable and character.
Answer
VARCHAR
- 106A numeric type that stores only whole numbers is an_____.
Hint
Examples include 512 and negative 52 without decimal portions.
Answer
integer
- 107An unsigned numeric value cannot be_____.
Hint
Unsigned values use only zero and positive values.
Answer
negative
- 108A timestamp records the exact moment when an event such as a row insertion or transaction_____.
Hint
It establishes when something was created or done.
Answer
occurred
- 109A join presents normalized data in a more user-friendly_____.
Hint
It can replace numeric foreign keys with names.
Answer
form
- 110A join changes the presentation of data without changing the database_____.
Hint
The underlying tables remain normalized.
Answer
structure
- 111An inner join returns rows where the joined records exist in_____tables.
Hint
It returns the intersection of the two tables.
Answer
both
- 112A left outer join returns all rows from the_____table and matching rows from the other table.
Hint
The table named first in the relevant query is treated as the left table.
Answer
left
- 113A right outer join returns all rows from the_____table and matching rows from the other table.
Hint
It is the directional counterpart of a left outer join.
Answer
right
- 114A full outer join is intended to preserve rows from_____sides of the join.
Hint
It includes unmatched rows from the left and right tables.
Answer
both
- 115When joining three tables, the result of the first join can be treated as a temporary result set before joining the_____table.
Hint
The operation proceeds step by step across the tables.
Answer
third
- 116The SQL keyword used to assign an alias is_____.
Hint
It introduces a nickname for a table or column.
Answer
AS
- 117A table alias is especially useful when a table is joined with_____.
Hint
A self join needs two names for the same table.
Answer
itself
- 118A self join joins a table with a second logical copy of the same_____.
Hint
Referral chains can connect one user record to another user record.
Answer
table
- 119A referral column that points to another user in the same user table is a foreign key referencing the table's own_____key.
Hint
The referenced identifier uniquely identifies the other user.
Answer
primary

Ask anything
We've read this whole study set, so questions about it get the best answers.