database

studied byStudied by 2 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 102

103 Terms

1

what is a database

structured collection of items of data

New cards
2

how can a database be accessed

through different application programs

New cards
3

what is a relational database

where data items are linked by internal pointers

New cards
4

what is a table

group of similar data

New cards
5

what is a record

row in a table in a database

New cards
6

what is a field

column in a table in a database

New cards
7

what is a tuple

one instance of an entity represented in a row

New cards
8

what is an entity

anything that can have data stored about it

New cards
9

what are attributes

an individual data item stored for an entity

New cards
10

what is an example of attribute database for a human

name, address, date of birth

New cards
11

what is a candidate key

an attribute or smallest set of attributes in a table

New cards
12

what key represents no tuple having the same value

candidate key

New cards
13

what is a primary key

a unique identifier for a table

New cards
14

what is a secondary key

a candidate key that is an alternative to the primary key

New cards
15

what is a foreign key

a set of attributes in one table that refer to the primary key in another table

New cards
16

what is a relationship

one table in a database has a foreign key that refers to a primary key in another table in the database

New cards
17

what is referential integrity

does not contain any values of a foreign key that are not matched to the corresponding primary key

New cards
18

what is an index

built from one or more columns in a database table to speed up searching for data

New cards
19

what is entity-relationship model

a graphical representation of a database and the relationships between the entities

New cards
20

what does ER stand for

entity relationship

New cards
21

what is normalisation

organising data to be stored in a database into two or more tables and relationships between the tables

New cards
22

what does normalisation help with

data redundancy minimisation

New cards
23

what is first normal form

status of a relational database in which entities do not contain repreated groups of attributes

New cards
24

what does 1NF stand for

first normal form

New cards
25

what is second normal form

status of a relational database in which entities are in 1NF and any non-key attributes depend upon the primary key

New cards
26

what is third normal form

entities are in 2NF and all non-key attributes are independent

New cards
27

what is composite key

form a primary key to provide a unique identifier for a table

New cards
28
<p>what does this picture show </p>

what does this picture show

entity relationship diagram

New cards
29

what is a file

collection of items of data

New cards
30

what can individual elements of data called

data items

New cards
31

what do you need to consider when changing a record in the another program

structure needs to be the same

New cards
32

what do you need to consider if you have to change the structure of a record when updating

you must rewrite the structure of others

New cards
33

what is the main issue with not storing with a file-based approach

inconsistency, redundant, non independent data

New cards
34

what is a word for an electronic filing cabinet

database

New cards
35

what can you do in a database

insert, retrieve, update, cross-reference data

New cards
36

what kind of database has internal pointers linking data items

relational database

New cards
37

which is better, database approach or fie-based approach

database approach

New cards
38

what makes database approach better

less storage used, no redundancy, independent data, consistent data

New cards
39

where are attributes on database tables

columns

New cards
40

where are entities on database tables

rows

New cards
41
<p>What approach is this</p>

What approach is this

File

New cards
42
<p>What approach is this</p>

What approach is this

Database

New cards
43

what should be thought of when trying to keep relational integrity

database must not contain values of a foreign key that are not matched in corresponding primary key

New cards
44

what are the form or relationships in databases

one to one

one to many

many to one

many to many

New cards
45

what are candidate key in a table

all attributes

New cards
46

what key is usually always there

primary key

New cards
47

if it isn’t primary key, what is it in a table

secondary key

New cards
48

what else is the primary key in a table

candidate key

New cards
49
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

one to one

New cards
50
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

one to many

New cards
51
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

many

New cards
52
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

one or more

New cards
53
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

one and one only

New cards
54
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

zero or one

New cards
55
<p>what cardinality of relationships is this</p>

what cardinality of relationships is this

zero or many

New cards
56
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

entities

New cards
57
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

attributes

New cards
58
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

relationships among entities

New cards
59
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

attributes to entities and entity sets with other relationship types

New cards
60
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

multi-valued attributes

New cards
61
<p>what symbol does this represent in databases </p>

what symbol does this represent in databases

weak entity

New cards
62

what is cardinality

number of elements in a set

New cards
63

what will happen to tables if they are not normalised

they will be larger with more data stored

New cards
64

what happens to data if it was not normalised in a table

becomes redundant

New cards
65

what is the problem of a non-normalised table

harder to update and difficult to extract data

New cards
66

what happens when you add data to a non-normalised table

you will have to change everything repeated everywhere manually

New cards
67

what can normalise tables

1NF, 2NF, 3NF

New cards
68

what does 1NF do

do not have repeated groups/attributes

New cards
69

what does 2NF do

any non-key attributes depend upon primary key and no partial dependencies

New cards
70

what does 3NF do

all non-key attributes are independent so there are no non-key dependencies

New cards
71

where are entitles in 2NF from

in 1NF

New cards
72

where are entities in 3NF from

2NF

New cards
73

mandatory or option cardinality? : one to many

mandatory

New cards
74

mandatory or option cardinality? : one or more

mandatory

New cards
75

mandatory or option cardinality? : one and only one

mandatory

New cards
76

mandatory or option cardinality? : zero or one

optional

New cards
77

mandatory or option cardinality? : zero or many

optional

New cards
78

what does it mean by optional cardinality

may or may not participate in a relationship with another entity

New cards
79

what does it mean by mandatory cardinality

must participate in a relationship with another entity

New cards
80

what is a compound key

two or more fields are needed to create a unique value

New cards
81

what does ASC mean in databases

ascending order

New cards
82

what does DESC mean in database

descending order

New cards
83

what does ORDER BY mean database

sorts data in ascending or descending

New cards
84

what does UPDATE do

change values in one or more columns

New cards
85

what does DBMS stand for

Database management system

New cards
86

what is DBMS

system software for creation and manipulation of a database

New cards
87

what is data management

organisation and maintenance of data in a database to provide the information required

New cards
88

what is data dictionary

set of data that contains metadata for a database

New cards
89

what is metadata

data about other data

New cards
90

what is data modelling

analysis and definition of the data structures required in a database and to produce a data model

New cards
91

what is logical schema

a data model for a specific database that is independent to DBMS used to build that database

New cards
92

what is access rights database

permissions given to database users to access, modify or delete data

New cards
93

what is developer interface

feature of a DBMS that provides developers with the commands required for definition, creation and manipulation of a database

New cards
94

what does SQL stand for

structured query language

New cards
95

what is SQL

language used with relational databases for data definition and data modification

New cards
96

what is query processor

features of a DBMS that processes and executes queries written in SQL

New cards
97

how does data redundancy issue get solved

storing data in separate linked tables

New cards
98

what issues does DBMS flag to improve data redundancy

accidental deletion or errors

New cards
99

how do you fix data inconsistency issue

storing most items only once

New cards
100

how do you fix data dependency issue

changes made have little or no effect on the applications using the database

New cards
robot