Test 1 Flashcards

1
Q

Relationships

A

One to one
One to many
Many to many

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

Connectivity vs cardinality

A

Co.- describes the relationship classification

Card.- expresses min.&max. # of entity occurrences associated with one occurrence of related entity

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

DIKW hierarchy

A

Data:raw
Information : data in context
Knowledge: application of data
Wisdom: evaluated understanding

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

What is stored ?

A

End-user data - raw facts that are of interest to the user

Metadata - data about data - names of fields and tables in which data are stored

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

Parent and child

A

Relationship b/w tables the table whose PK is being referenced is the parent table. The table referencing the PK w/ a foreign K is the child table.

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

Altering tables

Add , drop & modify

A
Add column 
Add column_name datatype options
Modify changes the column characteristic 
Modify (column_name[options])
Drop deletes table/column 
Drop column column_name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Data modeling

A

Graphical abstraction of real world

Notation: crows notation

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

Entity vs attribute

A

En. - is an object about which data will be stored; it is distinct from other objects
At.- is a characteristic of an entity

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

Relationship participation

A

Op. - one entity occurrence doesn’t require corresponding entity occurrence in particular relationship
Mp.- one entity occurrence corresponding entity occurrence in particular relationship

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

Primary key
Composition key
Candidate key

A

PK- an attribute of attributes that uniquely identifies any given row
Ck - FK is a key composed of more than 1 attribute
Cand. Key- is any field that can be used as a PK

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

Create table
Unique
Check
Default

A

,=,>=,<=,IN(values)
Unique- means that there can be no duplicate values in this field
Check- can be used to require values in certain field to meet specific criteria
Default- can be used to assign a default value to a field

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

Classification

A

Multiuser vs single user
Centralized vs distributed
Operational vs analytical

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

Referential integrity

A

Foreign K ensures the condition in which every reference to a row in a parent entity by a row in child entity is valid
A child table cannot reference a nonexistent parent
A parent cannot be deleted with a reference in a child table.

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

SQL

A

Structured query language
SQL functions fit 2 categories
Data def. Lang. & manipulation Lang.

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

Relational model

A

Entities- table
Attributes- fields
Instances-rows
Relationship - primary &foreign key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
Syntax notation 
[]
|
{}
Aa
_
...
...,
A
[]- used to enclose option items 
| used to separate items 
... indicate items that may be repeated 
.., repeated but separated by a comma 
{} item grouping 
Aa- items specified by the end user 
_ default options
17
Q

Issue w/ unstructured data (5)

A
Data inconsistencies 
Time
Structural dependence
Data redundancy 
Data anomalies
18
Q

Relationship

A

Describes an association b/w entities

19
Q

Creating databases

A

Create a database structure

Create a table that will store end-user data

20
Q

Schema

A

Group of database objects that are related to each other

21
Q

Data types (9)

A
Number
Char.
Varchar. 
Date
Timestamp 
Float 
Double 
Real
Precision
22
Q

Database management system (DBMS)

A

Electronic filling cabinet

Collection of programs that manages data, controls access, and maintains data integrity

23
Q

Entity integrity

A

Satisfied when each row in a table has its own unique identity
2 requirements
Each value in the PK must be require
No PK value can be null

24
Q

Client server model

A

Client - software program designed to send requests to a server.
Server- software program design to handle requests from a client

25
Q

Database

A

Essential for managing data related to customers, products transactions, & other items and events that are of importance to running a business

26
Q

Business rule

A

Is a brief unambiguous statement of a policy, procedure, or principle.

27
Q

Not Null

A
When added it can't be left blank 
Relationships SQL: 
Identifying foreign keys 
Determining if FK should be null or not 
Optional should have not null 
Mandatory should not have null values