You are on page 1of 4

Computer Science Department

University of Computer & Emerging Sciences (FAST-NU)


HOME WORK ASSIGNMENT COVER SHEET

COURSE TITLE DATABASE SYSTEMS COURSE CODE CS203

INSTRUCTOR DR. EJAZ AHMED TYPE (Please tick)


Indiv. Group
ASSIGNMENT NO HW-1 (Class)

ASSIGNMENT Relational Model for ATM

HAND OUT DATE 01-FEB-2019 DUE DATE 19-FEB-2019

ESTIMATE TIME 8 Hours

ASSESSMENT CRITERIA (or attached) % Mark

Questions are attached (print copy)

This HW includes analytical and lab validations. Marks Allocation (Total 3)

Submission: Only print submission is required. Any mistake or missing material will lead to the
reduction of 5% marks.

Group of max 3 students is allowed, individual work is discouraged with 10% deduction

TO BE COMPLETED BY STUDENT (TEAM LEAD) GROUP MEMBERS ID

NAME Muhammad Hassan Najam ID Sec#


I160175
ID NO Section# C ID Sec#
ID Sec#
Time Taken

DECLARATION: I/We declare that this Coursework is my/our group’s own work

SIGNATURES (All members)

GRADE/ MARK AWARDED COMMENTS

INSTRUCTOR’S SIGNATURE DATE


Brief:

Following is an ATM transaction slip:

Assume a Bank with its many branches and ATM locations, answer the following questions.

1. Which columns can be Candidate Keys, Surrogated Key, Primary Key(s) and other constraints?
Ans:
TYPE OF KEYS IDENTIFIERS JUSTIFICATION
KEYS
Candidate Key Card Number, bank name, branch no, These attributes are set of columns, in the
STAN table that can uniquely identify any database
record without referring to any other data.

Surrogated Key STAN STAN uniquely identifies a transaction


(Withdrawal). It’s in the control of the
organization which makes it a surrogate key.
Primary Key branch code, STAN All are
• Unique.
• Not NULL.
• Both are numeric.
• Indexing is easy.
• Domain is constant.
2. Indicate columns are not seen on this ATM slip but are required for bank staff to search/ verify other
information?
Ans:
Missing Attributes
Persons Name
Father/Mother Name
CNIC
Contact Number/Operator
SSN
Address

3. Is there be any issue related to confidentiality or information security, explain?


Ans:

Indeed, Account number, Card Number and STAN every one of these qualities are essential as far as
data security and are powerless. Card Number is a private Attribute and should be remained careful.

Account number isn't classified since it very well may be effectively stolen from cheque books however
card number is imperative. On the off chance that somebody realizes your card number and approaches
your cell phone he would then be able to arrange things on the web and complete social deceitful
stabbings on the web.

There are situations where individuals through voice phishing attempt to take card number. We can
maintain a strategic distance from these by reaching the helpline of bank and notice the URL each time
while making an exchange online to twofold watch that it is the legitimate safe website of the bank you
are utilizing

4. If any person takes this slip into a bank to query any information, how bank staff will verify whose
Slip’s account holder is. Describe all possible scenarios with the help of UIs or datasets?

Ans:

SCENARIOS DESCRIPTION
Scenario # 01 Bank asks for your account number
Scenario # 02 Bank asks for your CNIC
Scenario # 03 Bank asks for your contact number/operator
Scenario # 04 Bank asks for your mother/father name
Scenario # 05 Bank asks for your address
Scenario # 06 (Optional) Bank asks for your passport number
5. Incase if amount does not dispense out from the ATM machine but Slip or SMS indicates the amount
is deducted from an account. Describe how bank will verify and resolve this issue with the presence of
an account holder.

Ans:

SCENARIOS DESCRIPTION
Scenario # 01 ATM OS Handling the Problem
Within few hours when the transaction data of ATM is refreshed it automatically sends a
message on the user’s phone to acknowledge the issue and deposits the same amount back to
their account

SCENARIOS DESCRIPTION
Scenario # 02 CCTV Footage
Bank will check the date and time on the slip and after that they will survey the cctv film to
check whether money was pulled back or not.

You might also like