Solved

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?

Posted on 2011-03-23
3
637 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:antatiana
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35203527
This is the second question of yours that also sounds a lot like a homework or exam question.

If so we can only provide general guidance.

Please clarify.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 35203554
This is so easy it HAS to be homework. If you think a little, you should get the answer by yourself. Think about "what is the middle", and then "how many records are that"?
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query 8 50
migration MS SQL database to Oracle 30 61
Please help with the below query - SQL Server 11 18
Oracle DBLINKS From 11g to 8i 3 34
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question