Menu

Using Subroutines - Match-up

Match-up definitions and answers with key terms and examples. Press submit to check your answers.

Subroutine
def
Indentation
Calling a subroutine
Repeating code


Answers
Spaces at the start of a line that show which lines of code belong together as one block.
The keyword typed before the name of a new block of code, followed by brackets and a colon.
Writing a name followed by brackets so that the code inside the block runs, as often as needed.
The same lines typed more than once in a program, which one named block can replace.
A named block of code that only runs when its name is used, keeping programs short.
Log in or sign-up to access the match-up activity



Don't have a login?

You can still revise this topic