Week 1 Flashcards

1
Q

Relational database system

A

Structured, (Operational workload,(backing, online store)

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

So what we want here is to build systems, data processing systems,
data management systems that can cope with the

A

volume,

velocity and variety aspects of the big data

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

NoSQL Graph doc, key-value stores

A

Unstructured data (highly available systems

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

Hadoop, Spark

A

For analytics over massive scale data

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

What kind of software should be used if one needs to store data online, make certain parts of it accessible by different user types, and searchable?

A

Database Management Software

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

What is a characteristic of big data?

A

Data comes from different sources in Different formats

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

What is a database

A

A very large integrated collection of data

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

What does a database do?

A

Models relationships between these entities

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

Three parts of a database management system (DBMS)

A

1) Store data
2) Retrieve Data
3) Manage Data

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

6 Benefits of DBMS

A

1) Data Independence
2) Efficient Data Access
3) Data Integrity and Security
4) Data Administration
5) Concurrent Access and Recovery
6) Reduced App Development Time

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

data independence

A

Isolate the user of the system from how the data is managed ad organized.

The person who’s building the application doesn’t need to know anything
about how the data is stored, how the data is organized inside the database.
All they care about is, again, the application and the database system
takes care of everything related to the organization of the data,
everything related to the performance, the scalability issues.

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

efficient data access

A

So efficient data access means that if the application developer doesn’t have a database management system. Then you need to take care of how to, for example, index the data or how to efficiently retrieve the data from where it’s stored. And this is again a lot of burden on the user. So the database management system releases or
carries that burden and the user doesn’t need to do it

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

Data Administration

A

And data administration means that you have just one location that you store the data in. And you have one portal to allow for an administrator

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

Concurrent Access and Recovery

A

f you have multiple users using the data at the same time, you need to allow for concurrent access.
So concurrent access, the database management systems allow users to concurrently access and run transactions against the database

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

Data Integrity and Security

A

So a database management systems takes care of how to secure the data stored in the database.
So we have heard recently of several data breaches like the Equifax data breach, or that happens sometimes. And if you have a really good database management system,
it takes care of the data security itself.

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

Reduced App Development Time

A

So if you have a system that allows you to, to give you the efficient data access, it has one place for secure and integrated data, and also data independence.
The application developer all, what he or
she needs to focus on is just the logic of their own application instead of focusing on the scalability, efficiency, security of the database. So you just focus on the logic of the application.

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

What does data independence mean for a DBMS?

A

Not required to know how the data in the application is stored

18
Q

What is a data model

A

A data model is a collection of concepts that describe the data.

19
Q

What is a schema

A

Is a description of the data a model

20
Q

What is an example of a data model

A

So the most widely used data model in database systems is the relational model

21
Q

relations =

A

table

22
Q

Each column represents

A

And each column represent an attribute of this entity

23
Q

W​hat is the relationship for the number of physical schemas to logical schemas in a DBMS?

1) n:1
2) 1:1
3) 1:n

A

2) 1:1

24
Q

Three types of schema

A

1) physical schema - The way the data is stored and organized
2) conceptual schema - how the data is logically represented (like relational model )
3) external schema / views - multiple external schemas in a database (collect info from different tables)

25
Q

What is logical data independence?

A

protects the user or
the application on top of the database from changes in the logical schema or
the logical structure of the data.

26
Q

What is physical data independence,

A

Protects the application

from changes in the physical schema or the physical structure of the data

27
Q

What is the most widely used data model today?

A

Relational Model

28
Q

Which of the following is true about data schemas?

A

There may be multiple external schemas for a given database

29
Q

Database design - Phase 1

A

Requirement Analysis

30
Q

Database design - Phase 2

A

Conceptual Database Design (draw the database_

31
Q

Database design - type of diagram

A

(ER) entity relationship model

32
Q

Database design - Phase 3

A

Logical Database Design

33
Q

In the example, what are the two entities in the company database?

1) Dept, Employee
2) Dept, Budget
3) Employeem, SSN

A

1) Dept, Employee

34
Q

In the example, what are the two entities in the company database?

1) Dept, Employee
2) Dept, Budget
3) Employeem, SSN

A

1) Dept, Employee

35
Q

3 types of relationships

A

1) 1 to 1
2) 1 to Many
3) Many to Many

36
Q

Weak Entities (ER)

A

Weak Entities can be identified uniquely only by considering the primary key of another entity (owner)

37
Q

Weak Entities (ER)

A

Weak Entities can be identified uniquely only by considering the primary key of another entity (owner)

38
Q

Example of Weak Entities (ER)

A

Family of dependents depends in a work database

39
Q

Rules of Weak Entities (ER)

A

1) must participate in a one-to-many relationship with a stronger entity.
2) a weak entity must have total participation in the relationship with the stronger entity

40
Q

In the example, can dependents be a primary key?

A

No, because it is a weak entity and must participate in relationship with employees.