Tuple vs Dictionary - What's the difference?
tuple | dictionary |
(set theory) A finite sequence of terms.
(computing) A single row in a relational database.
(computing) A set of comma-separated values passed to a program or operating system as a parameter to a function call.
(computing) In some programming languages, a data type which is similar but distinct from the list data type, whose instances are characterized by having a rather fixed arity, and the elements of which instances can differ from each other by data type. (Note : this definition may overlap with the previous one.)
A reference work with a list of words from one or more languages, normally ordered alphabetically and explaining each word's meaning and sometimes containing information on its etymology, usage, translations and other data.
*
By extension, any work that has a list of material organized alphabetically; e.g. biographical dictionary, encyclopedic dictionary.
(label) An associative array, a data structure where each value is referenced by a particular key, analogous to words and definitions in a physical dictionary.
* 2011 , Jon Galloway, ?Phil Haack, ?Brad Wilson, Professional ASP.NET MVC 3
(label) To look up in a dictionary.
(label) To add to a dictionary.
* 1866 , William Henry Ward, The international day, night, and fog signal telegraph (page 12)
* 2001 , The Michigan Alumnus (page 25)
To compile a dictionary.
* 1864 , Blackwood's Edinburgh Magazine (volume 96, page 334)
(label) To appear in a dictionary.
In computing terms the difference between tuple and dictionary
is that tuple is in some programming languages, a data type which is similar but distinct from the list data type, whose instances are characterized by having a rather fixed arity, and the elements of which instances can differ from each other by data type. (Note: this definition may overlap with the previous one. while dictionary is an associative array, a data structure where each value is referenced by a particular key, analogous to words and definitions in a physical dictionary.As nouns the difference between tuple and dictionary
is that tuple is a finite sequence of terms while dictionary is a reference work with a list of words from one or more languages, normally ordered alphabetically and explaining each word's meaning and sometimes containing information on its etymology, usage, translations, and other data.As a verb dictionary is
to look up in a dictionary.tuple
English
(wikipedia tuple)Noun
(en noun)- A tuple''' is not merely a totally-ordered set because the same element can appear more than once in a '''tuple''': for example, qualifies as a 3-'''tuple whereas it would not qualify as a totally-ordered set (of cardinality 3), because the set would be where and so that ; i.e., it would actually be a one-element set, , not even just two-element.
- If commutativity were added to a tuple, it would turn into a multiset or "bag". For example, words (of some alphabetic language) can be considered to be tuples of letters. If the ordering requirement on those letters were lifted, then the word would become a multiset of letters equivalent to those of its anagrams.
- Both Python and Haskell have a tuple data type as well as a list data type.
- Unlike lists, tuples are not formed by consing.
Synonyms
* (finite sequence of terms) n''-tuple (''when the sequence contains'' n ''terms''), ordered pair (''when the sequence contains exactly two terms''), triple ''or'' triplet (''when the sequence contains exactly three terms )Anagrams
* * ----dictionary
English
Noun
(dictionaries)- But what other kind(s) of syntactic information should be included in Lexical Entries? Traditional dictionaries' such as Hornby's (1974) ''Oxford Advanced Learner's '''Dictionary of Current English'' include not only ''categorial'' information in their entries, but also information about the range of ''Complements which a given item permits (this information is represented by the use of a number/letter code).
- User calls
RouteCollection.GetVirtualPath
, passing in aRequestContext
, a dictionary of values, and an optional route name used to select the correct route to generate the URL.
Synonyms
* wordbookDerived terms
* encyclopedic dictionary * explanatory dictionary * fictionary * pedagogical dictionary * Pictionary * pronunciation dictionary * subdictionary * translating dictionary * translationarySee also
* lexicon * encyclopedia * vocabularyAnagrams
*Verb
(en-verb)- By a reference to the following dictionaried abbreviations, the simplicity and harmony of each sentence will be manifestly apparent; although it does not embrace everything, and could not, as it would be far too voluminous for general use.
- Should I use a word that a lot of people use but isn't in the dictionary? Uncle Phil would rather get a root canal than say he was scrapbooking, because the word isn't dictionaried .
- They [dictionary-makers] may have had their romance at home — may have been crossed in love, and thence driven to dictionarying ; may have been involved in domestic tragedies — who can say?