0% found this document useful (0 votes)
89 views3 pages

Sample Lab Test 1: ER Modeling: Is202 Data Management

The document provides instructions for a lab test on entity relationship (ER) modeling. It describes two scenarios that need to be modeled: [1] a car leasing company that tracks cars, repairs, services, firms, and leases; [2] a bank that tracks headquarters, branches, employees, customers, accounts, transactions, loan packages, properties, and loans. Students are instructed to use Visio to develop ER diagrams for the two scenarios within 50 minutes and submit their file by the deadline.

Uploaded by

jaslyn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views3 pages

Sample Lab Test 1: ER Modeling: Is202 Data Management

The document provides instructions for a lab test on entity relationship (ER) modeling. It describes two scenarios that need to be modeled: [1] a car leasing company that tracks cars, repairs, services, firms, and leases; [2] a bank that tracks headquarters, branches, employees, customers, accounts, transactions, loan packages, properties, and loans. Students are instructed to use Visio to develop ER diagrams for the two scenarios within 50 minutes and submit their file by the deadline.

Uploaded by

jaslyn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

IS202 DATA MANAGEMENT

Sample Lab Test 1: ER Modeling


Total: 15 Points

INSTRUCTIONS TO STUDENTS
1. Use VISIO to finish the test. The final submission is one VISIO file named
baihua-zheng-2016.vsd when [email protected] is your
email address. Do not forget to put your name in all pages of the VISIO file.
Log into the eLearn to submit the VISIO file under Lab Test 1 Submission.
2. The test is 50 minutes excluding the submission, and you have additional 5
minutes for submission. 10% off for submissions up to 15 minutes late, and
no grade for later submissions.
3. This is a Closed Book test. You cannot have any other vsdx file or sample
ER diagram opened in VISIO. Students who violate this will be penalized.
4. The wireless connection should be disabled before the test, and students are
allowed to enable the connection only when they do the submission. Any
student who enables or attempts to enable the wireless connection during the
test will be awarded ZERO for the test.
5. Only VISIO is required for the test. In case any application other than VISIO
shows in the TaskBar, the lab test terminates.
6. Please return the test paper after the test. All the students who fail to return
this test paper will be awarded ZERO for the test.

Student Name________________________

Section _____________________________

StudentID____________________________

IS202 Data Management


1. A database needs to track cars for the car leasing company ABC
(5 points).
Each car has a unique register_no. Other information such as the
purchase_date, the price, and the manufacturer is also kept.
Sometimes, the cars need to be sent for repair. We assume there is a list of
car repair companies available, and each repair is sent to one repair company
only. Each company has a unique ID and its address is recorded.
There is a list of standard services available, such as Battery Service and
Tyre Rotation and Balancing. Each service has a unique id, and its
description is recorded as well. Any service can be offered by any repair
company.
Each repair requires at least one service. Each repair is uniquely identified by
a repair_id. Other information like the overall charge of a repair, repaired date,
and services required by one repair, and the company that offers the car
repair is recorded. Note that a car can have any number of repairs.
The company ABC works together with many firms. Each firm has a unique
firm_id, a name and address. The cars are leased to different firms. A
contract is created for the lease of a car, which is identified by the unique
contract_id. In the contract, the lease date, the end date, and the charge is
recorded. Not all the cars are leased, since the company may reserve some
for its own use.

2. A database needs to track employees and accounts information for ABC bank
(10 points)
ABC bank operates in different countries worldwide. There is only one
headquarter (HQ) in each of these countries. Each HQ has a unique number.
Other information such as the name, the country it locates and the address is
also kept.
There are several branches in each country. The branches report to
headquarters. Each branch has a branch_no, a name and address. Each
branch is uniquely identified by the branch_no and the number of the HQ it
reports to.
Each branch has many employees and an employee works for one branch.
An employee has a unique ID, a name, an address and a job title.
Each branch has a manager who is also an employee working in that branch.
The bank wants to keep track of the duration an employee is a manager of
that branch. An employee can be a manager of a different branch during a
different period.
Employees can be temporarily transferred to a branch other than the one they
normally work for. For the transfer of each employee, a contract is signed.
Each contract has a unique contract_id. It also keeps information such as the
branch that the employee originally worked in, the branch that the employee
is transferred to, the start date, and the end date of the transfer.

IS202 Data Management


Each customer of the bank has a unique IC_No, a name, address, and phone
number. A customer has at least one account (either saving account or
current account), and each account has a unique account_no, an account
type, open date and current balance. The branch at which the account is
opened should also be kept.
The customer can make transactions on his/her accounts. Each transaction
needs an employee to attend. Each transaction has a transaction ID, which
together with the account_no can uniquely identify a transaction. It also keeps
the transaction date, the description, and the employee who attends to it. A
transaction is for one and only one account, while an account can have any
number of transactions. The employees can retrieve and view the
transactions.
ABC bank also offers housing loans to its customer. We assume different
countries offer different loan packages. For each loan package, it has a
unique package name, and its interest rate and lock in time are recorded in
the database as well. A loan package is corresponding to one country while a
country has multiple loan packages.
A customer can take loan for his/her property. He/she needs to first register
the property with the HQ and get it evaluated. For each registered property,
the database keeps track its unique ID, address, valuation, type and the HQ
at which the property gets registered. We assume a property belongs to one
customer only, and a customer can register zero/one/many properties. Then,
the customer takes the loans against properties. We assume that the
customer takes one loan against only one registered property at one time.
For each loan, the database has to keep track i) the customer who takes the
loan; ii) the property that the customer mortgages for the loan; iii) the loan
package that the customer takes; and iv) the branch at which the final loan
contract is signed. We assume each loan has its unique loan id and ABC
bank also records its loan amount, loan date, status and the tenure. We
assume i) a customer can only take one loan at one time whereas he/she can
apply for new loan once he/she pays off the current loan, ii) a loan is taken by
one customer only, iii) multiple loans may be taken against the same property
but at different times; and iv) a loan is corresponding to one loan package.

~~ THE END ~~

IS202 Data Management

You might also like