Topic 2: Data Models Flashcards

1
Q

define data model

A

representative of complex real-world data structure via graphical representation

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

define data modeling

A

progressive process of creating a specific data model to determine problem domain

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

importance of data modeling

A
  • communication tool
  • overall view for creating a good database
  • organised data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

4 data model basic building blocks

A
  • Entity: category of the data
  • attribute: characteristics of entity
  • relationship: association among entities
  • constraint: restriction on data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

5 types of data model

A
  • hierarchical model
  • network model
  • relational model
  • entity relationship model
  • object-oriented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

3 data abstraction level

A
  • external: end-user view
  • conceptual: global view
  • internal: DBMS view
  • physical: way of data storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

4 elements in external schema

A
  • entities
  • relationships
  • processes
  • constraints
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NoSQL

A
  • to process large-scale database
  • support distributed architecture
  • support large amount of data
  • provide high availability, high scalability, and fault tolerance
  • focus on performance rather than transaction consistency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is map reduce in Hadoop cluster

A

Map: filter and sort the data
reduce: summarise the data

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

define hierarchical model

A

basic logical structure represent by upside down ‘tree’
- contain levels and segments

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

define network model

A

to represent complex data relationships more effectively than the hierarchical model

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

define relational model

A

create relational table stores collection of related entities

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

advantages of relational model

A
  • hide complexity from user by isolating user from physical level details
  • promote structure independence via independent table
  • improve conceptual simplicity
  • ad hoc query
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define entity relationship model

A

Graphical representation of entities and their relationships in a database structure

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

advantages of ERD

A
  • graphical representation
  • show interrelationship among entities
  • show major entity in diagram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

define object oriented model

A

Data and relationships are contained in a single structure known as an object

17
Q

advantages of OOM

A
  • data integrity
  • visual representation
  • semantic content
18
Q
A