Está en la página 1de 2

QUEENSLAND UNIVERSITY OF TECHNOLOGY

SCHOOL OF ACCOUNTANCY
AYN443 ELECTRONIC COMMERCE CYCLES
SEMESTER 1 2013
REVISION MID SEMESTER EXAM - SUGGESTED SOLUTIONS

Question 1
a.

DDL - this is the language used to define the database.

DQL - this is an example of a query.

DML - this is the language used to actually process transaction data and update the database.

d.

DQL - another example of a task that involves querying the database.

e.

DDL and DML - the former to alter the structure, the latter to make the change.

f.

DQL - such a listing can be produced by a query.

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

También podría gustarte