{"title":"Expected number of passes in a binary search scheme","authors":"Aaron Tenenbein","doi":"10.1016/0020-0271(74)90040-0","DOIUrl":null,"url":null,"abstract":"<div><p>The binary search scheme is a method of finding a particular file from a set of ordered files stored in a computer. This scheme involves examining the middle file, and eliminating those files which do not contain the required file. This procedure is repeated until the required file is found.</p><p>In this paper an exact expression for the expected number of passes required to find a file selected at random is derived. The expected number of passes is shown to be asymptotically equal to log<sub>2</sub> <em>k</em> where <em>k</em> is the number of files. The asymptotic approximate values are compared to the exact values.</p></div>","PeriodicalId":100670,"journal":{"name":"Information Storage and Retrieval","volume":"10 1","pages":"Pages 29-32"},"PeriodicalIF":0.0000,"publicationDate":"1974-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0020-0271(74)90040-0","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Storage and Retrieval","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0020027174900400","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
The binary search scheme is a method of finding a particular file from a set of ordered files stored in a computer. This scheme involves examining the middle file, and eliminating those files which do not contain the required file. This procedure is repeated until the required file is found.
In this paper an exact expression for the expected number of passes required to find a file selected at random is derived. The expected number of passes is shown to be asymptotically equal to log2k where k is the number of files. The asymptotic approximate values are compared to the exact values.