Search Header Logo

Hinge_2.2_subroutines

Authored by George Dong

Computers

12th Grade

Hinge_2.2_subroutines
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A subroutine is (tick 3)

also known as subprogram

a section / block of code with a name

called by its name to run its code

a new file in a program

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A subroutine is (tick 2)

defined first

called by its name with correct data passed in

only used once in a program

used only in the same file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A subroutine can be a procedure or a function

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A subroutine can be a procedure or a function. It ideally will

do only ONE task in each subroutine.

do multiple tasks in each subroutine.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A procedure is a type of subroutine, and it will

return a value to the caller program

NOT return a value to the caller program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function is a type of subroutine, and it will

return a value to the caller program

NOT return a value to the caller program

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

subroutines will help (tick 2)

to make the code reusable

to make the code more maintainable

to make the code run faster

to use less RAM space when running

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?