Computer Science Homework Solutions
Problem
#95096

Database

Suppose a sequential file contains 50,000 records, and 5 milliseconds are required to interrogate an entry. How long should we expect to wait when retrieving a record from the middle of the file?(CAN YOU EXPLAIN THE SOLUTION)

In terms of the relations shown below, what is the appearance of the relation RESULT after executing each of these instructions: (you may want to look at this question in the book to make sure you understand the tables)
X relation                           Y relation
U   V   W                            R   S
A   Z   5                            3   J
B   D   3                            4   K
C   Q   5

a. RESULT <- PROJECT W from X
b. RESULT <- SELECT from X
               where W = 5
c. RESULT <- PROJECT S from Y
d. RESULT <- JOIN X and Y
               where X.W >= Y.R

Attached file(s):
Attachments
problem.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

problem.doc
Suppose a sequential file contains 50,000 records, and 5 milliseconds
are required to interrogate an entry. How long should we expect to wait
when retrieving a record from the middle of the file?(CAN YOU EXPLAIN
THE SOLUTION)

In terms of the relations shown below, what is the appearance of the
relation RESULT after executing each of these instructions: (you may
want to look at this question in the book to make sure you understand
the tables)

X relation                           Y
relation

U   V   W                            R
  S

A   Z   5                            3
  J

B   D   3                            4
  K

C   Q   5

a. RESULT <- PROJECT W from X

b. RESULT <- SELECT from X

               where W = 5

c. RESULT <- PROJECT S from Y

d. RESULT <- JOIN X and Y

               where X.W >= Y.R
Solution
What is this?
By OTA - Overall OTA Rating
Marcia Wert, MS - 4.1/5
Purchase Cost Now
$2.19 CAD (was ~$3.99)
Included in Download
  • Plain text response
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse