Subroutine

Subroutine

10th Grade

15 Qs

quiz-placeholder

Similar activities

Functions & procedures

Functions & procedures

10th - 12th Grade

14 Qs

Module 2 - Lesson 7

Module 2 - Lesson 7

6th - 12th Grade

13 Qs

algorithms and programming

algorithms and programming

8th - 10th Grade

16 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Functions and Error Handling

Python Functions and Error Handling

10th Grade - University

20 Qs

Int Prog: Lists and Functions

Int Prog: Lists and Functions

9th - 12th Grade

20 Qs

Advanced Python Iteration Quiz

Advanced Python Iteration Quiz

10th Grade

10 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

Subroutine

Subroutine

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Sajna Bhavi

Used 11+ 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?