Python functions and procedures

Python functions and procedures

10th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

Small Basic Mid Point Review

Small Basic Mid Point Review

6th - 12th Grade

8 Qs

CodeHS 3.1 - 3.3

CodeHS 3.1 - 3.3

9th - 12th Grade

12 Qs

Unit 7

Unit 7

9th - 12th Grade

13 Qs

Computer Science Principles Unit 7 Parameters Returns Libraries

Computer Science Principles Unit 7 Parameters Returns Libraries

9th - 12th Grade

13 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Global and local variables

Global and local variables

10th - 12th Grade

10 Qs

Functions

Functions

10th Grade

8 Qs

Quiz 120.2B - Subroutines (recognising key terms)

Quiz 120.2B - Subroutines (recognising key terms)

11th Grade

10 Qs

Python functions and procedures

Python functions and procedures

Assessment

Quiz

Computers

10th - 11th Grade

Hard

Created by

Dean Whittle

Used 24+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is NOT a reason to use a subroutine?

Small, so easy to write, test and debug

Can be saved as separate modules so can be used in other programs

Can be used repeatedly within a program

Automatically adds comments in to the program

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which type of subroutine is used to perform a specific task?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which type of subroutine is used to return a result?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What type of subroutine is this?

Function

Procedure

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the name of this subroutine?

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the parameter that is being input in to this subroutine?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is used to put a value into the memory for use elsewhere in the program?

print

import

return

output

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these command words is used to tell the program to use a variable outside of the subroutine?

print

return

global

def