SlideShare a Scribd company logo
1 of 48
BSYS 2060 Lecture 2 – Data Literacy & Data Modeling
Agenda
•   Announcements
•   Digital Literacy
•   Data Modeling
•   Relationship Types
•   Example
Bring headphones to all labs from here on in!




    Source: CC by 2.0, http://www.flickr.com/photos/bobjudge/3569973941/
https://zenportfolios.ca/bcit-bsys-2060-2012/week-0/
http://www.lynda.com/
Announcements
• If you didn’t already do the “Week 0” exercise, you
  should do ASAP!
• Sign up for Lynda.com ASAP
   – $21.67 US for duration of semester
   – Videos to watch will be assigned shortly after today’s
     lecture
   – Bring your headphones to all future labs!
• Join the BSYS 2060 group on zenportfolios.ca if you
  didn’t already
   – Upload an avatar if you didn’t already
   – We will start using this online group more in the weeks to
     come, especially for the project
If you didn’t do this already…
Go to zenportfolios.ca, log-in, click on Groups, search for 2060
Then join the BSYS-2060-2012 group
Digital Literacy
http://www.nytimes.com/2012/03/28/technology/for-an-edge-on-the-internet-computer-code-gains-a-following.html?pagewanted=all
“Inasmuch as you need to know how to read
English, you need to have some
understanding of the code that builds the
Web,” said Sarah Henry, 39, an investment
manager who lives in Wayne, Pa. “It is
fundamental to the way the world is
organized and the way people think about
things these days.”
We live in an information age where data is king.
Data often most valuable asset of a company
e.g. Aeroplan worth more than Air Canada
We live in a data mash-up world.
WordPress that uses open source   Twitter API / Integration
MySQL database back-end
Take control of your data. Best thing is to buy your own domain name
and build your own site and web presence there.




       http://jacobjpope.com
Where does data belong?
Diaspora           The average middle aged person has their data spread out over
                   A 1000 different database locations


                                                                Many “fly by
  Self-hosted                                                   night” Web 2.0
  Website                                                       apps
  containing all
  your data




 You control                                                   You don’t
 completely                                                    control the
                                                               data at all
  Not so easy...                                                   convenient

                             Trend is towards you controlling your data
Who owns data?
Building a database for an organization?
What is the organization’s mission?
What is the project’s mission?
What data is required to make good
decisions or for other reporting needs?
What data is currently being collected?
How is the data collected being used?
What data should be collected?
What are the main data entities?
These will become your tables
What are the required fields and field data types?
What are the relationships between the tables?
Select your tools?
e.g. MS Access, MS SQL, MySQL, Oracle
What is being used now if anything?
Be careful of
 the hammer!
 To a hammer, everything
 looks like a nail. If you
 only know MS Access,
 you may see always see
 MS Access as the solution
 even when it’s not. If you
 only know MS Excel, it
 seems like the perfect
 choice!


Source:
http://www.flickr.com/photos/fixersphotos/3199566032/
Normalization

A brief introduction to the first three
               forms...
“Normalization”
• In the field of relational database design,
  normalization is a systematic way of ensuring
  that a database structure is suitable for
  general-purpose querying and free of certain
  undesirable characteristics—insertion, update,
  and deletion anomalies—that could lead to a
  loss of data integrity.

    Codd, E.F. The Relational Model for Database Management: Version 2. Addison-Wesley (1990), p. 271
“...insertion, update, and deletion
            anomalies...”




      Until a Course Code is assigned to this record, it can not
      be inserted in the table
“...insertion, update, and deletion
            anomalies...”




      An edit made to one record may not be made to ALL
      records for the same employee
“...insertion, update, and deletion
            anomalies...”




      If the Course Code is deleted the information for the
      Faculty Member will be lost.
Three Normal Forms
• 1NF
  – Eliminate repeating groups
  – No redundant data
• 2NF
  – Eliminate independent data
  – All fields depend on Primary Key
• 3NF
  – Eliminate dependency on non-key fields
  – Fields do not depend on each other
Un-Normalized Table (i.e. Excel)
First Normal Form (1NF)

                 0NF – “un-normalized”




                                 1NF
Second Normal Form (2NF)

                       1NF




                           2NF
Third Normal Form (3NF)

                          2NF




                          3NF

More Related Content

Similar to Lecture2 slides-march-29

Data-base-system-and-big-data.pptx
Data-base-system-and-big-data.pptxData-base-system-and-big-data.pptx
Data-base-system-and-big-data.pptxMelchorCleve
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applicationsRAJESH S
 
DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1YOGESH SINGH
 
Overview of Big Data by Sunny
Overview of Big Data by SunnyOverview of Big Data by Sunny
Overview of Big Data by SunnyDignitasDigital1
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxUbaidURRahman78
 
Module 1 - Chapter1.pptx
Module 1 - Chapter1.pptxModule 1 - Chapter1.pptx
Module 1 - Chapter1.pptxSoniaDevi15
 
NoSQL-Database-Concepts
NoSQL-Database-ConceptsNoSQL-Database-Concepts
NoSQL-Database-ConceptsBhaskar Gunda
 
Database Systems - Lecture Week 1
Database Systems - Lecture Week 1Database Systems - Lecture Week 1
Database Systems - Lecture Week 1Dios Kurniawan
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructureprojectandppt
 
Data massage! databases scaled from one to one million nodes (ulf wendel)
Data massage! databases scaled from one to one million nodes (ulf wendel)Data massage! databases scaled from one to one million nodes (ulf wendel)
Data massage! databases scaled from one to one million nodes (ulf wendel)Zhang Bo
 
Lecture1 introduction to big data
Lecture1 introduction to big dataLecture1 introduction to big data
Lecture1 introduction to big datahktripathy
 

Similar to Lecture2 slides-march-29 (20)

Data-base-system-and-big-data.pptx
Data-base-system-and-big-data.pptxData-base-system-and-big-data.pptx
Data-base-system-and-big-data.pptx
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applications
 
Unit 1
Unit 1Unit 1
Unit 1
 
DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
BAB 7 Pangkalan data new
BAB 7   Pangkalan data newBAB 7   Pangkalan data new
BAB 7 Pangkalan data new
 
Overview of Big Data by Sunny
Overview of Big Data by SunnyOverview of Big Data by Sunny
Overview of Big Data by Sunny
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
 
Module 1 - Chapter1.pptx
Module 1 - Chapter1.pptxModule 1 - Chapter1.pptx
Module 1 - Chapter1.pptx
 
NoSQL-Database-Concepts
NoSQL-Database-ConceptsNoSQL-Database-Concepts
NoSQL-Database-Concepts
 
Database Systems - Lecture Week 1
Database Systems - Lecture Week 1Database Systems - Lecture Week 1
Database Systems - Lecture Week 1
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructure
 
Data massage! databases scaled from one to one million nodes (ulf wendel)
Data massage! databases scaled from one to one million nodes (ulf wendel)Data massage! databases scaled from one to one million nodes (ulf wendel)
Data massage! databases scaled from one to one million nodes (ulf wendel)
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdf
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdf
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdf
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdf
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
 
Lecture1 introduction to big data
Lecture1 introduction to big dataLecture1 introduction to big data
Lecture1 introduction to big data
 

More from Cyri Jones

Introduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerIntroduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerCyri Jones
 
Angel forum slides april 23 pdf
Angel forum slides april 23 pdfAngel forum slides april 23 pdf
Angel forum slides april 23 pdfCyri Jones
 
Zen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedZen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedCyri Jones
 
Presentation to trec august 23
Presentation to trec august 23Presentation to trec august 23
Presentation to trec august 23Cyri Jones
 
Environmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedEnvironmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedCyri Jones
 
Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Cyri Jones
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Cyri Jones
 
Setting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioSetting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioCyri Jones
 
Adding a-featured-image-to-a-post
Adding a-featured-image-to-a-postAdding a-featured-image-to-a-post
Adding a-featured-image-to-a-postCyri Jones
 
Adding a-project-showcase-posting
Adding a-project-showcase-postingAdding a-project-showcase-posting
Adding a-project-showcase-postingCyri Jones
 
Changing your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosChanging your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosCyri Jones
 
Adding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarAdding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarCyri Jones
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Cyri Jones
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseCyri Jones
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseCyri Jones
 
Instructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosInstructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosCyri Jones
 
Team collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsTeam collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsCyri Jones
 
Week2 presentation-future-ready
Week2 presentation-future-readyWeek2 presentation-future-ready
Week2 presentation-future-readyCyri Jones
 
Digital learners-road-map-presentation-june-10-2011
Digital learners-road-map-presentation-june-10-2011Digital learners-road-map-presentation-june-10-2011
Digital learners-road-map-presentation-june-10-2011Cyri Jones
 
Lecture2 slides
Lecture2 slidesLecture2 slides
Lecture2 slidesCyri Jones
 

More from Cyri Jones (20)

Introduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerIntroduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printer
 
Angel forum slides april 23 pdf
Angel forum slides april 23 pdfAngel forum slides april 23 pdf
Angel forum slides april 23 pdf
 
Zen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedZen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revised
 
Presentation to trec august 23
Presentation to trec august 23Presentation to trec august 23
Presentation to trec august 23
 
Environmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedEnvironmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revised
 
Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011
 
Setting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioSetting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolio
 
Adding a-featured-image-to-a-post
Adding a-featured-image-to-a-postAdding a-featured-image-to-a-post
Adding a-featured-image-to-a-post
 
Adding a-project-showcase-posting
Adding a-project-showcase-postingAdding a-project-showcase-posting
Adding a-project-showcase-posting
 
Changing your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosChanging your display name on ZEN Portfolios
Changing your display name on ZEN Portfolios
 
Adding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarAdding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatar
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcase
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcase
 
Instructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosInstructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfolios
 
Team collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsTeam collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructions
 
Week2 presentation-future-ready
Week2 presentation-future-readyWeek2 presentation-future-ready
Week2 presentation-future-ready
 
Digital learners-road-map-presentation-june-10-2011
Digital learners-road-map-presentation-june-10-2011Digital learners-road-map-presentation-june-10-2011
Digital learners-road-map-presentation-june-10-2011
 
Lecture2 slides
Lecture2 slidesLecture2 slides
Lecture2 slides
 

Recently uploaded

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Lecture2 slides-march-29

  • 1. BSYS 2060 Lecture 2 – Data Literacy & Data Modeling
  • 2. Agenda • Announcements • Digital Literacy • Data Modeling • Relationship Types • Example
  • 3. Bring headphones to all labs from here on in! Source: CC by 2.0, http://www.flickr.com/photos/bobjudge/3569973941/
  • 6.
  • 7. Announcements • If you didn’t already do the “Week 0” exercise, you should do ASAP! • Sign up for Lynda.com ASAP – $21.67 US for duration of semester – Videos to watch will be assigned shortly after today’s lecture – Bring your headphones to all future labs! • Join the BSYS 2060 group on zenportfolios.ca if you didn’t already – Upload an avatar if you didn’t already – We will start using this online group more in the weeks to come, especially for the project
  • 8. If you didn’t do this already… Go to zenportfolios.ca, log-in, click on Groups, search for 2060 Then join the BSYS-2060-2012 group
  • 11. “Inasmuch as you need to know how to read English, you need to have some understanding of the code that builds the Web,” said Sarah Henry, 39, an investment manager who lives in Wayne, Pa. “It is fundamental to the way the world is organized and the way people think about things these days.”
  • 12. We live in an information age where data is king.
  • 13. Data often most valuable asset of a company e.g. Aeroplan worth more than Air Canada
  • 14. We live in a data mash-up world.
  • 15.
  • 16. WordPress that uses open source Twitter API / Integration MySQL database back-end
  • 17. Take control of your data. Best thing is to buy your own domain name and build your own site and web presence there. http://jacobjpope.com
  • 18. Where does data belong?
  • 19. Diaspora The average middle aged person has their data spread out over A 1000 different database locations Many “fly by Self-hosted night” Web 2.0 Website apps containing all your data You control You don’t completely control the data at all Not so easy... convenient Trend is towards you controlling your data
  • 20.
  • 21.
  • 22.
  • 23.
  • 25.
  • 26. Building a database for an organization?
  • 27. What is the organization’s mission?
  • 28. What is the project’s mission?
  • 29. What data is required to make good decisions or for other reporting needs?
  • 30. What data is currently being collected?
  • 31. How is the data collected being used?
  • 32. What data should be collected?
  • 33. What are the main data entities? These will become your tables
  • 34. What are the required fields and field data types?
  • 35. What are the relationships between the tables?
  • 36. Select your tools? e.g. MS Access, MS SQL, MySQL, Oracle What is being used now if anything?
  • 37. Be careful of the hammer! To a hammer, everything looks like a nail. If you only know MS Access, you may see always see MS Access as the solution even when it’s not. If you only know MS Excel, it seems like the perfect choice! Source: http://www.flickr.com/photos/fixersphotos/3199566032/
  • 38. Normalization A brief introduction to the first three forms...
  • 39. “Normalization” • In the field of relational database design, normalization is a systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain undesirable characteristics—insertion, update, and deletion anomalies—that could lead to a loss of data integrity. Codd, E.F. The Relational Model for Database Management: Version 2. Addison-Wesley (1990), p. 271
  • 40.
  • 41. “...insertion, update, and deletion anomalies...” Until a Course Code is assigned to this record, it can not be inserted in the table
  • 42. “...insertion, update, and deletion anomalies...” An edit made to one record may not be made to ALL records for the same employee
  • 43. “...insertion, update, and deletion anomalies...” If the Course Code is deleted the information for the Faculty Member will be lost.
  • 44. Three Normal Forms • 1NF – Eliminate repeating groups – No redundant data • 2NF – Eliminate independent data – All fields depend on Primary Key • 3NF – Eliminate dependency on non-key fields – Fields do not depend on each other
  • 46. First Normal Form (1NF) 0NF – “un-normalized” 1NF
  • 47. Second Normal Form (2NF) 1NF 2NF
  • 48. Third Normal Form (3NF) 2NF 3NF

Editor's Notes

  1. http://www.google.ca/imgres?imgurl=http://tctechcrunch.files.wordpress.com/2010/03/binary_data.jpg&imgrefurl=http://techcrunch.com/2010/03/16/big-data-freedom/&usg=__Sh_4EN0mwwOH35FqrsJRtvJEZuA=&h=600&w=800&sz=187&hl=en&start=30&zoom=1&tbnid=7t1PdGOKt490rM:&tbnh=127&tbnw=169&ei=ONmUTf_3KYf6swPKweDVBQ&prev=/images%3Fq%3Ddata%26um%3D1%26hl%3Den%26sa%3DN%26biw%3D1024%26bih%3D574%26tbs%3Disch:10%2C976&um=1&itbs=1&iact=rc&dur=284&oei=LtmUTY7OAs_OiAKz0cX_CA&page=3&ndsp=15&ved=1t:429,r:7,s:30&tx=105&ty=34&biw=1024&bih=574
  2. http://www.flickr.com/photos/alismith44/269843032/