AskDefine | Define lookup

Dictionary Definition

lookup n : an operation that determines whether one or more of a set of items has a specified property; "they wrote a program to do a table lookup" [syn: search]

User Contributed Dictionary

English

Noun

lookup (Plural: lookups)
  1. An attempt to retrieve data on something.
    My database lookup failed because I misspelled the word.

Extensive Definition

In computing, lookup usually refers to searching a data structure for an item that satisfies some specified property. For example, variable lookup performed by a (scripting) language interpreter, virtual machine or other similar engine usually consists of performing certain actions to dynamically find correspondence between variable identifier and actual variable internal representation, usually involving symbol table lookup. Symbol table lookup can be performed either during run-time (interpreter or scripting engine), or during compile time (compiler). Hybrid scheme when lookup is performed both during translation phase and then later during runtime is also possible (e.g. bytecode compiler and virtual machine). In all of these cases, search item is a variable and search property (or search criteria) is a variable name. Variable lookup is usually performed according to variable visibility rules that are specific to the (scripting) language in question.
Another example is DNS lookup. In DNS lookup, DNS server is requested to find host IP address given host domain name. Here the search criteria (property) is a domain name and search result (item) is an IP address. A domain name may be associated with several IP addresses. Reverse DNS lookup performs the reverse task: given IP address, it attempts to resolve domain name associated with the specified IP address.
Spreadsheet software typically has functions such as LOOKUP, HLOOKUP, and VLOOKUP, to find either a value in a row or column that matches the argument, or in the case of range lookup, to find an interval in a set of adjacent intervals (given by their limits, specified in a row or column) which contains the argument. The result is the corresponding value in a specified parallel row or column.

External links

Privacy Policy, About Us, Terms and Conditions, Contact Us
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
Material from Wikipedia, Wiktionary, Dict
Valid HTML 4.01 Strict, Valid CSS Level 2.1