Databases 1 Flashcards

1
Q

what is a database?

A

its a collection of data items structured so that data can be searched and retrieved when necessary

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

what is a flat file?

A

the entire base is stored in a single file and there is one row for each record and one column for each field

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

what is data duplication?

A

this is the duplication of data

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

what is data inconsistency?

A

the more often data has to be keyed the more chance there is for errors in data entry

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

what is poor data integrity?

A

data that is erroneous or inconsistent is not reliable

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

why is relationship databases more powerful?

A

its a more powerful way of storing data as the relationships allow data to be retrieved from a number of tables using a single query and there is less data redundancy

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

what is a primary key?

A

consists of more than one attribute that identifies one record from any other

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

what is a foreign key?

A

its a primary key in one entity which is included in another entity to link the two tables

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

how are relationships formed?

A

foreign keys that link tables together

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

constraint’s help control data integrity and fix problems such as:

A

entering project name in a field where a project name is expected

having two projects with the same project ID

maintaining data integrity

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

what does the features of constraints provide?

A

allows us to set field properties, link tables and set constraints help to increase the reliability of the data

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

what are some of the operations that can be allowed or disallowed to a user?

A

SELECT

INSERT

DELETE

ALTER

CREATE

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

what can SQL allow you to do?

A

allows most users to query and manipulate data, as well as protect it from unwanted updates, deletions or other errors

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

what is the relational models portability?

A

its standard

by adhering to the rules of the relational model you ensure that your data can be transferred between relational database systems relatively easily

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

what is an attribute?

A

an individual data item within an entity.

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

what in entity?

A

identifies an object about which data will be stored within the system

17
Q

what is composite key?

A

consists of more than one attribute to uniquely identify an entity occurrence or record

18
Q

what is a relationship?

A

its an established by a foreign key in one entity linking to the primary key in another

19
Q

what is referential integrity?

A

it ensures that data in one table does not contradict the data in another table

20
Q

what is data design?

A

identifying the relationship between data and creating a logical design which is best suited to the data required for a system

21
Q

what are the steps in designing a database?

A

first is to identify and state what data needs to be stored

from the statement of data requirements a conceptual data model is produced

22
Q

what is a logical data model?

A

when creating a logical data model entities and their relationships are identified with the keys. the attributes of each entity are also identified

a logical data model does not describe the physical structure of the real database

23
Q

what is a physical data model?

A

its derived from the logical data model and includes the specification of all tables and the columns inside them.

the physical data model contains the primary keys of each table and it specifies the relationship between the tables using foreign keys