sub·​rou·​tine | \ ˈsəb-(ˌ)rü-ˌtēn How to pronounce subroutine (audio) \

Definition of subroutine

: a subordinate routine specifically : a sequence of computer instructions for performing a specified task that can be used repeatedly

Examples of subroutine in a Sentence

Recent Examples on the Web The Split-or-Johnson procedure contained a recursive step, in which a certain subroutine split the problem into two smaller pieces and then called itself to run again on the smaller pieces. Quanta Magazine, "Graph Isomorphism Vanquished — Again," 14 Jan. 2017 For example, there’s a subroutine that smooths the movement of the stick figures so the dancers don’t jerk about too much, and a completely separate neural network dedicated to re-tracing the target’s face to ensure realism. James Vincent, The Verge, "Deepfakes for dancing: you can now use AI to fake those dance moves you always wanted," 26 Aug. 2018 Each agent is an autonomous subroutine that responds in reasonably human ways to other agents and the evolving disaster by switching among multiple modes of behavior—for example, panic, flight, and efforts to find family members. M. Mitchell Waldrop, Science | AAAS, "What if a nuke goes off in Washington, D.C.? Simulations of artificial societies help planners cope with the unthinkable," 12 Apr. 2018

These example sentences are selected automatically from various online news sources to reflect current usage of the word 'subroutine.' Views expressed in the examples do not represent the opinion of Merriam-Webster or its editors. Send us feedback.

See More

First Known Use of subroutine

circa 1946, in the meaning defined above

History and Etymology for subroutine

International Scientific Vocabulary

Keep scrolling for more

Learn More about subroutine

Time Traveler for subroutine

Time Traveler

The first known use of subroutine was circa 1946

See more words from the same year

Statistics for subroutine

Cite this Entry

“Subroutine.” Dictionary, Merriam-Webster, Accessed 17 May. 2021.

Style: MLA
MLACheck Mark Icon ChicagoCheck Mark Icon APACheck Mark Icon Merriam-WebsterCheck Mark Icon

Keep scrolling for more

More Definitions for subroutine



English Language Learners Definition of subroutine

computers : a set of computer instructions that performs a particular task, that is part of a larger computer program, and that can be used repeatedly

Comments on subroutine

What made you want to look up subroutine? Please tell us where you read or heard it (including the quote, if possible).


Test Your Vocabulary

Words Used by Nabokov Quiz

  • image1676440788
  • Choose the best definition or synonym for the word in bold: "There are some eructations that sound like cheers—at least, mine did." Lolita
True or False

Test your knowledge - and maybe learn something along the way.

 AlphaBear 2

Spell words. Make bears.

Love words? Need even more definitions?

Subscribe to America's largest dictionary and get thousands more definitions and advanced search—ad free!