Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Cisy221-Bbit232 Database Mgt

Cisy221-Bbit232 Database Mgt

Ratings: (0)|Views: 23|Likes:
Published by Judie Shee Githua

More info:

Published by: Judie Shee Githua on Apr 02, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/10/2014

pdf

text

original

 
 KENYA METHODIST UNIVERSITYTRIMESTER I, 2012FACULTY : COMPUTING AND INFORMATICSDEPARTMENT : CS/BICOURSE CODE : CISY 221/BBIT 232DUE DATE : 15/03/2012Instructor:Lawrence Mwenda MuriiraEmail: mwendamuriira@yahoo.comInstructions
 Answer all questions.
 
Send 
 hardcopy
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)
NAME TELEPHONE
Jamie 555-234-546Lydia 555-978-160Martin 555-610-948

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->