test 1 Flashcards

1
Q

What is a Database Management System (DBMS)?

A

A suite of tools for creating and managing large
amounts of data efficiently and allowing it to
persist over long periods of time safely

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

What is a database?

A

A collection of data that is managed by a DBMS

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

What are the functions of a DBMS?

A

– Allow users to create new database and specify their schema

– Give users the ability to query the data

– Support the storage of very large amounts of data

– Enable durability, the recovery of the database in the face of
failures, errors of many kinds, or intentional misuse

– Control access to data from many users at once, without
allowing unexpected interaction among users and without
actions on the data to be performed partially but not
completely

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

What is Data-Defining Language (DDL)?

A

Used to define/altering
schema (structure) of
database.

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

What is Metadata?

A

Acts as a guide to reach data. Data about data

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

What is Data-Manipulation Language (DML)?

A

Modifies data

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

What are Constraints?

A

The define limitations on what data can be.

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

What are the operations on data?

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

What is Structured data?

A
  • Information stored DB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is semi-structured data?

A

Data that may have certain structure but not all information collected has identical structure

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

What is unstructured data?

A

Very limited indication of data type.

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

What are the key differences between semi-structured and structured data?

A
  • Semi-structured data is mixed in with its schema
  • Sometimes known as self-describing data
  • Can be displayed as a graph
  • names of attributes, relationships, and
    classes in the semi-structured data as
    intermixed with their data values in the same
    data structure
  • Semi-structured data has no requirement
    for pre-defined schema to contain data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What kind of data has limited indication of data types?

A

Unstructured Data

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

What is an Entity?

A

An abstraction object
of some sort.

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

What is an entity set?

A

collection of similar entities.

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

What is an attribute?

A

property of (the entities of) an entity set.

17
Q

What are relationships in entities?

A

connections among two or more entity sets.

18
Q

What is the current “value” of an entity set?

A

The set of entities that belong to it.

19
Q

What is a Many to Many (M:N) relationship?

A

an entity of either set can be connected to many entities of the other set.

20
Q

What is a One to Many (1:M) relationship?

A

An entity of one set is connected to at least one, but the other set has many connections

21
Q

What is a One to One (1:1) relationship?

A

each entity of either
entity set is related to at most one entity of the
other set.

22
Q

What is Cardinality?

A

The number of instances participating in the relationships at anytime.

23
Q

What conditions should an entity set satisfy?

A

– It is more than the name of something; it has at
least one non-key attribute.

or

– It is the “many” in a many-one or many-many
relationship

24
Q

What is a key?

A

a set of attributes for one entity set such that no two entities in this set agree on all the attributes of the key.

25
Q

What are degree constraints?

A

Limits on the number of entities that
can be connected to any one entity of
the related entity set

26
Q

What makes a “weak” entity?

A
  • Some entity sets fall into a hierarchy based on classifications unrelated to the “isa hierarchy”
  • The connecting entity sets that eliminates a
    multiway relationship
27
Q

What are weak entity rules?

A
  • A weak entity set has one or more many-one
    relationships to other (supporting) entity sets.
  • The key for a weak entity set is its own underlined attributes and the keys for the supporting entity sets.
28
Q

What is a degree of a relationship?

A

The number of entities connected by the relationship.

29
Q

What is a recursive relationship?

A

refers to a relationship between entities of the same type.

30
Q

Describe an archetype/instance relationship?

A

refers to the relationship between a general entity (the archetype) and specific occurrences of that entity (the instances).

31
Q

Describe an “is-a” relationship?

A

indicates that one entity (a subclass or child) is a specialized form of another entity (a superclass or parent) and establishes a hierarchy where the child entity inherits the properties and behaviors of the parent entity.

32
Q

What is a data model?

A

data structure on an entity?

33
Q

What is a relational model?

A

data structure on a relation.