Section 6: Data Flashcards

1
Q

Why do we need Database Management Systems? (DBMS)

A

It allows the organization to access and store all of its data for each employee so it can be easily accessed

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

Why do we need database research?

A

It allows for organizations to analyze data and make better business decisions

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

How are databases and the World Wide Web interconnected?

A

Websites interface between clients and databases, responding to client requests.

(Client sends a request to the server, the web servers search a database, organize the results in a web page, finally it sends that page to the client)

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

How many layers are in the DBMS?

What are they and explain what they do.

A

1) Application Layer - Communicates w/ the end user and can be fairly complex (Receives request, sends request to DBM Layer)

2) Database Management Layer - Holds data in data tables (records and fields) as well as fulfills requests sent by application layer.

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

What are records and fields in a data table?

A

Records = Rows

Fields = Columns

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

Name the different types of Data.

A

Integers - Whole Numbers (1,2,3,4)

Floating Point Numbers - Numbers stored as decimals (1.34, 2.67)

Characters - Letters and other types of characters (D, #, l , k , !)

Character Strings - String or combination of Characters (dsfoihei!@#$Ssfd#)

Boolean Values - Yes or No values (True / False)

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

What is a flat-file database?

How does it store data?

A

A simple data table. A flat-file database can not contain multiple tables

Stores data as a plain text file

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

What is a hierarchical database?

A

Stores data in a tree like structure. There is one parent for each record.

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

What is a segment in a hierarchical databse?

A

It is an optional node that forms a sub-tree

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

What is a relational database?

A

Tables that can be joined in logical ways.

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

What is a primary key?

A

A unique identifier that creates the relationship among tables. Typically a field not record

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

What is a foreign key?

A

When a primary key is marked on one table but is also found on another table. That second primary key is the foreign key.

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

What are Object-Oriented databases (OO)?

A

Stores complex data and relationships between data directly w/out user inter-table relations

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

What are NoSQL databases?

A

Not only SQL.

Can accommodate a wide variety of data models
- Key-value
- document
- columnar
- graph formats

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

What are graph stores?

A

Used to store information about networks of data (social connections)

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

What are wide-column stores?

A

Stores are optimized for queries on large data sets and store columns of data together, instead of in rows

17
Q

What is a document-format database

A

Pair each key with a complex data structure known as a document (Documents can contain many different key-value pairs)

18
Q

What are distributed databases?

A

Consists of data residing on different machines

19
Q

What are SQL statements used for?

A

Queries that identify what data should be retrieved or how the data should be manipulated

20
Q

How does SQL and the database server interconnect?

A

DBMS provides a mechanism to send the code to and from the database server

21
Q

What does the selection operation do?

A

Takes rows from one table and creates a new table

22
Q

What does the keyword ‘SELECT’ do?

A

Identifies the records that are being requested

23
Q

What does the keyword ‘FROM’ do?

A

Identifies the table name

24
Q

What does the keyword ‘WHERE’ do?

A

The condition the query is requesting

25
Q

What does the ‘*’ do?

A

Everything from the table is selected

26
Q

What is the ‘UNION’ operation?

A

Combines distinct fields from multiple tables that have the same set of attributes and data types

27
Q

What is the ‘PRODUCT’ operation?

A

Creates a result table that includes all of the attributes from the two tables

28
Q

What is the ‘JOIN’ operation?

A

Combines two tables, but records are only appended when a matching criterion is met

29
Q

What are the DBA responsibilities?

A

1) Security

2) Tuning

3) Availability

4) Continuity

5) Backup and recovery

6) Reporting

7) Design and develop database applications

30
Q

What is business intelligence?

A

Using collected data to assist in making predictions and decisions that will increase profits.