Search Header Logo

Subroutines Theory

Authored by Mr Massett

Other

12th Grade

Used 12+ times

Subroutines Theory
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subroutine

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Data being passed into a subroutine.

An item of data being passed to a subroutine.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Data being passed into a subroutine.

An item of data being passed to a subroutine.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameter

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Identifies data being passed into a subroutine.

An item of data being passed to a subroutine.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Argument

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Identifies data being passed into a subroutine.

An item of data being passed to a subroutine.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Another technical name for subroutine

Block of code

2D array

Global Variable

Procedure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many parameters are being passed into the function add?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How would you run this piece of code in python?

add():

add{}

add(5,6)

add()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?