What is the difference between SEARCH and SEARCH ALL What is more efficient ?


SEARCH is a sequential search from the beginning of the table. SEARCH ALL is a binary search, continually dividing the table in two halves until a match is found. SEARCH ALL is more efficient for tables larger than 70 items.



Explore posts in the same categories: Cobol Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • What is the difference between SEARCH and SEARCH ALL ? What is more efficient ?
  • SEARCH is a sequential search from the beginning of the table. SEARCH ALL is a binary search, continually dividing the...
  • What is the difference between SEARCH and SEARCH ALL ?
  • SEARCH - is a serial search. SEARCH ALL - is a binary search & the table must be sorted (...
  • What is the difference between SEARCH and SEARCH ALL ?
  • SEARCH - is a serial search. SEARCH ALL - is a binary search & the table must be sorted ( ASCENDINGDESCENDING...
  • What is the difference between a binary search and a sequential search What are the pertinent COBOL ?
  • In a binary search the table element key values must be in ascending or descending sequence. The table is...
  • What is the difference between a binary search and a sequential search ? What are the pertinent COBOL commands ?
  • In a binary search the table element key values must be in ascending or descending sequence. The table is 'halved'...
  • How can I search for data in a linked list?
  • Unfortunately, the only way to search a linked list is with a linear search, because the only way a...
  • What happens if you don’t specify a search record for a component ?
  • Fist thing, if the search record is not specified then the editor will not alow us to save. Secondly, if the...
  • What is the difference between index and subscript ?
  • Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the...
  • What is the difference between index and subscript ?
  • Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the...
  • When do you use a LIKE statement ?
  • To do partial search e.g. to search employee by name, you need not specify the complete name; using LIKE, you...

    Comments are closed.