Database Unit 1: Introduction to Database Concepts Flashcards

• Explain what a database management system is. • Identify the different ways of categorising database management systems. • Identify the levels of data abstraction. • Identify the different types of databases. • Choose the appropriate type of database to use for a business problem. • Explain the concept of Big Data.

1
Q

Big Data

A

High-volume, high-velocity and/or highvariety information assets that demand
cost-effective, innovative forms of
information processing that enable
enhanced insight, decision making, and
process automation.”

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

Business Rule

A

A brief, precise and unambiguous
description of a policy, procedure or
principle within a specific organization.”

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

Cardinality

A

“The maximum number of times an instance
in one entity can relate to instances of
another entity.”

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

information

A

That data can be processed into a format.

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

Data Abstraction

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

Database

A

“An organized collection of structured
information, or data, typically stored
electronically in a computer system.”

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

Data Dictionary

A

A centralized repository that provides
information about specific data such as
meaning, relationships to other data, origin,
usage, and format. A data dictionary stores
metadata that defines and describes data
so that it can be easily understood by
anyone who would like to use it or analyse
it at a later date.”

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

Data Lake

A

“Centralized repository that allows you to
store all your structured and unstructured
data at any scale.”

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

Declarative
Languages

A

“Also called nonprocedural or very high
level, are programming languages in which
(ideally) a program specifies what is to be
done rather than how to do it.”

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

Entity

A

“A real-world object such as an employee or
a project.”

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

Entity Integrity

A

Entity Integrity ensures that there are no
duplicate records within the table and that
the field that identifies each record within
the table is unique and never null.
“The existence of the Primary Key is the
core of the entity integrity. If you define a
primary key for each entity, they follow the
entity integrity rule.”

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

Foreign Key

A

An attribute in a table that references the
primary key in another table OR it can be
null. Both foreign and primary keys must be
of the same data type.” (

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

Functional
Dependency

A

“A relationship between two attributes,
typically between the PK and other non-key
attributes within a table.”

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

Functional
Dependency

A

“A relationship between two attributes,
typically between the PK and other non-key
attributes within a table.”

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

Index

A

“An on-disk structure associated with a
table or view that speeds retrieval of rows
from the table or view. An index contains
keys built from one or more columns in the
table or view.”

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

JavaScript Object
Notation (JSON)

A

A lightweight data-interchange format. It is
easy for humans to read and write. It is easy
for machines to parse and generate.”

17
Q

Normalization

A

“The process of determining how much
redundancy exists in a table.”

18
Q

No-SQL
Databases

A

“High-performance, non-relational data
stores. They excel in their ease-of-use,
scalability, resilience, and availability
characteristics. Instead of joining tables of
normalized data, NoSQL stores
unstructured or semi-structured data, often
in key-value pairs or JSON documents.”

19
Q

Primary Key

A

“The column (field) in a relational database
that uniquely identifies the row in the table.
For example, account number is often a
primary key. A ‘composite primary key’ or
‘super key’ is made up of two or more
columns such as account number + name.”

20
Q

Referential Integrity

A

“Referential integrity requires that a foreign
key must have a matching primary key or it
must be null. This constraint is specified
between two tables (parent and child); it
maintains the correspondence between
rows in these tables. It means the reference
from a row in one table to another table
must be valid.”

21
Q

Relationship

A

“An association among entities; for
example, an employee works on many
projects. A relationship exists between the
employee and each project.”

22
Q

Transaction

A

“MySQL transaction allows you to execute
a set of MySQL operations to ensure that
the database never contains the result of
partial operations.”

23
Q

View

A

“A virtual table whose contents (columns
and rows) are defined by a query.”

24
Q

Database Management System (DBMS)

A

“A Database Management System (DBMS) is software designed to store, retrieve, define, and manage data in a database.”

25
Q

What’s the components that make up a DBMS?

A

* Hardware
The DBMS software must run on servers, and the data must be stored somewhere.
* Data.
Data can be classified as either user
data or metadata. All data has a different purposes and there are different data that can be stored in different places.
* People
Different types of people uses DBMS. The requirements would be different.
* Procedures
There are different rules that each companies manage they database.

26
Q

Waterfall Process

A

* Establishing requirement*
Statement of requirement
Analysis
System specification
Design
Design Document
Implementation
Initial System
Testing*
Released System

27
Q

hierarchical models

A

records were stored in tree structures, which means that the data was restricted to one parent entity that related to multiple child entities (one-to-many relationships).
This is an example of a few students and few course-enroll and a course can be assigned to a single student only, but a student can enroll in any number of courses and with this the relationship becomes one-to-many.

28
Q

Primary Key.

A

The column (field) in a relational database
that uniquely identifies the row in the table. For example,
account number is often a primary key. A ‘composite primary
key’ or ‘super key’ is made up of two or more columns such
as account number + name.”

29
Q

What are the three
types of relationships

A

* One-to-many relationship
A row in one table is related to many rows in another table. For example, a customer can have many orders, but each order is made by exactly one custome
* Many-to-many relationship
Many rows in one table are related to many rows in another table. For example, a customer can review many products, and the same product can be reviewed by many customers.
* One-to-one relationship
One row in a table is related to exactly one row in another table. For example, a department in the retailer has one manager, and the
manager can only manage one department at a time.

*

30
Q

No-SQL databases

A

high-performance, non relational data stores. They excel in their ease-of-use, scalability, resilience, and availability characteristics. Instead of joining tables of normalized data, NoSQL stores
unstructured or semi-structured data, often in key-value pairs or JSON documents.”

31
Q

Unstructured data

A

data that doesn’t fit neatly into tables. For example, the contents of an email message have no specific structure and that means that it can’t neatly be stored in table. Other examples include photos, files and videos.

32
Q

Semi -structured data

A

it has properties of both structured and unstructured data. Consider again the example of an email message. The content is unstructured, but the header of the email contains information like the sender and
recipients, which is structured in a known way. Looking at the
whole email including the header, it is semi-structured data.

33
Q

What are the 4 type of f NoSQL databases

A

* Document store
Data is stored in documents, typically based on JavaScript Object Notation (JSON)
* Key-value store
Data is stored as key-value pairs. Think of the way that a Dictionary in C# or a HashMap in Java stores data.
* Column store
Data is stored in rows and columns but is optimised for access in terms of the columns
* Graph store
Data is stored like in the graph data structure, with nodes, edges, and properties.

34
Q

Big data

A

high-volume, high-velocity and/or high-variety information assets that demand cost-effective, innovative forms of information processing that enable enhanced insight, decision making, and process automation.

35
Q

What are three Vs of Big Data

A

* Volume
terabytes, records,transaction and tables
* Variety
structured, unstructured, semi-structured
* Velocity
batch, real time, stream and near time