different between tuple vs dictionary

tuple

English

Wikibooks

Wikibooks

Etymology

From the ending of the words quintuple, sextuple; from Latin -plus.

Pronunciation

  • (UK) IPA(key): /?t?p?l/, /?t??u?p?l/, /?tju?p?l/
  • (US) IPA(key): /?tu?p?l/, /?t?p?l/
  • Rhymes: -u?p?l, -?p?l

Noun

tuple (plural tuples)

  1. (set theory) A finite sequence of terms.
    A tuple is not merely a totally-ordered set because the same element can appear more than once in a tuple: for example, ( a , b , a ) {\displaystyle (a,b,a)} qualifies as a 3-tuple whereas it would not qualify as a totally-ordered set (of cardinality 3), because the set would be { a , b } {\displaystyle \{a,b\}} where a ? b {\displaystyle a\leq b} and b ? a {\displaystyle b\leq a} so that a = b {\displaystyle a=b} ; i.e., it would actually be a one-element set, { a } {\displaystyle \{a\}} , 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.
  2. (computing) A single row in a relational database.
  3. (computing) A set of comma-separated values passed to a program or operating system as a parameter to a function call.
  4. (computing) In some programming languages, a data type that is similar to 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.)
    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)

Related terms

  • -tuple
  • ordered pair
  • tuplet
  • component

Translations

Anagrams

  • let up, let-up, letup, plute

tuple From the web:

  • what tuple in python
  • what tuple meaning
  • what's tuple in database
  • what tuple in c#
  • what's tuples in sql
  • what tuple in scala
  • what tuple does in c#
  • tuple what is it used for


dictionary

English

Alternative forms

  • dictionnary (obsolete)

Etymology

Borrowed from Medieval Latin dicti?n?rium, from Latin dicti?n?rius, from dicti? (speaking), from dictus, perfect past participle of d?c? (speak) + -?rium (room, place).

Pronunciation

  • (Received Pronunciation) IPA(key): /?d?k??n??i/, /?d?k??n?i/, /?d?k?n??i/
  • (General American, Canada) enPR: d?k'sh?-n?r-?, IPA(key): /?d?k???n??i/
  • Hyphenation: dic?tion?ary
  • Rhymes: -?k??n???i

Noun

dictionary (plural dictionaries)

  1. A reference work with a list of words from one or more languages, normally ordered alphabetically, explaining each word's meaning, and sometimes containing information on its etymology, pronunciation, usage, translations, and other data.
    Synonyms: wordbook; see also Thesaurus:dictionary
  2. (preceded by the) A synchronic dictionary of a standardised language held to only contain words that are properly part of the language.
  3. (by extension) Any work that has a list of material organized alphabetically; e.g., biographical dictionary, encyclopedic dictionary.
  4. (computing) An associative array, a data structure where each value is referenced by a particular key, analogous to words and definitions in a physical dictionary.
    Hyponym: hash table

Derived terms

Related terms

  • diction

Translations

See also

  • encyclopedia
  • lexicon
  • thesaurus
  • vocabulary
  • wordlist

Verb

dictionary (third-person singular simple present dictionaries, present participle dictionarying, simple past and past participle dictionaried)

  1. (transitive) To look up in a dictionary.
  2. (transitive) To add to a dictionary.
  3. (intransitive, rare) To compile a dictionary.

Further reading

  • dictionary at OneLook Dictionary Search

Anagrams

  • indicatory

dictionary From the web:

  • what dictionary does google use
  • what dictionary does words with friends use
  • what dictionary is the best
  • what dictionary does scrabble use
  • what dictionary does apple use
  • what dictionary has the most words
  • what dictionary does dictionary.com use
  • what dictionary does siri use
+1
Share
Pin
Like
Send
Share

you may also like