Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Inst.

Ejaz Ahmed
CS2005 – Database Systems
Class Quiz # 2
Time: Take Home
Maximum Marks : 25
Name:__________________________________

ID# :_________________________________

Note:
 Copying or Discussion will result zero grade for all
the students involved.
 Each question carries equal marks.
 Topics includes Keys covered until last week.
 Your writing should be simple and precise natural English
language, use least technical words/ sentences.
 Print Submission is required before 12:30pm on THUR
14/10/2022.

Write down a detailed paragraph of Requirements Gathering of the following short


scenario along with the GUI-Form (identifying a record) used by the reception of
enterprise IESCO.

Person is visiting IESCO office to discuss a complaint for the replacement of his/ her
premises electric meter. Assume he/ she does not carry electric bill for the reference
purpose during the visit.

1
SOLUTION: Quiz-2 S15

Q1. A candidate key is a key that determines all of the other columns in a relation
Candidate key columns help in searching fewer duplicated or unique records.

In Item_DATA relation
ItemID is a candidate key
SKU_Description is a candidate key

In ORDER_ITEM
(OrderNumber, ItemID) is a candidate key

Q2.
ATMDrawMoney (Card#, Serial#, MachineId, Amount, TransDate, TransType)

You might also like