Documentos de Académico
Documentos de Profesional
Documentos de Cultura
SCHOOL OF ACCOUNTANCY
AYN443 ELECTRONIC COMMERCE CYCLES
SEMESTER 1 2013
REVISION MID SEMESTER EXAM - SUGGESTED SOLUTIONS
Question 1
a.
DML - this is the language used to actually process transaction data and update the database.
d.
e.
DDL and DML - the former to alter the structure, the latter to make the change.
f.
g.
DDL and DML - the former to add the field, the latter to enter data in it.
Question 2
The necessary tables, with their attendant primary and foreign keys, are as follows:
Table Name
Employee
Primary Key
Employee Number
Skills
Employees-Skills
Skill number
Skill number
Employee number
Foreign Keys
Supervisor number
(another employee
number)
Other Attributes
Employee name
Pay rate
Date hired
Date of birth
Skill name
Date skill acquired
Question 3
Irregularities to be prevented prevent cashiers from stealing cash, prevent people entering without
a ticket
Controls pre-numbered tickets, reconcile cash with number of tickets sold, separate person
collecting tickets, collected tickets can be matched with tickets sold
Remaining risks usher could still let in friends without a ticket, the cashier and the usher may
collaborate in selling admittances without issuing tickets and then split the proceeds