Anda di halaman 1dari 12

OLYMPIA COLLEGE SCHOOL OF COMPUTING DIPLOMA IN INFORMATION TECHNOLOGY INDIVIDUAL ASSIGNMENT INTRODUCTION TO DATABASE

NAME AS PER IC / PASSPORT: COLLEGE INDEX NO: IC NO / PASSPORT NO: BATCH NO:

CAMPUS: PETALING JAYA WORDS COUNT:1002

Table of content

Table of content NO Content 1. 2. 3. 4. 5. 6. 7. 8. 9. Page

Acknowledgement........................... i Table of content............................... ii Introduction..................................... iii Question 1........................................ 1 Answer 1......................................... 2 - 4 Question 2....................................... Answer 2......................................... 5 6

Conclusion....................................... 7 Reference......................................... 8
ii

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus

Introduction

Introduction
A database is defined as a system that it can do for many processes to get an information. Database is a collection of the related materials such as Google searching engine www.google.com. This broad definition could cover anything from mailing lists, repositories, directories and catalogues to telephone directories and encyclopaedias. A Database Management System (DBMS) is an application to do the process or facility of the creation of information. There are few common applications of database: Microsoft Excel Microsoft Access MySQL

At first, DBMS are very crude, as there was always a memory problem with the earlier electronic computers. In fact, Bill Gates was quoted as saying in 1981 that 640K memory ought to be enough for anybody. With the advent of the 90s, the shift turned from having an accurate database management system, to having one that was easily maintainable. This is because memory capacity started to grow, as well as the creation and spread of information.

Currently, DBMS is a piece of software for managing databases and providing access to them and important in every industrial field.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus iii

Question 1

Question 1 Create a database for a Student Information System. Your database should have the following components: i) ii) iii) Tables Each and every table should have the Primary Key stated. The relationship between the tables

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 1

Question 1 (Answer 1)

i)

Student Course. ID Student. ID 2010110001 1001 Adam Shawn Name Home Address Happy Garden, Petaling Jaya Jusco Petaling, Petaling Jaya Telephone Nu. Gender

013-9081234

Male

2010110002

1002

Harvey Norman

014-7890399

Male

2010110003 Table 1.1: A table of Student Information System with the object name Student.

The Student. ID field in the table is a unique number assigned to each and every order. This allows each order to be easily identified and provides the table with a primary key. While a primary key is a unique number and no repeatable is allowed. Because of this, the number is entered manually but is still a single digit increment of the previous order. The field could therefore be and integer field because it cannot be anything but a positive whole number. Besides that, there are some fields which assigned name of student, age, gender and etc. These are only for end user to reference, which a student. ID refer to which student in the primary school, secondary school/ high school, college or even others education departments.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 2

Question 1 (Answer 1 ii) Course Course. ID 1001 1002 1003 Table 1.2: A table of Student Information System with the object name Course. Lecturer. ID 10001 10003 Student. ID 2010110001 2010110001 Class. ID 101 103 Subject. ID 001 002 Name Diploma in IT Diploma in Hotel

Class Class. ID 101 102 103

Course. ID 1001 1003

Name A1 A3

Block G7 G7

Chair 100 100

Table 100 100

Table 1.3: A table of Student Information System with the object name Class.

Subject Subject. ID 001 002 003

Course. ID 1001 1001

Name Visual Basic Programming

Duration 4 hours per day 4 hours per day

Table 1.4: A table of Student Information System with the object name Study.

Lecturer Lecturer. ID 10001 10002 10003

Course. ID 1001 1002

Name June Bruce Lee

Telephone Nu. 013-5674932 014-6783232

Home Address Taman Mawar Taman Merdeak

Age 35 27

Table 1.5: A table of Student Information System with the object name Lecturer. * Bold word is Primary Key. * Italic word is Foreign Key.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 3

Question 1 (Answer 1)

iii)

Student Student. ID

Course. ID, Name, Age, Tel. Nu, Gender, Address, IC Number

Course Course. ID

Student. ID, Lecturer. ID, Class. ID, Subject. ID, Name, Duration

Lecturer Lecturer. ID

Course. ID, Name, Age, Tel. Nu, Gender, Address, IC Number

Class Class. ID

Course. ID, Name, Block, Chair

Subject Subject. ID

Course. ID, Name, Duration

* The relationship of the tables.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 4

Question 2

Question 2 Represent your database for the Student Information System Entity Relationship(ER) model and create the database in Microsoft Access.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 5

Question 2 (Answer 2)

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 6

Conclusion

Conclusion
In question 1, a database is defined as a system that it can do for many processes to get information. A primary key is a unique number and no repeatable is allowed. Next, define how many tables or subjects of a Student Information System such as student, lecturer, class and etc, and the relationship between each and others.

Besides that, question 2 has got some of the knowledge by using Microsoft Access to create tables, relationship between tables and etc. Actually, database can help human to complete their tasks in an easier and faster manner. Thats because end-users no need much knowledge about computer and they should only know How to key in the data into the system? So, they can get the output.

In this assignment, I had learned What is database? and How to create database system through Microsoft Access?. It is something like how the database helps us to bring out the output with an easier manner. Database is a system which uses by many society and also present in a higher standard than the past.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 7

Reference

Reference Internet
http://www.scribd.com/doc/29211801/An-Introduction-to-Relational-DatabaseTheory http://philip.greenspun.com/sql/introduction.html http://www.interspire.com/content/2005/12/13/an-introduction-to-databases/ http://ezinearticles.com/?The-History-of-Database-ManagementSystems&id=904394

Book
Access 2003 for starters, Kate J.Chase & Scott Plamer, October 2005 first edition Master visually, Tom Bunzel, 2007

Human Resource
Mr. Arash, Olympia College Petaling Jaya Campus, Intro to Database lecturer, Sept - Nov 2010.

_____________________________________
Diploma in Information Technology Olympia College Petaling Jaya Campus 8

Anda mungkin juga menyukai