Python functions and procedures

Python functions and procedures

10th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

Python L5

Python L5

6th Grade - University

10 Qs

Python Review - Functions

Python Review - Functions

9th - 12th Grade

10 Qs

PLTW Final Review Part 2

PLTW Final Review Part 2

9th - 12th Grade

10 Qs

MS Logo 2

MS Logo 2

3rd - 10th Grade

13 Qs

Functions and Parameters Summative preview

Functions and Parameters Summative preview

9th - 12th Grade

10 Qs

Higher SDD - Subroutines

Higher SDD - Subroutines

10th Grade

10 Qs

48. Programming 1 : Intro to Subroutines

48. Programming 1 : Intro to Subroutines

9th - 12th Grade

10 Qs

Programming Concepts: Subroutines

Programming Concepts: Subroutines

10th 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