Search Header Logo

Subroutine

Authored by Sajna Bhavi

Computers

10th Grade

Used 12+ times

Subroutine
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the purpose of using subroutines in your programming?

Avoiding repeated sections of code

Making your code shorter and easier to read

Enabling you to split your code into sections

Avoiding making errors in your code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output of this program be when it is run?

Nothing

Hello, world

It will generate an error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be from this program?

Error

Hello

Hello, World

World

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subroutines are designed to save the user time

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine?

A named self-contained section of code that performs a specific task
Another name for pseudocode
A routine that has no connection at all to the main routine
A word used exclusively in movies to sound cool

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is not an example of a subroutine?

Procedure

Function

List

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?