Docsity

WGU D426 SECTION 2 RELATIONAL DATABASES QUESTIONS, Exams of Social Sciences

Toggle sidebar
bg1
WGU D426 SECTION 2 RELATIONAL DATABASES
QUESTIONS
What are the three parts of the database model? - Answer -Data structures that
prescribe how data is organized.
Operations that manipulate data structures.
Rules that govern valid data.
What is a Set? - Answer -An unordered collection of elements enclosed in braces. Ex:
{a, b, c} and {c, b, a} are the same, since sets are not ordered.
What is a Tuple? - Answer -An ordered collection of elements enclosed in parentheses.
Ex: (a, b, c) and (c, b, a) are different since tuples are ordered.
What terms mean the same as table, column, row and data type in mathematical terms?
- Answer -Relation, attribute, tuple, and domain
What terms mean the same as table, column, row and data type in file processing? -
Answer -File, field, record, and data type
Relational algebra - Answer -Relational operations that generate a result table from
input tables
Select - Answer -selects a subset of rows of a table.
Project - Answer -selects (or chooses) certain attributes discarding other attributes
Product - Answer -lists all combinations of rows of two tables.
Join - Answer -combines two tables by comparing related columns.
Union - Answer -selects all rows of two tables.
Intersect - Answer -selects rows common to two tables.
Difference - Answer -selects rows that appear in one table but not another.
Rename - Answer -changes a table name.
Aggregate - Answer -computes functions over multiple table rows, such as sum and
count.
Relational rules - Answer -logical constraints that govern data in every relational
database e.g. unique primary key, unique column names, no duplicate rows
pf3