CSC208 Management Infromation Systems
description
Transcript of CSC208 Management Infromation Systems
![Page 1: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/1.jpg)
CSC208Management Infromation Systems
Siti Nurbaya IsmailFaculty of Computer Science & Mathematics,
Universiti Teknologi MARA (UiTM), Kedah| [email protected] | http://www.sitinur151.wordpress.com |
| A2-3039 | ext:2561 | 012-7760562 |
Introduction to Database
![Page 2: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/2.jpg)
Introduction to Database1.1 Introducing Database1.2 A Logical View Of Data 1.3 Primary & Foreign Keys 1.4 Relationship
![Page 3: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/3.jpg)
3
1.1 Introducing The Database Data and information
• Data?– Raw facts– Building blocks of information– Examples:
• AHMAD• 20011545789• AM228• CSC208
![Page 4: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/4.jpg)
4
1.1 Introducing The Database Data and information
• Information?– Produce by processing data– Reveal meaning of data– Examples:
• 20011545789 is UiTM Student Number for Ahmad who is currently studying in Faculty of Administrative Science & policy StudiesUiTM Kedah and is registerfor CSC208 (Management Information Systems) subject for semester September 2012 – January 2013
![Page 5: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/5.jpg)
1.1 Introducing The Database Data and information
How do data and information relate?
5
![Page 6: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/6.jpg)
1.1 Introducing The Database A Glance of Database Concept
6
matrixNO name
2009292768 Jefry
2009631908 Farah
2009451782 Thohier
subjectno description
ITS232 Database
BEL123 Literature
registerID subjectNO matrixNO
123 ITS232 2009451782
124 ITS232 2009631908
studentregistersubject
![Page 7: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/7.jpg)
7
1.1 Introducing The Database What is database?
Database• A shared collection of integrated computer structure designed to meet
various needs of an organization.– It houses:
• End-user-data : raw facts• Metadata: data about data
DBMS DataBase Management System A software that enable user to define, create, maintain and control access
to database– Possible to share data among multiple applications or users– Makes data management more efficient and effective– Examples:
• IBM DB2, MS Access, MySQL, ORACLE
![Page 8: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/8.jpg)
8
1.1 Introducing The Database What is database?
DBMS allows
Create Databa
se
Create Forms
Create Report
s
Sort Data
Retrieve Data
![Page 9: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/9.jpg)
9
1.1 Introducing The Database What is database?
The importance of database:
• Manage interactions between end users and database• Helps make data management more efficient and effective• Its query languages allows make quick answers to add-hoc queries• Provide end users better access to more and better managed data• Promote and integrated view of org’ operations big picture
![Page 10: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/10.jpg)
10
1.1 Introducing The Database What is database?
Advantages of database:
• control of data redundancy• data consistency• more information from the same amount of data• sharing of data• improved data integrity• improved security• enforcement of standards• economy of scale• improved data accessibility and responsiveness• increased productivity• improved maintenance through data independence• improved backup and recovery services
![Page 11: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/11.jpg)
11
1.1 Introducing The Database What is database?
Disadvantages of database:
• complexity• size (space)• cost of DBMS• additional hardware cost• cost of conversion• performance• higher impact of failure
![Page 12: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/12.jpg)
12
1.2 A Logical View of DataTable and Their Characteristics
• Table: – two-dimensional structure composed of rows and columns– Contains group of related entities = an entity set
![Page 13: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/13.jpg)
13
1.2 A Logical View of DataTable and Their Characteristics
Table
Attribuite / Fields
![Page 14: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/14.jpg)
14
1.3 Primary and Foreign Keys3.2 Keys: Types
•an attribute (or a combination of attributes) that uniquely identifies any given entity (row) Primary Key
(PK)
•an attribute whose values match primary key values in the related table Foreign key
(FK)
![Page 15: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/15.jpg)
15
1.3 Primary and Foreign Keys3.2 Keys: Types
Foreign Key
Primary Key
![Page 16: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/16.jpg)
16
1.3 Primary and Foreign Keys3.2 Keys: Types
Foreign Key
Primary Key
![Page 17: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/17.jpg)
17
1.4 Relationship(1:1) (1:m) (m:n)
• Relationship is a logical interaction among the entities in a relational database.
• Operate in both directions• There are 3 basic relationship in a database;
(1:1)
• one-to-one• should be rare in
any relational database
(1:m)
• one-to-many• relational
modeling ideal• should be norm in
any relational database design
(m:n)
• many-to-many• cannot be
implemented as such in the relational model
• m:n relationships can be changed into two 1:m relationships
![Page 18: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/18.jpg)
18
1.4 Relationship(1:1) (1:m) (m:n)
m
1
![Page 19: CSC208 Management Infromation Systems](https://reader036.fdocuments.in/reader036/viewer/2022062310/56816860550346895ddeaaef/html5/thumbnails/19.jpg)
1.4 Relationship(1:1) (1:m) (m:n)
19