Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in the domain relational calculus that is equivalent to each of the following

Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in the domain relational calculus that is equivalent to each of the following:

  1. (r1)
  2. =17 (r1)
  3. r1 ∪ r2
  4. r1 ∩ r2
  5. r1 − r2
  6. (r1) (r2)

Let the following relation schemas be given:

R = (A, B,C)

S = (D, E, F)

Let relations r(R) and s(S) be given. Give an expression in the tuple relational calculus that is equivalent to each of the following:

  1. (r )
  2. =17 (r )
  3. r × s
  4. ( (r × s))

 

Keeping organizational information in a file system has a number of major disadvantages. Cite 4 of these disadvantages.

  1. Consider the following relation:

Article (ID, Title, Journal, Issue, Year, StartPage, EndPage, TeachnicalReportID)

It contains information of articles published in scientific journals. Each article has a unique ID, a title, and information on where to find it (name of journal, issue, and which pages). Also, if the results of an article previously appeared in a technical report, the ID of this technical report can be specified.

The following is an instance of the relation:

ID Title Journal Year Issue StartPage EndPage TeachnicalReportID
4 Hashing JAlg 2004 51 121 133 87
3 Dictionaries JAlg 2001 41 69 85 62
3 Dictionaries JAlg 2001 41 69 85 56
9 NP-Hard SICOMP 2001 31 111 133 47
5 P vs NP JACM 2008 51 1 3 99
7 Data SICOMP 2008 51 1 5 98

 

Based on the above, indicate for each of the following sets of the attributes whether it is a key (candidate key) for Article or not and write a brief explanation for each answer:

  1. {ID}

 

  1. {ID, TechnicalReportID}

 

  1. {ID, Title, TechnicalReportID}

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
Hello. Can we help you?