Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

FIJI NATIONAL UNIVERSITY

CIN501Sem: Productivity Software


Assignment 2
th
WEIGHTING: 10% DUE DATE: April 13 | 11.55PM SEMESTER 1: 2020

NOTE

1. Use MS Office 2010 or later to do the assignment.


2. Late Submission will not be tolerated.

MS ACCESS | 30 marks

PROBLEM OVERVIEW

Namaka Library
Scenario: You have been asked to create an application
to support the lending/borrowing, and registration
functions of the Namaka Library.

As part of that application, you will create a Microsoft


Access database that will support recording various
transactions.

As a proof of concept, you will create some sample forms and queries that will demonstrate how this
application might function.

STEP 1: CREATE TABLES

• Using MS Access, create a Patron table, a Book Rental table, and a Book table according to the
following specifications. Use the names, datatypes, and descriptions as indicated. Ensure your
database is saved according to FirstName_ID for example Hermann_S11048041. Certain fields may
allow the use of special field property settings such as Lookup Lists, Input Masks, Validation Rules,
Field Size and so on. Remember to keep in mind appropriate field size and captions also. Ensure you
create relationships (enforce relational integrity) between the tables.

(Hint: If you have questions about specific fields, look at the data that is going to be entered into the
tables.)

HKJ
IS
Patron Table
Attribute Data Type Description
Name

pat_id Text The primary key - used to


uniquely identify each patron

pat_name Text Patronfull name including first


and last name

Pat_phone text Patron phone number.

Pat_poadd text Patron postal address

Pat_readd text Patron residential address

Book Rental Table


Attribute Data Type Description
Name

Pat_id text The primary key and foreign key –pat_id is the primary key in
the patron table. It will be used to link the book rental table
with the patron table

Bk_no text The primary key and foreign key –bk_no is the primary key in
the book table. It will be used to link the book rental table with
the book table

Date_lent date The primary key – The date of when the book was borrowed.
This is part of the primary key in the case of when the same
patron borrows the same book twice (It is unlikely the patron
will borrow the same book twice in the same day)

Date_due date The date the book will be due or return.

Ret Yes/no Whether the book was returned or not. Default will be no.

HKJ
IS
Book Table

Attribute Data Type Description


Name

Bk_no text The primary key - a unique number for each book
(Book ascension number)

Bk_aut text Author’sfull name including first and last name

Bk_tit text Book’sfull title

Bk_pub text The publisher or publishing company

Bk_datepub date The date the book was published

Bk_datepur date The date the book was purchased or donated

Bk_cost number (or currency if Total Approximate cost of book


supported by the
DBMS)

STEP 2: ENTER DATA INTO TABLES

• After you create the three tables using Access, you will need to enter some test data into these
tables. Enter the data, as indicated, for the appropriate table. Pay attention to detail and enter the
information as written.

Data For Book Table


Bk_no Bk_aut Bk_tit Bk_pub Bk_datepub Bk_datepur Bk_cost
2101 Bob Smith Toward Macross 1/1/2010 1/1/2011 $50.00
Dawn
3120 Bob Smith Back to Back Boom 1/1/2011 2/2/2011 $49.99
4290 Jack Daniel Mystery Mercer 2/2/1999 3/3/2002 $99.00
Food
5435 Tom King Science Boom 3/3/1990 5/5/2013 $15.00
Vector
HKJ
IS
Data For Patron Table

Pat_ido Pat_name Pat_poadd Pat_readd Pat_phone

1 Gloria Simon P.O Box 144 404 Prairie Rd 818-444-9878

2 Robert Gilbert P.O Box 11 109 Hagen Dr 558-444-9878

3 Peter Stein P.O Box 174 494 Crane Cir 418-444-9878

4 Julie Henderson P.O Box 356 9003 Lincoln Hwy 603-558-9686

5 Simon Patel P.O Box 215 124 Timber Ln 303-589-5554

6 Sully Porter P.O Box 101 33 Kimberly Dr 918-444-9878

7 Alvin Potter P.O Box 14 981 Ridge Rd 878-444-9878

8 Tom King P.O Box 44 4 Spring St 608-541-9999

9 Sun Kimmy P.O Box 165 99 Charles Pl 303-885-8655

10 Peter Hall P.O Box 78 199 16th St 303-885-8655

Data For Book Rental Table

Pat_id Bk_no Date_lent Date_due Ret

1 3120 12/08/18 12/15/18 Yes

3 2101 12/05/18 12/12/18 Yes

2 2101 12/09/18 12/16/18 Yes

5 4290 12/12/18 12/19/18 Yes

6 3120 12/15/18 12/22/18 No

4 2101 12/15/18 12/22/18 No

8 5435 12/16/18 12/23/18 No

7 2101 12/17/18 12/24/18 No

HKJ
IS
10 4290 12/18/10 12/25/10 Yes

9 3120 12/19/10 12/26/10 No

STEP 3: CREATE FORMS

• After you have entered the data into the three tables, create three forms for entering and editing
the data in the 3 different tables. Remember, forms are designed to be used by other users to
manipulate records, so you will need to make them as intuitive as possible.

STEP 4: CREATE QUERIES

• The Library staff would like to use the data in these tables for the purpose of querying the database
in order to get answers to specific questions. Construct and save the following queries. You will
need to link the tables together by using the primary keys. (Hint: Database relationships).

• List the patron information (all fields) for all patrons


• Create a query to show what Alvin Potter has borrowed.
• Create a query to show the list of those book rentals and patrons who borrowed
books published by Boom
• Create a query to show the list of rentals which has still not been returned and whose
due date is after 12/23/18
• Create a query to show all patrons who borrowed “Toward Dawn” and the dates they
borrowed them

STEP 5: CREATE REPORTS

• After you have created the above queries, create three reports for any three Queries. Remember,
reports are designed to be used and viewed by other users, so you will need to make them
informative. Use the report formatting features and be creative.

WHAT TO SUBMIT:

1. Softcopy of MS Access solution to be zipped/archived in a folder using your ID number as the file
name and uploaded to the Assignment 2 submission or Drop box on Moodle. Alternatively if you
are unable to upload you may also email to hermann.jamnadas@fnu.ac.fj

You may also submit your Assignment during your lab class by transferring it to your instructor’s flash drive.

PLAGIARISM

For all written work students must ensure that they submit their own original work. Submitting the work of
others as their own, or copying or failing to fully acknowledge the source of ideas, concepts and quotations
constitute unacceptable academic practice. Any act of plagiarism will be severely penalized.
HKJ
IS
DISCIPLINE

Breaches of the University regulations including dishonesty during assessment are viewed seriously and can
lead to expulsion from the University.

HKJ
IS

You might also like