Search Header Logo

Subprograms

Authored by Amanda Ram

Computers

9th Grade

10 Questions

Used 6+ times

Subprograms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is another word for Subprograms?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument?

The value passed to the subprogram.

A subprogram that does not return a value.

The variable in the subprogram that receives the value passed.

A subprogram that returns a value.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

The value passed to the subprogram.

A subprogram that does not return a value.

The variable in the subprogram that receives the value passed.

A subprogram that returns a value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete the following sentence by choosing the correct (most appropriate) word from below


"To get a subprogram to run, we have to ________ it from somewhere in the program

RUN

CALL

PERFORM

EXECUTE

5.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Media Image

Which of the following best describes the order in which these lines are processed in Python?

4, 1, 2
4, 2, 1
1, 2, 3, 4
3, 1, 2

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are advantages of using subprograms?

(Select all that apply)

They make code easier to read

They make code easier to debug

Reduces duplicate code within a program

Allows code to be "reused" by different programmers

7.

LABELLING QUESTION

1 min • 2 pts

Label the parts of the subprogram in line 1 and line 6.

a
b
argument
parameter

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?

Discover more resources for Computers