[Solved] COMP1140 Assignment1

$25

File Name: COMP1140_Assignment1.zip
File Size: 188.4 KB

SKU: [Solved] COMP1140 Assignment1 Category: Tag:
5/5 - (1 vote)

Data Requirements:

Catalogue

The School of SEEC maintains information about its physical and online resources. SEEC have physical resources which students can borrow/loan such as cameras, speakers, phones and CDs. SEEC also have online resources which can be used such as various software that students can have access to if required.

Collections

The School have many collections of items in each respective location. A collection contains a unique name ES105 Speaker, etc. and provides the location where the collection exists physically in the building. Each physical item belongs to a collection within the School of SEEC. Likewise, the School of SEEC also provides information as to where to access and download software for student use. Each software item is a part of a collection which exists virtually and is arranged into different categories depending on the course (e.g. Engineering, Computing, etc.) that the software is related to.

Resources

The School of SEEC have many resources that they can loan students during the duration of their degree to assist them in their study or to use during their assignments. Every resource has:

  • a resource ID (which is unique)
  • a description of the item
  • a status (e.g. in use, maintenance, available, borrowed, lost, damaged, etc.)

There are two types of resources students can use; moveable and non-moveable. Moveable resources include items such as cameras, microphones, speakers, etc. Moveable resources have a:

  • name
  • make
  • manufacturer
  • model
  • year
  • asset value

For example, the SEEC resource database about would maintain information about cameras. Information on cameras maintained by the School include:

  • Brand of camera (Canon, Nikon, Sony)
  • Type of camera (camcorder, DSLR, action)
  • Camera lenses (standard/general purpose, wide angle)
  • Charge time and battery life
  • Colour
  • Model Number
  • Serial Number
  • Storage location of the cameras depending on what is loaned/used more.

Non-movable resources are resources such as classrooms, laboratories, etc. Each immovable resource has:

  • maximum person capacity
  • room name
  • building
  • campus

Each resource is placed into a category, such as ALL cameras, ALL speakers, etc. Each category has a:

  • unique code
  • name
  • description
  • max time allowed to borrow/book (in days and/or hours)

Location

All resources have a location where they are situated that can accessed by staff members and student members alike. These locations have a:

  • unique ID
  • room
  • building
  • camp

Loan

Lending and reservation rights are offered to students by staff who are enrolled in courses offered by SEEC. These students and staff are known as members in the system. Members have a:

  • unique ID (student or staff number)
  • name
  • address
  • phone number
  • email
  • status (active, disabled)
  • comments field

Student members enroll in courses offered by SEEC. Course information about course offerings and student enrollments are maintained. A course offering has a:

  • offering ID (which is unique)
  • course ID (which is unique)
  • name
  • semester offered
  • year offered
  • course beginning/end date

Privilege

Staff members can borrow/reserve resources. Staff have no limits on the number of resources that staff can use. Students are granted privileges on what they can borrow/reserve depending on the course they are enrolled in. Courses are assigned privileges to different categories of resources. Each privilege has a:

  • name
  • description
  • a privilege category
  • maximum number of resources that a student member can borrow/book at any given time

A member can loan moveable resources (such as cameras, speakers, etc.) if their privileges allow it. Information about the resource when it is loaned is maintained for the duration of it loan.

New Acquisitions

New acquisitions can be made to the School by a student or staff member. An acquisition contains:

  • a person requesting acquisition
  • an item name
  • make
  • manufacturer
  • model
  • year
  • a description of the required item
  • its urgency

The administrator of the system assigns values to the acquitted item such as:

  • status (acquired, pending, etc.)
  • a fund code
  • vendor code
  • price
  • other notes pertaining to the request

Reservations

Resources can be reserved by members as long as their privileges allow them to borrow/book that resource. The resource will be booked for pickup/use by the student or staff member at the requested date and time after a reservation is made. Reservations have the date and time the item is required and a due date and time. No two reservations should ever conflict as that becomes problematic for one of the members attempting to borrow/book the resource.

Transaction Requirements:

Data Manipulation Operations

  • Insert/update/delete an item in the database
  • Insert/update/delete a copy of item in the database
  • Insert/update/delete the status of an item
  • Insert/update/delete an online information source
  • Insert/update/delete staff of the School of SEEC
  • Insert/update/delete location of a resource
  • Insert/update/delete members
  • Insert/update/delete member information
  • Insert/update/delete acquisition items
  • Insert/update/delete reservations

Queries

  • Search for an item based on brand, title, serial number, keyword and/or publisher
  • List current loans by a specific member
  • List frequently loaned items for each semester
  • List members who have loaned an item over a duration of time
  • List new acquisitions made by staff or student members
  • Fines report containing information about fines imposed and members fined
  • Provide information about student member privileges
  • Provide information about reservation dates of resources
  • Provide information about the privileges members have
  • Provide information about the maximum possible loans a student member can take out

Business Rules:

  1. Expiration of Student Member Access
    • A students borrowing privileges are taken away when they finish their enrolled course.
    • When the date is later than the end date, they are automatically taken away.
    • The status of the student member is set to disabled
  2. Maximum number of items loaned or reserved at any one time
    • A student member cannot borrow, or reserve more than the maximum number of items specified in his/her privileges at any given time
    • Staff members have precedence over student members regarding loaning resources
  3. Late returns by student member penalties
    • Each student member has a default set of points earned at the beginning of their course (12 to start with)
    • For each incurred day that the item is overdue, a penalty of 3 points is given, which is deducted from the total amount that student member has
    • When the points come to 0, member status of that student is disabled, and borrowing/reservation privileges are revoked
  4. Cancellation of Reservations
    • A reserved item is cancelled if it is not collected by the member on the day of the required due date
    • Non-cancellation of a reservation by a member means 1 point is deducted from the members total
    • Administrators can also cancel any reservation as they hold the right to do so
  5. Borrowing/Reservation Periods
    • The duration of the borrowing/reservation periods, being either number of days or hours, is determined by the category to which the item belongs

ENTITY TYPES:

Entity Name Description Aliases Occurrence
Catalogue A database of resources that is used to search for loanable items Database Online database where the catalogue can be accessed
Resources Items both physical and virtual that are used by students to aide their study Borrowed Items Physically stored in certain locationsVirtually stored online
Category Describes a group of items which are similar/the same Items are categorized so searching for them and loaning is more efficient
Location Place where resources are kept The place, physically or virtually, where a resource is stored
Movable Resources Resources such as cameras, speakers, etc. Loaned out by members of SEEC, either students or staff
Non-movable Resources Resources such as classrooms, studios, laboratories, etc Buildings/Rooms Loaned out by members of SEEC, either students or staff
Loan Borrowing an item/resource Borrow Items that are borrowed from SEEC
Reservations Resources student and staff members request to loan A member logs online and requests to loan a resource from SEEC
Members A student or staff member Students/staff Members reserve resources
Students Members that enroll into courses at the University Members Students make reservations to loan a resource
Staff Members that teach courses at the University Members Staff make reservations to loan a resource
Acquisitions Requests made by members, so they have access to new/more resources Members make acquisitions which is then accepted or denied by admin staff
Privilege Freedom to loan a resource from the School of SEEC Student members have privilege which allows them to loan items
Administrator A member of staff who decides/organizes acquisition requests Checks to see if new resources can be supplied to members

RELATIONSHIP TYPES:

Entity Name Multiplicity Relationship Multiplicity Entity Name
Catalogue 1.. * Has *..1 Resources
Resources *..* Categorized *..* Category
Category 1..1 ProvidesAccessTo *..1 Location
Location 1..* Holds 1..1 Movable Resource
Location 1..* Holds 1..1 Non-movable Resource
Resources *..1 BelongsTo 1..* Loan
Reservations 1..1 Requested 1..* Loan
Members 1..* Make 1..1 Reservations
Staff *..* Are *..1 Members
Student *..* Are *..1 Members
Members 0..* Requests 1..* Acquisitions
Administrator 1..* Accepts/Denies 1..* Acquisitions
Student 1..1 Have 1..* Privilege

ATTRIBUTE TYPES:

Entity Name Attributes Description Data Type & Length Nulls Multi-valued Derived Default
Catalogue Physical Resources Items that can be loaned physically Varchar(50) No Yes No No
Online Resources Items that can be loaned virtually Varchar(50) No Yes No No
Resources Resource ID ID of the resource Char(10) No No No Yes
Description Describes the resource Varchar(50) No No No Yes
Status Status of a resource being loaned Varchar(30) No No Yes No
Loan Offering ID ID of the offering loan Char(10) No No No Yes
Course ID ID of the course Char(10) No No No Yes
Name Name of the loan Varchar(30) No No No Yes
Semester Offered Semester that the loan is offered Char(1) No No No Yes
Year Offered Year that the loan is offered Char(4) No No No Yes
Course Beginning/End Date Date of the courses beginning/ending Varchar(20) No Yes No No

ATTRIBUTE TYPES (CONT.):

Entity Name Attributes Description Data Type & Length Nulls Multi-valued Derived Default
Members Member ID ID of a member Char(10) No No No Yes
Name Name of member Varchar(30) No No No Yes
Email Email of member Varchar(30) No Yes No No
Address Address of member Varchar(50) No No No Yes
Status Status of member Varchar(12) No No No Yes
Phone Number Phone number(s) of member Char(10) No Yes No No
Comments Field Comments about member Varchar(100) Yes Yes No No
Administrator Status Status of the acquisition Varchar(15) No No No Yes
Fund Code Code of Fund Char(5) No No No Yes
Vendor Code Code of Vendor Char(5) No No No Yes
Price How much the resource costs Decimal(5) No No No Yes
Other Notes Pertaining to the Request Extra notes about the new resource Varchar(50) No No No Yes
Reservations Pickup Date and Time Date and time resources are to be given Varchar(20) No No No Yes
Return Date and Time Date and time resources are due Varchar(20) No No No Yes

ATTRIBUTE TYPES (CONT.):

Entity Name Attributes Description Data Type & Length Nulls Multi-valued Derived Default
Student and Staff IDs ID of student/staff Char(10) No No No Yes
Name Name of student/staff Varchar(30) No No No Yes
Email Email of student/staff Varchar(30) No Yes No No
Category Category Code Code of the resources category Char(5) No No No Yes
Name Name of category Varchar(30) No No No Yes
Description Description of category Varchar(50) No No No Yes
Max Time Allowed to Borrow/Book Time a resource can be used Varchar(10) No No No Yes
Location Location ID ID of location Char(8) No No No Yes
Room Room location Char(3) No No No Yes
Building Building location Varchar(3) No No No Yes
Campus Campus location Varchar(15) No No No Yes
Movable Resources Name Name of resource Varchar(20) No No No Yes
Make Make of resource Varchar(20) No No No Yes
Manufacturer Manufacturer of resource Varchar(20) No No No Yes
Model Model of resource Char(12) No No No Yes
Year Age of resource Char(4) No No No Yes
Asset Value Value of resource Decimal(5) No No No Yes

ATTRIBUTE TYPES (CONT.):

Entity Name Attributes Description Data Type & Length Nulls Multi-valued Derived Default
Non-movable resources Maximum Room Capacity How many people can fit in a room Varchar(30) No No No Yes
Room Name Name of Room Char(3) No No No Yes
Building Building location Varchar(3) No No No Yes
Campus Campus location Varchar(15) No No No Yes
Privilege Name Name of privilege Varchar(30) No Yes No No
Description Description of privilege Varchar(50) No No No Yes
Privilege Category What kind of privilege a student member has Varchar(16) No Yes No Yes
Maximum Number of Resources allowed to be Booked/Borrowed Time allowed for a student to borrow/book a resource Varchar(10) No Yes No No
Acquisitions Person Requesting Acquisition Name of person Varchar(30) No No No Yes
Item Name Name of item Varchar(30) No No No Yes
Make Make of resource Varchar(20) No No No Yes
Manufacturer Manufacturer of resource Varchar(20) No No No Yes
Model Model of resource Char(12) No No No Yes
Year Age of resource Char(4) No No No Yes
Description of Required Item Item description Varchar(50) No No No Yes
Item Urgency How much is the item needed Varchar(10) No No Yes No

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COMP1140 Assignment1
$25