Computer Science 455
First Hour Exam
Name ___________________________
Friday, Feb. 12
3:00
Give brief definitions of the following terms
Suppose that we have sets defined as follows:
A = {a, c, d}
B = {b, c}
Calculate
c. To the same friend you described the network/CODASYL model, briefly describe the relational model (you won’t need all the space provided).
A company has a number of salespeople (SNO, SNAME). Each salesperson works with a number of customers (CNO, CNAME), but each customer works with only one salesperson.
V. (20 pts.) Write EASYALG queries for the following. For each of the following, the final table should be ANS (i.e., if I PRINT ANS, I print out the result of the query).
S(S#, SNAME, STATUS, CITY)
P(P#, PNAME, COLOR, WEIGHT, CITY)
J(J#, JNAME, CITY)
SPJ(S#, P#, J#, QTY)