Shared Flashcard Set

Details

CIS 326 Midterm
20 Essay Questions
33
Computer Networking
Undergraduate 4
03/12/2012

Additional Computer Networking Flashcards

 


 

Cards

Term
What is a database & what are it's 3 characteristics?
Definition

- Database is a collection of related tables and queries that share rows and/or columns

 

-Persistent, Interrelated, & Shared

Term
Distinguish between a database and a database management system
Definition

-Database: a collection of persistent data that can be shared and interrelated

 

-DBMS: collection on components that support data acquisition, dissemination, maintenance, retrieval, and formatting

Term
Concept of relational database, and how we relate DB's together
Definition
through the use of common key fields that link entities together.
Term
Phases and Deliverables
Definition

Concept Data Modeling

LogisticalDatabase Design

Distributed Database Design

Physical Database design

Term
conceptual database design
Definition
uses data requirements and produces entity relationship diagrams (ERD's) for the conceptual schema and each external schema
Term
logical Database design
Definition
transforms the conceptual data model into a format understandable by a commercial DBMS
Term
Distributed Database design
Definition
allocate subsets of database to different sites, replicate subsets of database to improve availability
Term
Physical Database design
Definition
actual programming of the DB takes place
Term
2 types of integrity
Definition

1) Entity: has primary keys

2) Referential: has foreign keys to relate to another table

Term
role of Database Administrator & responsibilities
Definition

-technical: update software, primary responsibility is database design, designing conceptual and internal schema, monitoring performance, selecting and evaluating software, managing security for DB usage, troubleshooting

-Non Technical: promote use of database techniques, setting standards, devising training materials, promoting benefits, consulting with users, planning new databases

Term
Database Manipulation Statements
Definition
INSERT, UPDATE, DELETE
Term
cardinality
Definition
minimum # of times an entity will participate and maximum # of times an entity will participate
Term
Constraints
Definition

Supre Type

Sub Type

Inheritance

Completeness

Disjointness

Term
Super Type
Definition

a parent entity type in a generalization hierarchy 

*represents a more general entity type than sub type

Term
Sub Type
Definition

child entity in generalization hierarchy

* represents more specialized entity

Term
Inheritance
Definition
a data modeling feature that supports sharing of attributes between a super types and a sub type. subtype inherits attributes from super type
Term
Completeness
Definition
every entity of a super type must be an entity in one of the sub types
Term
Disjointness
Definition
sub types do not have entities in common
Term
Completeness Rules (5)
Definition

1) Primary Key Rule

2) Naming Rule

3) Cardinality Rule

4) Entity Participation Rule

5) Generalization Hierarchy Participation Rule

Term
Naming Rule
Definition
all entity types, relationships, and attributes have a name
Term
Cardinality Rule
Definition
specified in both directions for each relationship
Term
Entity Participation Rule
Definition
all entity types participate in at least one relationship except for those in generalization hierarchy
Term
Generalization Hierarchy Participation Rule
Definition
at least one entity type in a generalization hierarchy participates in a relationship
Term
Consistency rules (3)
Definition

1) entity name rule

2) attribute name rule

3) inherited attribute rule

Term
entity name rule
Definition
entity type names must be unique
Term
attribute name rule
Definition
all attribute names must be unique within  each entity type and relationship
Term
Inherited Attribute rule
Definition
attribute names in a subtype do not match inherited attribute names
Term

SQL

 

retrieving data from on table arranged in Order using SELECT

Definition

SELECT FacFirstName, FacLastName, FacSalary

FROM Faculty

 

(Project Statement)

 

FROM FACULTY

Where FacSSN = '123456789'

Term

SQL

Retrieving data from 2 tables (JOIN)

Definition

SELECT OfferNo, CourseNo, FacFirstName, FacLAstName

FROM Offering INNER JOIN Faculty

ON Faculty.FacNo = Offering.FacNo

WHERE Off Term = 'Fall' AND OffYear = '2009'

AND FacRank = 'ASST' AND CourseNo LIKE 'IS*'

Term

SQL

Retrieving data from 2 tables using aggregate functions (GROUP BY and HAVING)

Definition

SELECT StdMajor, AVG(StdGPA) AS AvgGpa

FROM Student

WHERE StdClass IN ('JR','SR')

GROUP BY Std Major

HAVING AVG(StdGPA) > 3.1

Term

1-1 relationship

Which side does the FK go on?

Definition

either; FK's are requires;

BOTH sides have 2 little lines across the long line

Term

1-M relationship

 

Definition
FK goes on the Many side' 2 little lines on 1 and crows feet on many
Term
M-N relationship
Definition
two 1-M relationships with an associates table
Supporting users have an ad free experience!