IB Comp Sci - Option A: Databases (SL)

studied byStudied by 26 people
0.0(0)
Get a hint
Hint

Data

1 / 29

flashcard set

Earn XP

30 Terms

1

Data

  • Meaningless without processing

  • To be useful, must be interpreted to produce information

New cards
2

Information System

Any combination of information technology and people's activities using that technology to support operations, management, and decision-making.

Databases are a component within the system.

New cards
3

Data integrity

Refers to accuracy, completeness, and validity (it follows the rules) for data

New cards
4

Data redundancy

Situation where the same piece of data is stored in two or more different places

New cards
5

Database schema

Diagram that defines how data is organized in a relational database (includes table names, fields, data types of fields, and relationships between tables)

New cards
6

Normalization

Process by which larger tables in a database are divided into smaller tables while ensuring data integrity and reducing data redundancy

New cards
7

Concurrency

Multiple users to access database at the same time without interfering with each other

A database management systems (DBMS) concept that is used to address conflicts with simultaneous (same time) accessing or altering of data that can occur with a multi-user system.

New cards
8

Data modeling

Process of creating a visual representation of a whole or part of an information system

New cards
9

Data segmentation

The process of taking the data you hold and dividing it up and grouping similar data together based on the chosen parameters so that you can use it more efficiently within marketing and operations

New cards
10

Primary key

A field that is distinctive for each record

New cards
11

Foreign key

A field in one table that refers to the primary key field in another table

New cards
12

Primary composite key

Two fields that function as a primary key when one field is not enough to uniquely identify records

New cards
13

1st Normal Form

Normalization standard - eliminate duplicate columns, columns with multiple types of values (non-atomicity), create separate tables for each group of related data (with unique primary keys)

New cards
14

2nd Normal Form

Normalization standard - Atomic values, no duplicate columns, eliminate partial dependency (columns dependent on one attribute of a composite primary key)

New cards
15

3rd Normal Form

Normalization standard - Atomic values, no duplicate columns, all components must depend on the full primary key, eliminate transitive dependency

New cards
16

Partial dependency

When one field depends on only one field in a primary composite key, but not the other(s)

New cards
17

Transitive dependency

When one field depends only on another field that is not the primary

New cards
18

Database transactions

A ___ is a unit of work that you want to treat as "a whole." It has to either happen in full or not at all.

A logical unit of work must exhibit four properties, called the atomicity, consistency, isolation, and durability (ACID) properties, to qualify as a ___.

Remember if the ___ does not complete it will roll back.

New cards
19

ACID (atomicity, consistency, isolation, durability)

A set of properties of database transactions intended to guarantee data validity despite errors, power failures, and other mishaps.

New cards
20

Data dictionary

A file or set of files that stores information about the database and the tables inside

New cards
21

Data Definition Language (DDL)

Set of commands that allow us to define and modify the structure and metadata of a database

New cards
22

Database Management System (DBMS)

Set of programs that allows a user to read, store, change / extract data in a database (CRUD)

New cards
23

Functions of a DBMS

  • Data dictionary management

  • Data storage management

  • Data transformation and presentation

  • Security management

  • Multiuser access control

  • Backup and recovery management

  • Data integrity management

  • Database access languages and application programming interfaces

  • Database communication interfaces

  • Transaction management

New cards
24

Database administrator

A person who ensures that data in a database is performant, secure, and recoverable

New cards
25

3 levels of schema

Determine at what complexity level the database is at:

Conceptual - Conceptual ERD is the simplest model

Logical - This is more complex than the conceptual and may have more details such as column types

Physical - Represents the actual design blueprint of a relational database

New cards
26

Conceptual ERD

  • Entities and relationships modeled in such ERD are defined around the business's need.

  • The need of satisfying the database design is not considered yet.

<ul><li><p><strong>Entities and relationships</strong> modeled in such ERD are defined around the business's need.</p></li><li><p>The need of satisfying the database design is not considered yet.</p></li></ul>
New cards
27

Logical ERD

  • It is more complex in that column types are set.

  • The setting of column types is optional and if you do that, you should be doing that to aid business analysis.

  • It has nothing to do with database creation yet.

<ul><li><p>It is more complex in that <strong>column types are set</strong>.</p></li><li><p>The setting of column types is optional and if you do that, you should be doing that to aid business analysis.</p></li><li><p>It has nothing to do with database creation yet.</p></li></ul>
New cards
28

Physical ERD

  • Represents the actual design blueprint of a relational database.

  • It represents how data should be structured and related in a specific DBMS so it is important to consider the convention and restriction of the DBMS you use when you are designing it.

    • An accurate use of data type is needed for entity columns and the use of reserved words has to be avoided in naming entities and columns.

<ul><li><p>Represents the actual design blueprint of a relational database.</p></li><li><p>It represents how data should be structured and related in a specific DBMS so it is important to consider the convention and restriction of the DBMS you use when you are designing it.</p><ul><li><p>An accurate use of data type is needed for entity columns and the use of reserved words has to be avoided in naming entities and columns.</p></li></ul></li></ul>
New cards
29

Simple Query

Might use all of the fields in a table and search using just one parameter

New cards
30

Complex Query

Might use just the necessary fields about which the information is required, but it will still use just one parameter (search criteria)

New cards

Explore top notes

note Note
studied byStudied by 46 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(2)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 333 people
... ago
5.0(2)
note Note
studied byStudied by 6 people
... ago
5.0(2)
note Note
studied byStudied by 190114 people
... ago
4.8(752)

Explore top flashcards

flashcards Flashcard (107)
studied byStudied by 50 people
... ago
5.0(4)
flashcards Flashcard (28)
studied byStudied by 29 people
... ago
5.0(2)
flashcards Flashcard (26)
studied byStudied by 39 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (83)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (36)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (62)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 29 people
... ago
5.0(1)
robot