U2 - Ch.5 - Database Structures Flashcards

1
Q

What is the general purpose of a database?

A

To organize and keep track of things. Notably, to keep track of multiple themes.

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

What’s a theme? What kinds of systems are used for a single theme vs multiple themes.

A

A theme is any piece of information. A single theme would be student’s grade, while multiple themes may be the student’s address, phone number, etc.

Spreadsheets can be used for a single theme, while databases are to be used for multiple themes.

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

What is intellectual property?

A

Any creative content that can be protected through a trademark, patent, copyright, etc.

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

What is content?

A

Something of value, can be considered an asset.

Eg. data, documents, tweets. etc.

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

What is a CMS?

A

A content management system that allows users to load/review/edit creative content. `

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

Define a database?

A

A self-describing collection of integrated records

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

Draw the hierarchy of data elements

A
  1. Byte (character of data)
  2. Bytes are grouped into column/fields
  3. Columns are grouped into rows/records
  4. Rows are grouped into tables/files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a field?

A

A field is a column of data (eg. student numbers of all students).

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

What is a record?

A

A row of data (eg all the student info of a particular student)

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

What are the components of a database?

A

A collection of tables, relationships among rows in tables, and metadata.

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

What is metadata?

A

Metadata is data that describes data. It basically describes what type of information is in a certain column or field.

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

What are keys, foreign keys and relational databases?

A

A key is a column that identifies unique rows in a table. Each table has a key.

A foreign key is a key in a different table than the one in which it originally resides in (usually to identify and relate data from other tables).

Relational database is a database that uses tables, keys and foreign keys.

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

What is a DBMS?

A

A database management system is a program that creates, processes and administers a database. Eg. (Oracle and IBM).

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

What are 3 main functions of DBMS?

A
  1. Create the database and its structures (building relationships and tables).
  2. Processing the database (editing, updating, modifying, deleting data in the database, can be done with SQL)
  3. Administer the database (setup security, back-ups, passwords, etc.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a database application?

A

A collection of forms, queries, reports, and application programs that process a database.

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

What’s the difference between forms, reports and queries?

A

Forms: used to read, insert, modify and delete data.

Reports: present data in a nicely readable fashion

Queries: means of getting answers from database data

17
Q

Describe the lost-update problem.

A

When two users are accessing the database at the same time, only one user can change data.

The updates done by additional users end up getting lost because of this.

Thus some mechanism of locking (such that only one user can access the database at a time) is needed to prevent this issue.

18
Q

Difference between Enterprise DBMS and Personal DBMS.

A

Enterprise supports larger organizations (i.e. > 100), while personal suffices for < 100 users (usually < 15).

19
Q

What’s an ACID transaction?

A

Atomic, consistent, isolated & durable. AKA All-or-none transaction processing.

20
Q

noSQL vs NewSQL (DBMS)

A

NoSQL is non-relational, high transaction rates, and simple data structures (no ACID support).

NewSQL have high transactions, ACID support and may be relational.