session 7: fundamentals of relational database operations Flashcards

1
Q

data file

A

collection of logically related records

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

data hierarchy

A

bit
byte
field
record
data file/table
database

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

bit def

A

smallest unit of data, 0 to 1

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

byte def

A

group of 8 byte, single character

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

field def

A

logical grouping of characters into a word, a small group of words, identification #

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

record def

A

logical grouping of related fields such as student’s name, the course taken and the grade

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

data file/table

A

logical grouping of records

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

relational database

A

collection of interrelated two-dimensional tables consisting of rows and columns

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

DBMS data base management system

A

set of programs with tools to create and manage databases. Meaning adding, deleting, accessing, modifying, and analyzing data that are stored in the database.
Can access the data with query and reporting tools or apps.

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

DBMS minimizes

A

data redundancy
data isolation: application cannot access data associated with other apps
data inconsistency

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

DMBS maximizes

A

Data security: data is put in one place, risk of losing it all at once
Data integrity: meets certain constraints
Dara independence: applications and data independent so all apps are able to access same data

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

data model def

A

a diagram that represents entities in the database and their relationships

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

entity def

A

a person, place, thing about whihc an organization maintain info about

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

instance def

A

each row in a relational table which is a specific unique representation of the entity
ex: entity is student and instance of the entity would be a particular student

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

attribute def

A

each characteristic or quality particular to an entity
ex: if entity is customers attribute would be name , employee number and product colour

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

primary key def

A

the identifier field or attribute

17
Q

foreign key def

A

a field or group of field in 1 unique table that uniquely identifies a row of another table

18
Q

secondary key def

A

a field that has some identifying info but typically does not identify the record with complete accuracy

19
Q

query language

A

Structured Query Language (SQL)
Query by Exqmple (QBE)

20
Q

SQL

A

allows people to do complicated searches by using relatively simple statements/key words (SELECT, FROM, WHERE)

21
Q

QBE

A

the users fill out a grid or template (“form”) to construct a sample or description of data desired

22
Q

relationships illustrate…

A

….an association between entities

23
Q

degree of relationships

A

number of entities associated with a relationship

24
Q

entity-relationship diagram (ERD)

A

doc that shows data entities + attributes + relationships among them

25
Q

business rules def

A

precision description of policies/procedures/principles in any organization

26
Q

data dictionary def

A

provides info on each attribute such as its name

27
Q

relationships type

A

unary
binary
ternary

28
Q

unary relationship def

A

a relationship that exists when an association is maintained within a single entity

29
Q

binary relationship def

A

a relationships that exists when 2 entities are associated

30
Q

ternary relationship def

A

a relationship that exists when 3 entities are associated

31
Q

cardinality def

A

max number of times an instance of an entity can be associated with an instance in the related entity

32
Q

connectivity def

A

describes the relationship classification

33
Q

normalization def

A

method for analyzing/reducing a relational database to its most streamlined form
limit redundancy, maximum integrity and optimal processing performance
1st normal form to 3rd

34
Q

functiunal dependencies def

A

a means of expressing that the value of one particular attrbute is associated with or determines a specific single value of another attribute

35
Q

join operation def

A

a database operation that combines records from 2 or more tables in a database

36
Q

relational database model def

A

usually designed with a number of related tables each of which contains records (listed in rows) and attributes (listed in columns)

37
Q

advantage and disadvantages of relational databases

A

enable people to compare info quickly by row or column
users can easily retrieve items by finding the point of intersection of a particular row and column

large scale relational database can be composed of numerous interrelated tables => design more complex => slow search and access time

38
Q

entity relationship modelling def

A

the process of designing a database by organizing data entities to be used and identifying the relationships among them

39
Q

third normal form characteristics

A

free of data redudancy
all foreign keys appear where needed to link related tables