Subroutine

Subroutine

10th Grade

15 Qs

quiz-placeholder

Similar activities

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

8th - 10th Grade

20 Qs

Programming

Programming

9th - 11th Grade

20 Qs

Python Functions and Error Handling

Python Functions and Error Handling

10th Grade - University

20 Qs

Module 2 - Lesson 7

Module 2 - Lesson 7

6th - 12th Grade

13 Qs

Functions & procedures

Functions & procedures

10th - 12th Grade

14 Qs

Functions With Return Values U1M2 Python

Functions With Return Values U1M2 Python

9th - 12th Grade

12 Qs

General Python year 10

General Python year 10

9th Grade - University

20 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?