CSCI 475 Ch. 1-3 Flashcards

1
Q

data dictionary

A

stores metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

data

A

raw facts from which information is generated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

database

A

computerized record keeping system or computerized collection of data and metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

database management system (DBMS)

A

manages database structure as well as access to the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DDL

A

Data Definition Language (ex: Create table Student { … })

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DML

A

Data Manipulation Language (ex: Select, Update, Delete)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

information

A

processing of data to reveal meaning; asking questions about the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

metadata

A

data about the data in order to reveal information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

query

A

ask questions about the data in order to reveal information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SQL

A

Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SQL is both

A

DDL and DML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

consistent data

A

rules in data dictionary enforced, such as datatype and length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

data anomaly

A

when not all of the required data changes are made successfully (update, insert, delete)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

data integrity

A

enforces data reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

data model

A

bridges real world and computer databases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

data redundancy

A

same data stored unnecessarily in different places

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

ER-Model or ER-Diagram

A

a visual representation of entities and their relationships

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

constraint

A

restriction of data such as a range or length of values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

relationship

A

‘verb’ - association among tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

entity

A

‘noun’ - person, place, thing, or event; also referred to as a table in DBMS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

record

A

a set of data; also referred to as a tuple in DBMS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

schema

A

conceptual organization of a database, such as ENROLLED(CLASS_ID, STU_ID)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

business rules

A

a description or narrative of the entities and their relationships

24
Q

field

A

characteristics of an entity; also referred to as an attribute in DBMS

25
NoSQL assumes
unstructured data
26
NoSQL has 3 V's:
volume, velocity, variety
27
functional dependency
one field determines another field
28
example of functional dependency: Student ID -> Student LName (which is the determinant and which is the dependency?)
``` determinant = Student ID dependency = Student LName ```
29
referential integrity
if the foreign key has a value, it must reference a primary key in the table it references
30
candidate key
field or set of fields that uniquely identifies a record
31
a candidate key (can/cannot) be null
cannot
32
candidate keys must be
minimal
33
candidate keys are ? in schema
underlined
34
primary key is (one/a set of) field(s)
one
35
composite key is (one/a set of) field(s)
a set of
36
surrogate key
a candidate key that automatically increments
37
foreign key
a field in one table references a primary key in a second table
38
how do you relate tables?
using foreign keys
39
foreign keys maintain data integrity by
defining constraints
40
foreign keys can be ? or ?
optional (allow null) or mandatory (cannot be null)
41
homonym
two attributes with same name but different meanings
42
example of a homonym
ID and ID - one might be an employee id where the other is a skill id
43
synonym
two attributes with different names but same meanings
44
example of a synonym
ID and Student_ID - both contain the same information but in different tables
45
completeness
degree to which relational algebra is supported
46
a language is considered minimally relational if
SELECT, PROJECT, and JOIN are supported
47
closure
relational algebra produces new tables
48
? and ? are closed operations
SELECT and PROJECT
49
degree
number of fields
50
cardinality
number of records
51
union
all records except for the same ones only appear once
52
intersection
all the same records
53
difference of A - B
all records in A minus the ones present in B
54
product
cross product
55
divide
returns how many instances
56
SELECT always holds ? constant because ?
degree b/c it restricts records
57
PROJECT always holds ? constant because ?
cardinality b/c it restricts fields