different between stack vs array

stack

English

Etymology

From Middle English stack, stacke, stakke, stak, from Old Norse stakkr (a barn; haystack; heap; pile), from Proto-Germanic *stakkaz (a barn; rick; haystack), from Proto-Indo-European *steg- (pole; rod; stick; stake). Cognate with Icelandic stakkur (stack), Swedish stack (stack), Danish stak (stack), Norwegian stakk (stack). Related to stake and sauna.

Pronunciation

  • IPA(key): /stæk/
  • Rhymes: -æk

Noun

stack (plural stacks)

  1. (heading) A pile.
    1. A large pile of hay, grain, straw, or the like, larger at the bottom than the top, sometimes covered with thatch.
      • c. 1790, William Cowper, The Needless Alarm
        But corn was housed, and beans were in the stack.
    2. A pile of similar objects, each directly on top of the last.
    3. (Britain) A pile of poles or wood, indefinite in quantity.
    4. A pile of wood containing 108 cubic feet. (~3 m³)
    5. An extensive collection
      • 1997, Guy Claxton, Hare brain, tortoise mind: why intelligence increases when you think less
        She performed appallingly on standard neurological tests, which are, as Sacks perceptively notes, specifically designed to deconstruct the whole person into a stack of 'abilities'.
      • 2005, Elizabeth McLeod, The Original Amos 'n' Andy: Freeman Gosden, Charles Correll and the 1928-1943 Radio Serial, McFarland ?ISBN, page 26
        “We said, 'Maybe we could come up with a couple of characters doing jokes,'” Correll recalled in 1972. “We had a whole stack of jokes we used to do in these home talent shows
      • 2007, Great Britain: Parliament: House of Commons: Education and Skills Committee, Post-16 skills: ninth report of session 2006-07, Vol. 2: Oral and written evidence, The Stationery Office ?ISBN, page 42
        Going back to an earlier question, which I think is very important, this question of how you use skills. It is no good having a great stack of skills in a workplace if the employer does not utilise them properly
  2. A smokestack.
  3. (heading) In computing.
    1. (programming) A linear data structure in which items inserted are removed in reverse order (the last item inserted is the first one to be removed).
      Hyponym: history stack
    2. (computing, often with "the") A stack data structure stored in main memory that is manipulated during machine language procedure call related instructions.
      • 1992, Michael A. Miller, The 68000 Microprocessor Family: Architecture, Programming, and Applications, p.47:
        When the microprocessor decodes the JSR opcode, it stores the operand into the TEMP register and pushes the current contents of the PC ($00 0128) onto the stack.
    3. An implementation of a protocol suite (set of protocols forming a layered architecture).
      Synonym: protocol stack
    4. A combination of interdependent, yet individually replaceable, software components or technologies used together on a system.
      • 2016, John Paul Mueller, AWS For Admins For Dummies, John Wiley & Sons ?ISBN, page 323
        A Linux, Apache, MySQL, and PHP (LAMP) stack is a configuration of four popular products for hosting websites.
      Synonym: technology stack
  4. (mathematics) A generalization of schemes in algebraic geometry and of sheaves.
  5. (geology) A coastal landform, consisting of a large vertical column of rock in the sea.
  6. (library) Compactly spaced bookshelves used to house large collections of books.
  7. (figuratively) A large amount of an object.
  8. (military) A pile of rifles or muskets in a cone shape.
  9. (poker) The amount of money a player has on the table.
  10. (heading) In architecture.
    1. A number of flues embodied in one structure, rising above the roof.
    2. A vertical drainpipe.
  11. (Australia, slang) A fall or crash, a prang.
  12. (bodybuilding) A blend of various dietary supplements or anabolic steroids with supposed synergistic benefits.
  13. (aviation) A holding pattern, with aircraft circling one above the other as they wait to land.
  14. (video games) The quantity of a given item which fills up an inventory slot or bag.

Derived terms

  • chimney stack
  • flare stack (synonym of flare tower)
  • full-stack
  • protocol stack
  • technology stack

Translations

Verb

stack (third-person singular simple present stacks, present participle stacking, simple past and past participle stacked)

  1. (transitive) To arrange in a stack, or to add to an existing stack.
    Synonyms: build up, stack up; see also Thesaurus:pile up
  2. (transitive, card games) To arrange the cards in a deck in a particular manner.
  3. (transitive, poker) To take all the money another player currently has on the table.
  4. (transitive) To deliberately distort the composition of (an assembly, committee, etc.).
    • 2017 July 26, Lindsay Murdoch, "Yingluck Shinawatra, Thailand's first female PM, faces financial ruin and jail", in smh.com.au, The Sydney Morning Herald;
      In 2015 the country's military-stacked national assembly impeached her and banned her from political office over the scheme, which her government introduced after she had campaigned in 2011 promising to support the rural poor.
    Synonym: gerrymander
  5. (transitive, US, Australia, slang) To crash; to fall.
    • 1975, Laurie Clancy, A Collapsible Man, Outback Press, page 43,
      Miserable phone calls from Windsor police station or from Russell Street. ‘Mum, I?ve stacked the car; could you get me a lawyer?’, the middle-class panacea for all diseases.
    • 1984, Jack Hibberd, A Country Quinella: Two Celebration Plays, page 80,
      MARMALADE Who stacked the car? (pointing to SALOON) Fangio here.
      JOCK (standing) I claim full responsibility for the second bingle.
    • 2002, Ernest Keen, Depression: Self-Consciousness, Pretending, and Guilt, page 19,
      Eventually he sideswiped a bus and forced other cars to collide, and as he finally stacked the car up on a bridge abutment, he passed out, perhaps from exhaustion, perhaps from his head hitting the windshield.
    • 2007, Martin Chipperfield, slut talk, Night Falling, 34th Parallel Publishing, US, Trade Paperback, page 100,
      oh shit danny, i stacked the car / ran into sally, an old school friend / you stacked the car? / so now i need this sally?s address / for the insurance, danny says
    Synonyms: smash, wreck
  6. (gaming) To operate cumulatively.
  7. (aviation, transitive) To place (aircraft) into a holding pattern.
  8. (informal, intransitive) To collect precious metal in the form of various small objects such as coins and bars.

Translations

Related terms

  • stackable
  • stacked
  • unstack
  • stack it

Anagrams

  • ATCKs, Tacks, sackt, tacks

Middle English

Etymology 1

See stak.

Noun

stack

  1. Alternative form of stak

Etymology 2

See stake.

Noun

stack

  1. Alternative form of stake

Swedish

Etymology

From Old Norse stakkr.

Noun

stack c

  1. a stack (e.g. of hay), a pile (e.g. of manure)
  2. an ant farm, an ant colony
  3. a stack (in computer memory)

Declension

Related terms

  • gödselstack
  • höstack
  • myrstack

See also

  • stackare
  • stapel

Verb

stack

  1. past tense of sticka.

Anagrams

  • tacks

stack From the web:

  • what stack of membranes that packages chemicals
  • what stack means
  • what stack do you use
  • what stack and reach do i need
  • what stack does google use
  • what stack does facebook use
  • what stacking kit do i need
  • what stack does amazon use


array

English

Etymology

From Middle English arrayen, from Anglo-Norman arraier (compare Old French arraier, areer (to put in order)), from Medieval Latin arr?d? (to put in order, arrange, array), from *r?dum (preparation, order), from Frankish *reida (preparation, order) or Gothic ???????????????????????????? (garaiþs, ready, prepared), from Proto-Germanic *raidaz, *raidiz (ready). Doublet of ready.

Pronunciation

  • IPA(key): /???e?/
  • (US) IPA(key): /???e?/, /?æ.????/ (UK)
  • Rhymes: -e?

Noun

array (countable and uncountable, plural arrays)

  1. Clothing and ornamentation.
  2. A collection laid out to be viewed in full.
  3. An orderly series, arrangement or sequence.
    • 1856-1858, William H. Prescott, History of the Reign of Philip II
      But the chivalry of France was represented by as gallant an array of nobles and cavaliers as ever fought under the banner of the lilies
  4. Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle.
    drawn up in battle array
    • wedged together in the closest array
  5. A large collection.
    • 1814, Lord Byron, The Corsair
      their long array of sapphire and of gold
    We offer a dazzling array of choices.
  6. (mathematics) Common name for matrix.
  7. (programming) Any of various data structures designed to hold multiple elements of the same type; especially, a data structure that holds these elements in adjacent memory locations so that they may be retrieved using numeric indices.
  8. (law) A ranking or setting forth in order, by the proper officer, of a jury as impanelled in a cause; the panel itself; or the whole body of jurors summoned to attend the court.
  9. (military) A militia.
  10. A group of hedgehogs.
  11. A microarray.

Usage notes

  • (any of various data structures): The exact usage of the term array, and of related terms, generally depends on the programming language. For example, many languages distinguish a fairly low-level "array" construct from a higher-level "list" or "vector" construct. Some languages distinguish between an "array" and a variety of "associative array"; others have only the latter concept, calling it an "array".

Antonyms

  • (orderly series): disarray

Hyponyms

Related terms

Translations

References

See also

  • (any of various data structures): ones-based indexing, zero-based indexing

Verb

array (third-person singular simple present arrays, present participle arraying, simple past and past participle arrayed)

  1. To clothe and ornament; to adorn or attire.
  2. To lay out in an orderly arrangement; to deploy or marshal.
  3. (law) To set in order, as a jury, for the trial of a cause; that is, to call them one at a time.

Synonyms

  • (to clothe and ornament): don, dress, put on; see also Thesaurus:clothe or Thesaurus:decorate

Translations


Portuguese

Etymology

From English array.

Noun

array m (plural arrays)

  1. (programming) array (any of various data structures)
    Synonym: vetor

array From the web:

  • what array means
  • what array means in math
  • what array in java
  • what arraylist in java
  • what arrays in math
  • what array in excel
  • what array in c
  • what arrays are best data structures
+1
Share
Pin
Like
Send
Share

you may also like