ict project - make a book loan system

Upload: neodun

Post on 06-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 ICT Project - Make a Book Loan System

    1/20

    ICT @ WARLINGHAM

    PROJECT:

    BUILD A LIBRARY BOOK LOAN SYSTEM

    Name: _________________________________________ Form: _________

    Teacher: _______________________________________

  • 8/3/2019 ICT Project - Make a Book Loan System

    2/20

    2

    ICT PROJECT:

    MAKE A LIBRARY LOANSYSTEM

    The LRC needs a simple database system to record who has borrowed their booksand when they are due.

    Specialist library database programs are available to buy, but they can be expensive.You can make a simple database to help at the LRC and save lots of money, so thatit can be spent on books instead.

    When you have finished this project, you will have made a functioning Book LoanDatabase for the library.

    There are a number of phases to complete the project:

    Analysis Finding out and understanding what you have to do

    Design Planning your solution

    Implement Making your solution

    Test Ensuring that your solution works

    Evaluate Comment on the effectiveness of your solution

    User guide An instruction book to show others how to use yoursystem

  • 8/3/2019 ICT Project - Make a Book Loan System

    3/20

    3

    STAGE 1 ANALYSIS

    Following is a list of requirements that the librarians want:

    I. The system must be easy to use.

    II. The system must clearly record all books by the following fields:

    Book Field Why it is needed

    Barcode Number

    Title

    Author

    Subject: Fairytales and LegendsFast Facts & General KnowledgeReligions & FestivalsCommunity & SociologyTransport & CommunicationMaths & ScienceSpaceOur PlanetPlants & AnimalsIndustry & ResourcesHuman Body

    Hobbies/Sports/Music/Drama/ArtPoetry & LanguagesHistory & GeographyFamous PeopleFiction

    It is the book number

    The book title

    Who wrote the book

    To classify the book bytopic

    III. The system should be able to record loans of books to students.

    IV. When a book is loaned, the return date should be 2 weeks (14 days) from theissue date.

    V. The following information should be gathered about the students:

    Student NumberFirst NameSurnameFormSchool House

    VI. You are to make a clear input screen (a Form) for the library books.

    VII. You are to make clear input Forms for the loans and students.

  • 8/3/2019 ICT Project - Make a Book Loan System

    4/20

    4

    VIII. You should make a switchboard and action buttons so that it is easy tomove around the database.

    IX. It should be easy to run queries and reports from the database.

    * * * * * * * * * *

    Answer the following questions, to show your understanding:

    1. Why is it beneficial to have the book loan system on a computer rather thanuse a manual card system?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    2. Define the term computer database.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    3. What are 3 things that a computer database should be able to do?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

  • 8/3/2019 ICT Project - Make a Book Loan System

    5/20

    5

    4. What is a field? Give 2 examples.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    5. What is a key field? Give an example.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    6. What is a record? Give 2 examples.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    7. What is a table? Give 2 examples.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

  • 8/3/2019 ICT Project - Make a Book Loan System

    6/20

    6

    8. What is a validation rule? Why is useful to have validation rules?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    9. What are the 3 tables that you will need for the Library database? State what

    the purpose of each table is.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    10. Why is the Loan table the most important?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

  • 8/3/2019 ICT Project - Make a Book Loan System

    7/20

    7

    11. The librarians have 9 requirements for the system. Why is it necessary forthem to clearly state what they want?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    12. Which of their requirements do you think is the most important, and why?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    13. Which program will you use to make the database?

    ___________________________________________________________________

  • 8/3/2019 ICT Project - Make a Book Loan System

    8/20

    8

    STAGE 2 DESIGN

    You now have to think about the tables and the fields that will be within them.

    An effective design is a complete set of plans. A good set of plans should be able tobe followed by anybody.

    You will have to have some validation rules to make sure that only valid data isaccepted into the data tables.

    You will have to have some input forms. A form is used to display the records in atable in a user friendly way. By using a form you can enter and edit records moreeasily.

    The following data on books is available for you to input into your tables to test thesystem.

    You will have to modify the subject entry field to match the new field options that theLibrarians want.

    In reality the database would store details on thousands of books.

  • 8/3/2019 ICT Project - Make a Book Loan System

    9/20

    9

    The following is a list of students that can be used for test data:

    In reality the database would store details on 1200 students in Years 7-11.

    Use the following planning grids to think abut the three tables that you will require:

    Book table

    Student table

    Loan table

    Your teacher will help you make validation rules and list boxes for some of the fields.

    (There is a spare in case you mess one up.)

  • 8/3/2019 ICT Project - Make a Book Loan System

    10/20

    10

    DATABASE CONSTRUCTION / PLANNING SHEET

    Database name:

    Database purpose:

    Table name: Linked tables: Primary key

    Field Name Data type Field Length Example data Validation Rule / Notes

  • 8/3/2019 ICT Project - Make a Book Loan System

    11/20

    11

    DATABASE CONSTRUCTION / PLANNING SHEET

    Database name:

    Database purpose:

    Table name: Linked tables: Primary key

    Field Name Data type Field Length Example data Validation Rule / Notes

  • 8/3/2019 ICT Project - Make a Book Loan System

    12/20

    12

    DATABASE CONSTRUCTION / PLANNING SHEET

    Database name:

    Database purpose:

    Table name: Linked tables: Primary key

    Field Name Data type Field Length Example data Validation Rule / Notes

  • 8/3/2019 ICT Project - Make a Book Loan System

    13/20

    13

    DATABASE CONSTRUCTION / PLANNING SHEET

    Database name:

    Database purpose:

    Table name: Linked tables: Primary key

    Field Name Data type Field Length Example data Validation Rule / Notes

  • 8/3/2019 ICT Project - Make a Book Loan System

    14/20

    14

    Think of at least 5 queries that the librarians would want to run on the database. Listthe fields that will be required and what tables they will come from.

    Name of query What it will doTables and fields requiredto make the query

  • 8/3/2019 ICT Project - Make a Book Loan System

    15/20

    15

    The tables in the database will be related to each other.

    The Loan table will be the link table.

    This diagram shows which fields will join the tables together:

    Book table

    Book ISBN

    Loan table

    Book ISBNStudent Number

    Student table

    Student Number

    A book can be loaned many times, so it is a one-to-many relationship.

    A student can have many loans, so it is a one-to-many relationship.

    The infinity symbol is used to show which field in the relationship has manyevents.

    1 1

  • 8/3/2019 ICT Project - Make a Book Loan System

    16/20

    16

    STAGE 3 IMPLEMENT

    Now you are ready to commence making the database.

    You should be able to set up the database tables and enter in the fields to constructthe tables.

    Use the 3 database planning sheets to make the 3 tables.

    Make sure that you have good validation rules, with appropriate errormessages

    Have some list boxes in some of the fields, to reduce errors.

    Relate the tables together by joining the appropriate fields through the loantable.

    Input the student data and book data into your database.

    When you are making the database, you should learn how to do these things (ofcourse your teacher will help you):

    How to make input forms

    How to insert action and command buttons into the forms

    How to set parameter values in query design

    How to automatically fill fields

    To show that you have made your database, you must have screenshots printed foreach of the following:

    Design views for each of the 3 data tables

    3 Forms, one for each table

    5 Queries that you have built, using the query builder

    3 Reports that have been made

  • 8/3/2019 ICT Project - Make a Book Loan System

    17/20

    17

    STAGE 4 TEST

    After you have made your database, it is important to test it to see if it works properly.

    You can use the test data provided earlier in the book to populate your Book tableand Student table with data.

    There are a number of purposes of testing:

    To make sure that correct (normal) data can be entered.

    To check whether the database will reject any data that does not fit thevalidation rules.

    To make sure that queries can be generated and return correct results.

    To make sure that command and navigation buttons work.

    A testing table must be made as evidence that you have carried out effective tests ofthe system. Errors should be recorded and notes made about what things you did tocorrect the system.

    Testnumber

    Description of test Test data used Evidence oftest

    Passed testor corrective

    action(eg screenshot)

    You will have to think up some data for the testing of the loan table.

    Make a list of 10 loans that you can use to put into your system to see if it works.

  • 8/3/2019 ICT Project - Make a Book Loan System

    18/20

    18

    STAGE 5 EVALUATE

    An evaluation is a report on the effectiveness and completeness of the solutioncompared to what was originally intended.

    You will need to refer back to the original requirements of the system from theLibrarians.

    Word process answers to the following questions, in complete sentences. Leave outthe question numbers.

    1. State the purpose of the database.

    2. Make the table and complete it:

    User requirement How it was fulfilled

    List the 9 user requirements from theanalysis.

    State how your system matched each ofthese requirements.

    3. State how parts of the database could be improved.

    4. State some things that the database will not do.

  • 8/3/2019 ICT Project - Make a Book Loan System

    19/20

    19

    STAGE 6 USER GUIDE

    Your User Guide should do exactly as it says show the user how to use yoursystem. It is in a booklet format and is a set of instructions.

    Outline of the purpose of the database

    Screenshots of the system and outlines of what the different buttons do

    How to put data into the system

    How to make queries

    How to save or print out reports

    Common problems with amending data, and how to fix them

    You will have plenty of SCREENSHOTS to illustrate your user guide.

    DO YOU HAVE THESE THINGS IN YOUR USER GUIDE? Completed

    It is in a booklet format, and looks professional.

    It outlines the purpose of the system.

    There are screenshots of the system and clear reference to what each

    of the parts of the system are.

    It shows people how to put information into the system.

    It talks about the validation rules and list boxes used in the data tables,and the error messages.

    It shows how to make queries.

    It shows how to print and see the reports.

  • 8/3/2019 ICT Project - Make a Book Loan System

    20/20

    FOR YOUR NOTES

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________