kids encyclopedia robot

Subroutine facts for kids

Kids Encyclopedia Facts

In computer programming, a subroutine is a code that is comprised of more codes — just like everything in programming — it's purpose is the same: execute an instruction/command. Because subroutines are shorter, they can be typed faster and therefore be used more by programmers, hence saving time by being able to code faster.

Subroutines are commonly paired with parameter, a type of variable.

See also

Kids robot.svg In Spanish: Subrutina para niños

kids search engine
Subroutine Facts for Kids. Kiddle Encyclopedia.