Subroutine

Subroutine

10th Grade

15 Qs

quiz-placeholder

Similar activities

J277 - 2.2 - Functions in Python

J277 - 2.2 - Functions in Python

10th Grade - University

10 Qs

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

2.3 Defensive Design  - Lesson 3 Subprograms

2.3 Defensive Design - Lesson 3 Subprograms

8th - 10th Grade

20 Qs

Subprograms

Subprograms

10th Grade

15 Qs

Python: Functions and Parameters

Python: Functions and Parameters

9th - 12th Grade

10 Qs

Functions and Procedures

Functions and Procedures

10th - 11th Grade

10 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Lesson 3: (CIW JavaScript)

Lesson 3: (CIW JavaScript)

9th - 12th Grade

11 Qs

Subroutine

Subroutine

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Sajna Bhavi

Used 12+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?