PROJECT:
BUILD A LIBRARY BOOK LOAN SYSTEM
ICT PROJECT:
The LRC needs a simple database system to record who has borrowed their books
and 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 that
it can be spent on books instead.
When you have finished this project, you will have made a functioning Book Loan
Database for the library.
There are a number of phases to complete the project:
Analysis
Design
Implement
Test
Evaluate
User guide
STAGE 1 ANALYSIS
Following is a list of requirements that the librarians want:
I.
II.
The system must clearly record all books by the following fields:
Book Field
Why it is needed
Barcode Number
Title
Author
Subject:
III.
IV.
When a book is loaned, the return date should be 2 weeks (14 days) from the
issue date.
V.
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.
VIII.
IX.
**********
Answer the following questions, to show your understanding:
1.
Why is it beneficial to have the book loan system on a computer rather than
use a manual card system?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
2.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
3.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
4.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
5.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
6.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
7.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
8.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
9.
What are the 3 tables that you will need for the Library database? State what
the purpose of each table is.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
10.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
11.
The librarians have 9 requirements for the system. Why is it necessary for
them to clearly state what they want?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
12.
Which of their requirements do you think is the most important, and why?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
13.
___________________________________________________________________
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 to
be followed by anybody.
You will have to have some validation rules to make sure that only valid data is
accepted into the data tables.
You will have to have some input forms. A form is used to display the records in a
table in a user friendly way. By using a form you can enter and edit records more
easily.
The following data on books is available for you to input into your tables to test the
system.
You will have to modify the subject entry field to match the new field options that the
Librarians want.
In reality the database would store details on thousands of books.
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.
Linked tables:
Data type
Field Length
Primary key:
Example data
10
Linked tables:
Data type
Field Length
Primary key:
Example data
11
Linked tables:
Data type
Field Length
Primary key:
Example data
12
Linked tables:
Data type
Field Length
Primary key:
Example data
13
Think of at least 5 queries that the librarians would want to run on the database. List
the fields that will be required and what tables they will come from.
Name of query
What it will do
14
Book table
Book ISBN
Loan table
Book ISBN
Student Number
Student table
Student Number
15
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 construct
the tables.
Make sure that you have good validation rules, with appropriate error
messages
Relate the tables together by joining the appropriate fields through the loan
table.
Input the student data and book data into your database.
When you are making the database, you should learn how to do these things (of
course your teacher will help you):
To show that you have made your database, you must have screenshots printed for
each of the following:
16
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 table
and Student table with data.
There are a number of purposes of testing:
To check whether the database will reject any data that does not fit the
validation rules.
To make sure that queries can be generated and return correct results.
A testing table must be made as evidence that you have carried out effective tests of
the system. Errors should be recorded and notes made about what things you did to
correct the system.
Description of test
Test
number
Evidence of
test
Passed test
or 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.
17
STAGE 5 EVALUATE
An evaluation is a report on the effectiveness and completeness of the solution
compared to what was originally intended.
You will need to refer back to the original requirements of the system from the
Librarians.
Word process answers to the following questions, in complete sentences. Leave out
the question numbers.
1.
2.
User requirement
3.
4.
18
19
Completed
20