KENYA METHODIST UNIVERSITYTRIMESTER I, 2012FACULTY : COMPUTING AND INFORMATICSDEPARTMENT : CS/BICOURSE CODE : CISY 221/BBIT 232DUE DATE : 15/03/2012Instructor:Lawrence Mwenda MuriiraEmail: email@example.comInstructions
Answer all questions.
of your work with screen captured output to the ODLM office before theday of submission.
Ensure you strictly abide by the deadline or there shall be a penalty on the marks.
QUESTION ONE (20 MARKS)
When a library first receives a book from a publisher it is sent together with the accompanyingdelivery note to the desk. Here the delivery note is checked against a file of books ordered.If no order can be found to much the note, a letter of enquiry is sent to the publisher. If marchingorder found, catalogue note is prepared from the details on the validated delivery note.The catalogue note together with the book is sent to the Registration department. The validateddelivery note is sent to the Accounts department where it is stored.On receipt of the invoice from the publisher, the Accounts department checks its store of thedelivery note found, then an instruction to pay the publishers is made, and subsequently a chequeis sent. If no corresponding delivery note is found, the invoice is stored in a pending file.a)
List all the entities together with their attributes and the primary key [7 Mks]b)
Describe the three cardinality of the relationships by these entity types [3 Mks]c)
Draw a well detailed entity relation diagram of the above narrative [10 Mks]
QUESTION TWO (20 MARKS)
In relational algebra there are unary and binary fundamental operations. Using the binaryoperations perform (using SQL statements) a union, difference [R(A)-R(B)], [R(B)-R(A)] andintersection on the following relations. Show your SQL statements and screen print/capture youroutput for each operation. [20 Mks]R(A)
Jamie 555-234-546Lydia 555-978-160Martin 555-610-948