3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By:

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

ICDL Software Applications - Database Concepts. Unit 6 Data and Data Representation Database Concepts –File Structure –Relationships Database Design –Data.
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Computer Concepts 5th Edition Parsons/Oja Page 492 CHAPTER 10 File And Database Concepts Section A PARSONS/OJA Databases.
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
11 3 / 12 CHAPTER Databases MIS105 Week-9/ Lec02 Irfan Ahmed Ilyas.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
3 / 12 CHAPTER Databases MIS105 Irfan Ahmed Ilyas.
Database Systems. What is a database? A database is an organised store of data items.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
CSC 351 FUNDAMENTALS OF DATABASE SYSTEMS
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Database Systems COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
© Virtual University of Pakistan. In the name of Allah.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
1 California State University, Fullerton Chapter 7 Information System Data Management.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
Chapter 9 Database Management Discovering Computers Fundamental.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 11 CS Introduction to Database Systems.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
SQL Structured Query Language Programming Course.
Chapter 17 Creating a Database.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
Database What is a database? A database is a collection of information that is typically organized so that it can easily be storing, managing and retrieving.
Database Management System (DBMS) an Introduction DeSiaMore 1.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
Chapter 4c, Database H Definition H Structure H Parts H Types.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
Databases.
 So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.
What have we learned?. What is a database? An organized collection of related data.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
3 / 12 CHAPTER Databases MIS105 Week-10/ Lec02 Irfan Ahmed Ilyas.
Database Management Systems (DBMS)
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
CIS 250 Advanced Computer Applications Database Management Systems.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
1 Chapter 2 Database Environment Pearson Education © 2009.
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
1 CS 430 Database Theory Winter 2005 Lecture 7: Designing a Database Logical Level.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Lesson 13 Databases Lesson Objective: Understand the main features of database software Learning Outcome: Clearly identify the uses of database software.
GCSE ICT How data is stored. How is data stored? Data can be stored in paper-based systems including: –Reference books –Dictionaries –Encyclopaedias –Directories.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
( ) 1 Chapter # 8 How Data is stored DATABASE.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
Introduction To DBMS.
Introduction to Computing
Chapter 4 Relational Databases
Basic Concepts in Data Management
Managing data Resources:
Data base management system dbms
Database solutions Chosen aspects of the relational model Marzena Nowakowska Faculty of Management and Computer Modelling Kielce University of Technology.
© Virtual University of Pakistan
DATABASE TECHNOLOGIES
Database Management Systems
Presentation transcript:

3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By: Mr. S. A. Raza Mr. Irfan A. Ilyas Delivered in: Week #1 (26 – 30 Jan, 2002)

Prepared By: Irfan Ilyas Lecture Objectives Database Concepts Data Organization in databases Key Field Main activities in Database Maintenance Defining data Creating data Manipulating data Database Usage 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas Database Concepts A database is a structured collection of related data, stored in some medium for some specific purpose. A database usually represents some real world environment, thus reflecting changes happening in that environment. Examples: Addresses/ telephone numbers stored in some indexed address book Course related data saved on a computer disk using some software like Microsoft Excel, Microsoft Access etc. 02/3/2002 Prepared By: Irfan Ilyas

Data Organization in Databases Character Character Character Field Cha.. Field…… Cha.. Field Record Data File Record :………. Data File ……….. A Database 02/3/2002 Prepared By: Irfan Ilyas

Data Organization Example In a University database A L I Field: ID 9 8 … Field: Score 7 0 Field: Name Record for Ali File: Student Record for Rasheed Record for … University Database File: Course File: Faculty 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas A Database Example 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas ….Database Concepts Key Field Searching a particular record uniquely in a data file requires at least one field unique in value for all records Example, in STUDENT file StudentNumber is such a field Common example of key values (in daily life databases) Social Security Number Driver’s License Student ID Numbers 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas Electronic Databases Databases on some electronic media like disks Computer programs are needed to maintain/ use on disk databases Three main activities for electronic database maintenance Defining Specifying the data types, data validation rules etc. for the data values Creating Storing the data values (as defined by the user) on some physical medium Manipulating Querying/ searching/ updating the data values Checking the conformance with the defined data constraints (validation rules) 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas Database Usage Databases are mostly used as an integral part of related Information Systems Accounting Staff Registration Staff Accounting Information System Registration Information System A shared database in a University environment 02/3/2002 Prepared By: Irfan Ilyas

Database Implementation Approaches Flat File Approach Every data file is tried to be rich in all the relevant details Every data file is used on a localized basis (e.g. one file for each department). This makes every file independent of the other files in the database Benefit: Data Reporting is easily done on each file independently Disadvantage: Data inconsistencies may result due to data redundancies (duplications) 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas A Flat File Database A Student Grade Database All the information needed is placed in one single data file For example, a spreadsheet containing a single student grade file No need to refer to any other file for data reporting Redundant data values In GRADE_REPORT: Student’s personal information includes: StudentNumber, StudentName, Class, Major Whenever a grade record for a student is inserted in the file, his personal information is repeated. 02/3/2002 Prepared By: Irfan Ilyas

.. A Student Grade Database Possible Data Updation Anomalies (abnormality) When adding a grade for an already existing student, his personal information needs to be consistent with the existing ones (Insertion Anomaly) If all grade records for a specific student are deleted, other details for that student will also be lost (Deletion Anomaly) If any student’s number is modified, this needs a change in all other grade records of the same student (Modification Anomaly) 02/3/2002 Prepared By: Irfan Ilyas

Prepared By: Irfan Ilyas 02/3/2002 Prepared By: Irfan Ilyas