INTROFÖRELÄSNING Flashcards

(10 cards)

1
Q

Which level of abstraction is Data, Information and Knowledge?

A

Data being the lowest(most concrete)

Knowledge being the highest(most abstract)

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

What is unstructured data?

A
  • No storing of individual values, you instead store entire object, graph data, files etc
  • Take it as it comes, store it directly in a database
  • Easier to store
  • Takes up A LOT more space
  • Often used for videos, documents, images, webpages etc
  • Stores data in its native format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is structured data?

A
  • Managed using SQL
  • Predefined format (int, text, date etc.)
  • Advantage of being easily entered, stored, queried
  • Lives in columns, rows…
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Semi-structured data?

A
  • “Some structure”, some markers/tags that identifies the elements in the data, but without the same rigid structure
  • Often stored in markup language type such as XML or JSON
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

List/Spreadsheets are good for?

A
  • Sorting data based on the values in cells(sort by students or course name for example)
  • Storing data, add thousands of rows without a problem(Until we run out of RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Purpose of Databases?

A
  • Organized collection of data
  • And this data can be used to infer information, which is one of its purposes
  • Databases also provide organizations structure for data
  • Provide mechanism for creating CRUD operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Relational Databases vs Spreadsheets

A
  • No limit on how much data in relational DB, can always add more storage
  • Relational DB store information in tables
  • Split allows reduction in amount of data redundancy, which is a problem in spreadsheets
  • DB allows usage of null/empty values in cells, problematic in Spreadsheets
  • More difficult to use DB
  • Relational DB reminds itself of Spreadsheets, but might be redundant when working with very small data sets.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

RDBMS

A
  • Automatically keeps track of relationships between our data
  • how it works? Magic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3 phases in Database design

A

Phase 1 - Conceptual design:

  • Design phase, focus is on developing conceptual models of data in an organization(conceptualize the relational data models and their attributes as entities)
  • Drawing models

Phase 2 - Logical design
* Concretizing our conceptual models into conceptual tables, based on the data used in an organization and previous phase

Phase 3 - Physical design
* Create actual tables in database using SQL

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

3 level design in Layered Architecture

A
  1. Presentation layer
    - Fetching information from user
  2. Logic/business layer
    - Take information user inputs, transform it and query dB with the information
    - Handles the response from data layer, then transfers it back to presentation layer
  3. Data layer
    - Respond with a response if its validated or not, send it back to logic layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly