Subroutine

Subroutine

10th Grade

15 Qs

quiz-placeholder

Similar activities

Higher SDD - Subroutines

Higher SDD - Subroutines

10th Grade

10 Qs

GCSE Computing - Subprograms

GCSE Computing - Subprograms

9th - 10th Grade

14 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Python Programming: Functions and Procedures

Python Programming: Functions and Procedures

9th - 11th Grade

12 Qs

8525 GCSE CS 3.2.10 Structured programming and subroutines

8525 GCSE CS 3.2.10 Structured programming and subroutines

10th - 11th Grade

19 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Variables and Subroutines

Python Variables and Subroutines

9th - 12th Grade

15 Qs

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

10th - 12th Grade

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?