Topic: Sequential Search For File Records
Answers to Common Questions
How can the content of the array be recorded to improve the avera...
If you're strictly using a sequential search, then the order of the array's content will make no difference. Whether it's in low-high order, high-low order, or randomized, the time complexity for a sequential search will remain O(n). Read More »
Source: http://wiki.answers.com/Q/How_can_the_content_of_the_array_be_rec...
How to search for records in a text file?
I just tested the code at it works fine for me, If you can specify what error or behaviour its showing at your end, then perhaps I night be able to help. I f I modify the code as per your requirements it should look like this Dim Ph... Read More »
Source: http://www.experts-exchange.com/Q_21145931.htm
How can I code a delete button, which will say remove index(25)? ...
It's ok ... but ... have you managed the delete flag in your insert function? If you fill your array then you delete some item then, in your next insertion, you have to scan the array for one entry with delete = true ... only if this scan f... Read More »
Source: http://www.experts-exchange.com/Programming/Programming_Languages...
Answers to Other Common Questions
To search for a record, just use a while loop and read through the entire file. During each iteration of the while loop check the name against what they searched for. If there is a match add it to the list of results. If not, then do not... Read More »
Source: http://www.experts-exchange.com/Programming/Languages/Java/Q_2062...
to delete it you'll need to create a new file you can replace an entry but only if you replace it with the same number of characters, otherwise you'll need to create a new file. Read More »
Source: http://www.experts-exchange.com/Q_21858677.htm
Ok, database files are very easy in VB. I suggest that you do NOT use bound controls. They can be a time saver but they often fire events unexpectedly. Additionally they are sometimes a pain as they will interact with each other. Better to ... Read More »
Source: http://www.experts-exchange.com/Q_10243784.htm
go to the county court in which the divorce was done and ask to see the files. they are held on public record. Read More »
Source: http://answers.yahoo.com/question/index?qid=20080930152839AANZyef
Hi, I'm familiar with Work Search Logs myself, I live in NH and have collected Unemployment before. It really won't matter if you don't have an address or company name filled in that form, all they're really looking for is that you a puttin... Read More »
Source: http://answers.yahoo.com/question/index?qid=20060609122404AAR0mLj
Hi By Moving high-values to a variable from that we can read a record from bottom. Read More »
Source: http://www.geekinterview.com/question_details/25824
A sequential search starts from the beginning of the file and checks each element one-by-one until the desired element is found. Assuming that the record you are searching for exists in the file exactly once and could be anywhere in the fil... Read More »
Source: http://stackoverflow.com/questions/2393367/sequential-search
Want A Personal Answer?
730,381 people are answering.
About - Privacy - AskEraser - Advertise - Careers - Ask Blog - iPhone - Android - Help - Feedback ©2012 Ask.com