~ PROJECT PRESENTATION ~
Alhamdulillah.. the presentation goes very well.....
We've been advised by Dr.Fandy to add 1 function which is a query for search.
Below are the link that we had found to create a search engine in our Library Database.
http://www.youtube.com/watch?v=Y9abHqSeytg
~~~ STUDY WEEK ~~~
The exam will be on January8 at 9am.. G.O.O.D L.U.C.K.!
A bunch of appreciation to En.Razak & Dr.Fendy for all the guidance and useful knowledge for these whole semester....
Educational Resources & Info. Mng. System...
Friday, December 30, 2011
WEEK 15 - Introduction of Microsoft Access 2007
Microsoft Access has been around for some time, yet people often still ask me what is Microsoft Access and what does it do? Microsoft Access is a part of the Microsoft Office Suite. It does not come with all versions of Microsoft Office, so if you specifically want Microsoft Access make sure the office suite you are purchasing has it.
Microsoft Access has the look and feel of other Microsoft Office products, including its layout and navigational aspects. That is where the similarity ends. Microsoft® Access is a database and, more specifically, a relational database. This will be explained in more detail later.
Access has an .mdb extension by default, whereas Microsoft® Word has the .doc extension. Although this has changed in Access 2007 where the extension is now an accdb extension. Early versions of Access cannot read accdb extensions but Microsoft Access 2007 can read and change earlier versions of Access. The above is a bried overview of what is Microsoft Access. Now lets look at it in a bit more detail.
What is Microsoft Access made up of?
The Microsoft® Access Database is made up of 7 major components:
Tables - The tables are the backbone and the storage container of the data entered into the database. If the tables are not set up correctly, with the correct relationships, then the database may be slow, give you the wrong results or not react the way you expect. So, take a bit of time when setting up your tables.
Queries, forms, etc. are usually based on a table.
The tables that contain data look a bit like a table in Microsoft® Word or a Microsoft® Excel Spreadsheet, when opened. They have columns and rows as does a table in Microsoft® Word and an Excel worksheet. Each of the columns will have a field name at the top and each of the rows will represent a record.
As an example:
Relationships - Relationships are the bonds you build between the tables. They join tables that have associated elements. To do this there is a field in each table, which is linked to each other, and have the same values.
Queries - Are the means of manipulating the data to display in a form or a report. Queries can sort, calculate, group, filter, join tables, update data, delete data, etc. Their power is immense. The Microsoft® Access database query language is SQL (Structured Query Language). The need to know SQL is not required in the early stages of learning Access. Microsoft® Access writes the SQL for you, after you tell it what you want, in the Design view of the queries window.
Forms - Forms are the primary interface through which the users of the database enter data. The person who enters the data will interact with forms regularly. The programmer can set the forms to show only the data required. By using queries, properties, macros and VBA (Visual Basic for Applications), the ability to add, edit and delete data can also be set. Forms can be set up and developed to reflect the use they will be required for.
Reports - Reports are the results of the manipulation of the data you have entered into the database. Unlike forms, they cannot be edited. Reports are intended to be used to output data to another device or application, i.e. printer, fax, Microsoft® Word or Microsoft® Excel.
Macros - Macros are an automatic way for Access to carry out a series of actions for the database. Access gives you a selection of actions that are carried out in the order you enter. Macros can open forms; run queries, change values of a field, run other Macros, etc. the list is almost endless.
Modules - Modules are the basis of the programming language that supports Microsoft® Access, The module window is where you can write and store Visual Basic for Applications (VBA). Advanced users of Microsoft® Access tend to use VBA instead of Macros. If you would like to learn VBA, I have a simple step by step lessons.
All of the above components are persistent; this means that changes are saved when you move from one component to another, not when the database is closed, as in a Microsoft® Word Document.
I hope the above give you a bit of an idea of what is Microsoft Access and what it includes.
Limitations - The total size of a database file (.MDB) is limited only by the storage capacity of your PC (Microsoft® quote the maximum database size of 2 Gigabyte (2000 Megabytes)). These figures are for pre 2007 versions of Microsoft Access.
Very few realistic limitations exist, though here are some parameters:
What is Micorsoft Access as compared to a Relational Database
Now that you understand a bit of what is Microsoft Access. it is time to explain what a relational database is. The relational database was invented by E. F. Codd at IBM in 1970.The power of a relational database is the ability to bring a lot of information together quickly. I am not going into too much technical detail of what a relational database but hope to explain it in simple terms, so it is possibly not 100% technically accurate. To me these are the rules of a relational database:
For the purpose of this example, we will be looking at a Library data base from a relational database viewpoint. For a Library database we would want to collect the following information:
Entering data this way requires multiple entries (and duplicate data in some of the columns)
This can lead to the following problems:
I have included the examples below for each of the tables for the library database. The primary key and foreign key fields will be explained a bit later.
Note:
The fields have been broken down in to their smallest logical part. As an example, a person’s name has been broken down to:
Primary Key - Unique Identifier
An important part of determining the fields for each table is deciding which field (if any) is suitable as the primary key.
The power of a relational database is the ability to bring a lot of information together quickly. For this to work efficiently and effectively, Microsoft® Access needs to be able to identify unique records. For this reason, one field or a set of fields needs to be unique. This can be a unique identification number such as a Medicare number, Employee ID number, Pension number, etc.:
Foreign Keys - The Foreign Key is the field that links a related table to the main table. As an example, in the library database, a borrower may appear many times in the ‘Loan’ table, as a borrower may borrow many books. A book may also occur many times in the ‘Loan’ table as a book can be borrowed many times. Therefore, the loan table would contain many links to a particular borrower and many links to a particular book, but each loan record would relate to only one book and one borrower. This is illustrated below:
These fields are known as foreign keys (FK). Note: that only the ID field is kept in the loan table, no other information is needed from the borrower table or the book table. By setting up relationships between the tables, Microsoft Access knows which foreign key belongs to which primary key (unique identifier) and can pull the information from the relevant tables when needed.
So it some it all up. What is Microsoft Access, well it is a relational database found in the Microsoft Office suite.
Microsoft Access has the look and feel of other Microsoft Office products, including its layout and navigational aspects. That is where the similarity ends. Microsoft® Access is a database and, more specifically, a relational database. This will be explained in more detail later.
Access has an .mdb extension by default, whereas Microsoft® Word has the .doc extension. Although this has changed in Access 2007 where the extension is now an accdb extension. Early versions of Access cannot read accdb extensions but Microsoft Access 2007 can read and change earlier versions of Access. The above is a bried overview of what is Microsoft Access. Now lets look at it in a bit more detail.
What is Microsoft Access made up of?
The Microsoft® Access Database is made up of 7 major components:
- Tables;
- Relationships;
- Queries;
- Forms;
- Reports;
- Macros;
- Modules.
Tables - The tables are the backbone and the storage container of the data entered into the database. If the tables are not set up correctly, with the correct relationships, then the database may be slow, give you the wrong results or not react the way you expect. So, take a bit of time when setting up your tables.
Queries, forms, etc. are usually based on a table.
The tables that contain data look a bit like a table in Microsoft® Word or a Microsoft® Excel Spreadsheet, when opened. They have columns and rows as does a table in Microsoft® Word and an Excel worksheet. Each of the columns will have a field name at the top and each of the rows will represent a record.
As an example:
Relationships - Relationships are the bonds you build between the tables. They join tables that have associated elements. To do this there is a field in each table, which is linked to each other, and have the same values.
Queries - Are the means of manipulating the data to display in a form or a report. Queries can sort, calculate, group, filter, join tables, update data, delete data, etc. Their power is immense. The Microsoft® Access database query language is SQL (Structured Query Language). The need to know SQL is not required in the early stages of learning Access. Microsoft® Access writes the SQL for you, after you tell it what you want, in the Design view of the queries window.
Forms - Forms are the primary interface through which the users of the database enter data. The person who enters the data will interact with forms regularly. The programmer can set the forms to show only the data required. By using queries, properties, macros and VBA (Visual Basic for Applications), the ability to add, edit and delete data can also be set. Forms can be set up and developed to reflect the use they will be required for.
Reports - Reports are the results of the manipulation of the data you have entered into the database. Unlike forms, they cannot be edited. Reports are intended to be used to output data to another device or application, i.e. printer, fax, Microsoft® Word or Microsoft® Excel.
Macros - Macros are an automatic way for Access to carry out a series of actions for the database. Access gives you a selection of actions that are carried out in the order you enter. Macros can open forms; run queries, change values of a field, run other Macros, etc. the list is almost endless.
Modules - Modules are the basis of the programming language that supports Microsoft® Access, The module window is where you can write and store Visual Basic for Applications (VBA). Advanced users of Microsoft® Access tend to use VBA instead of Macros. If you would like to learn VBA, I have a simple step by step lessons.
All of the above components are persistent; this means that changes are saved when you move from one component to another, not when the database is closed, as in a Microsoft® Word Document.
I hope the above give you a bit of an idea of what is Microsoft Access and what it includes.
Limitations - The total size of a database file (.MDB) is limited only by the storage capacity of your PC (Microsoft® quote the maximum database size of 2 Gigabyte (2000 Megabytes)). These figures are for pre 2007 versions of Microsoft Access.
Very few realistic limitations exist, though here are some parameters:
Maximum table size | 1 Gb |
No. if fields in a record or table | 255 |
No. of indexes in a table or a record | 32 |
Ni. of fields in an index | 10 |
No. of tables in a query | 32 |
Maximum size of a form or report | 22" |
Characters in a memo field | 64,000 |
MDB size | 2 Gb |
Max Integer | 2,147,483,648 |
Concurrent Users | 255 |
No. of characters in object names | 64 |
What is Micorsoft Access as compared to a Relational Database
Now that you understand a bit of what is Microsoft Access. it is time to explain what a relational database is. The relational database was invented by E. F. Codd at IBM in 1970.The power of a relational database is the ability to bring a lot of information together quickly. I am not going into too much technical detail of what a relational database but hope to explain it in simple terms, so it is possibly not 100% technically accurate. To me these are the rules of a relational database:
- No duplicate data (except linked fields - explained shortly)
- Information is broken into categories
- Data is broken down to the smallest useable bit. For example a persons name would be broken down into 4 sperate sections title, first name, middle name and last name.
- Each record has a unique identifier, this distinguishes a particular record from any other record
For the purpose of this example, we will be looking at a Library data base from a relational database viewpoint. For a Library database we would want to collect the following information:
- Information about the books;
- Information about the borrowers;
- Information about when a book was borrowed and by whom.
Entering data this way requires multiple entries (and duplicate data in some of the columns)
This can lead to the following problems:
- Data entry errors (see bolded items);
- The user having to enter the same information over and over;
- The database would grow very big, very quickly, causing it to run slower.
- Table One (tblBook) would contain information about the books;
- Table Two (tblBorrower) would contain information about the borrowers; and
- Table Three (tblLoan) would contain information about the borrowing of a book.
I have included the examples below for each of the tables for the library database. The primary key and foreign key fields will be explained a bit later.
Note:
The fields have been broken down in to their smallest logical part. As an example, a person’s name has been broken down to:
- Surname;
- First name;
- Title.
Primary Key - Unique Identifier
An important part of determining the fields for each table is deciding which field (if any) is suitable as the primary key.
The power of a relational database is the ability to bring a lot of information together quickly. For this to work efficiently and effectively, Microsoft® Access needs to be able to identify unique records. For this reason, one field or a set of fields needs to be unique. This can be a unique identification number such as a Medicare number, Employee ID number, Pension number, etc.:
- A primary key cannot contain duplicate values, e.g. a person’s last name is not suitable as a primary key as there is often more than one person with the same last name;
- A primary key cannot contain null values, therefore a field such as a phone number is not suitable, as you may not know the person’s phone number when you first enter them into the database;
- Also, if the information contained in the Primary Key is likely to be altered, then it is best to avoid this field as well.
Foreign Keys - The Foreign Key is the field that links a related table to the main table. As an example, in the library database, a borrower may appear many times in the ‘Loan’ table, as a borrower may borrow many books. A book may also occur many times in the ‘Loan’ table as a book can be borrowed many times. Therefore, the loan table would contain many links to a particular borrower and many links to a particular book, but each loan record would relate to only one book and one borrower. This is illustrated below:
- The ‘tblBorrower’ table is linked to the ‘Loan’ table with the BorrowerID and BorrowerFK fields;
- The ‘Book’ table is linked to the ‘Loan’ table with BookID and BookFK fields.
These fields are known as foreign keys (FK). Note: that only the ID field is kept in the loan table, no other information is needed from the borrower table or the book table. By setting up relationships between the tables, Microsoft Access knows which foreign key belongs to which primary key (unique identifier) and can pull the information from the relevant tables when needed.
So it some it all up. What is Microsoft Access, well it is a relational database found in the Microsoft Office suite.
WEEK 14 - Designing Database
Database design is the process of producing a detailed data model of a database. This logical data model contains all the needed logical and physical design choices and physical storage parameters needed to generate a design in a Data Definition Language, which can then be used to create a database. A fully attributed data model contains detailed attributes for each entity.
The design process consists of the following steps :
1) Determine the purpose of your database - This helps prepare you for the remaining steps.
2) Find and organize the information required - Gather all of the types of information you might want to record in the database, such as product name and order number.
3) Divide the information into tables - Divide your information items into major entities or subjects, such as Products or Orders. Each subject then becomes a table.
4) Turn information items into columns - Decide what information you want to store in each table. Each item becomes a field, and is displayed as a column in the table. For example, an Employees table might include fields such as Last Name and Hire Date.
5) Specify primary keys - Choose each table’s primary key. The primary key is a column that is used to uniquely identify each row. An example might be Product ID or Order ID.
6) Set up the table relationships - Look at each table and decide how the data in one table is related to the data in other tables. Add fields to tables or create new tables to clarify the relationships, as necessary.
7) Refine your design - Analyze your design for errors. Create the tables and add a few records of sample data. See if you can get the results you want from your tables. Make adjustments to the design, as needed.
8) Apply the normalization rules - Apply the data normalization rules to see if your tables are structured correctly. Make adjustments to the tables .
WEEK 13 - Data Management
Data management is the development and execution of architectures, policies, practices and procedures in order to manage the information lifecycle needs of an enterprise in an effective manner.
WEEK 12 - Exercise on Non-books Materials
Chart1
CHA
001
Atlanta : sectional aeronautical [chart]
Washington : U.S.Department of Commerce, 1979
1map : b & w ; 11 x 19 cm + 1book
Accompanies text : The student pilot’s flight manual : including night flying and emergency flying by reference to instrument.
1.Airplanes Piloting 2.Piloting
Map
MAP
001
Metallogenic map of Burma [map]
Bangkok : Asian Institute of Technology, 1978
Accompanies Third Regional Conference on Geology anf Mineral Resources of Southeast Asia;
Edited by Prinya Nutalaya
1.Burma Metallurgy
I.Nutalaya, Prinya
WEEK 11 - DBMS (advantages & disadvantages)
Advantages of DBMS
1) Reduction of Redundancies - avoid unnecessary duplication data and minimizing the storage of data.
2) Sharing Data - allows the sharing of data under its control by any number of application and users.
3) Data Integrity - data contained acurate and consistency.
4) Data Security - ensure that proper access procedures are followed, including proper authentication schemes for access to DBMS and additional checks before permitting access to sensitive data.
5) Conflict Resolution - permitting less critical applications to continue to use the database.
6) Data Independence - allows changes in the physical storage devices
Disadvantages of DBMS
1) Reduction of Redundancies - avoid unnecessary duplication data and minimizing the storage of data.
2) Sharing Data - allows the sharing of data under its control by any number of application and users.
3) Data Integrity - data contained acurate and consistency.
4) Data Security - ensure that proper access procedures are followed, including proper authentication schemes for access to DBMS and additional checks before permitting access to sensitive data.
5) Conflict Resolution - permitting less critical applications to continue to use the database.
6) Data Independence - allows changes in the physical storage devices
Disadvantages of DBMS
A significant disadvantage of the DBMS system is cost. In addition to the cost of purchasing ordeveloping the software, the hardware has to be upgraded to allow for the extensive programs and the workspaces required for their execution and storage. The processing overhead introduced by theDBMS to implement security, integrity, and sharing of the data causes a degradation of the responseand through-put times. An additional cost is that of migration from a traditionally separateapplication environment to an integrated one.
While centralization reduces duplication, the lack of duplication requires that the database beadequately backed up so that in the case of failure the data can be recovered. Backup and recoveryoperations are fairly complex in a DBMS environment, and this is exacerbated in a concurrent multiuser database system. In further a database system requires a certain amount of controlledredundancies and duplication to enable access to related data items.Centralization also means that the data is accessible from a single source namely the database. Thisincreases the potential severity of security breaches and disruption of the operation of theorganization because of downtimes and failures. The replacement of a monolithic centralizeddatabase by a federation of independent and cooperating distributed databases resolves some of theproblems resulting from failures and downtimes.
WEEK 10 - CATALOGING OF NON-BOOKS MATERIALS
CD 1
Pendidikan seni visual tingkatan 4 dan 5 : Catan
Kuala Lumpur : Bahagian Teknologi Pendidikan, 2005
1CD; bwn; Microsoft Windows 98 dan ke atas, sekurang-kurangnya 32MB
Mengutarakan definisi, sejarah dan penerangan tentang cat air, pengenalan contoh-contoh bergambar, latihan dan aktiviti memadanmakn gambar serta penilaian yang menguji minda.
1.PENDIDIKAN SENI 2.CATAN 3.Bahagian Teknologi pendidikan
CD2
Kemahiran hidup bersepadu tahun 4 : Elektrik.
Kuala Lumpur : Bahagian Teknologi Pendidikan, 2003
1CD; bwn; Microsoft Windows 98 dan ke atas, sekurang-kurangnya 32MB
Menghuraikan penerangan dan latihan kaedah penyambungan litar elektrik, beberapa soalan tutorial dan aktivit pengayaan mengenai litar elektrik.
1.KEMAHIRAN HIDUP 2.ELEKTRIK 3.Bahagian Teknologi Pendidikan
Pendidikan seni visual tingkatan 4 dan 5 : Catan
Kuala Lumpur : Bahagian Teknologi Pendidikan, 2005
1CD; bwn; Microsoft Windows 98 dan ke atas, sekurang-kurangnya 32MB
Mengutarakan definisi, sejarah dan penerangan tentang cat air, pengenalan contoh-contoh bergambar, latihan dan aktiviti memadanmakn gambar serta penilaian yang menguji minda.
1.PENDIDIKAN SENI 2.CATAN 3.Bahagian Teknologi pendidikan
CD2
Kemahiran hidup bersepadu tahun 4 : Elektrik.
Kuala Lumpur : Bahagian Teknologi Pendidikan, 2003
1CD; bwn; Microsoft Windows 98 dan ke atas, sekurang-kurangnya 32MB
Menghuraikan penerangan dan latihan kaedah penyambungan litar elektrik, beberapa soalan tutorial dan aktivit pengayaan mengenai litar elektrik.
1.KEMAHIRAN HIDUP 2.ELEKTRIK 3.Bahagian Teknologi Pendidikan
Subscribe to:
Posts (Atom)