Databases Exam 100% Correct!!
What are the three parts of the database model? - ANSWERSData structures that
prescribe how data is organized.
Operations that manipulate data structures.
Rules that govern valid data.
What is a Set? - ANSWERSAn 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? - ANSWERSAn 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?
- ANSWERSRelation, attribute, tuple, and domain
What terms mean the same as table, column, row and data type in file processing? -
ANSWERSFile, field, record, and data type
Relational algebra - ANSWERSRelational operations that generate a result table from
input tables
Select - ANSWERSselects a subset of rows of a table.
Project - ANSWERSselects (or chooses) certain attributes discarding other attributes
Product - ANSWERSlists all combinations of rows of two tables.
Business rules - ANSWERSbased on business policy and specific to a particular
database.
SQL constraints - ANSWERSimplementation of relational rules enforced by the
database system
Structured Query Language / SQL - ANSWERShigh-level computer language for
storing, manipulating, and retrieving data.
SQL statement - ANSWERScomplete command composed of one or more clauses,
ends in semicolon