Python functions and procedures

Python functions and procedures

10th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

Computer Science Essentials Vocabulary

Computer Science Essentials Vocabulary

9th - 12th Grade

7 Qs

Paperboy - Quick Quiz

Paperboy - Quick Quiz

11th Grade

10 Qs

Subroutines and Procedures

Subroutines and Procedures

11th Grade

8 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

2.1.2 CSE Coding Fundamentals: Dead Reckoning

2.1.2 CSE Coding Fundamentals: Dead Reckoning

9th - 12th Grade

9 Qs

02 Algorithms Revision

02 Algorithms Revision

9th - 10th Grade

10 Qs

Object Oriented Programming

Object Oriented Programming

11th - 12th Grade

8 Qs

Computer Hardware - RAM & ROM Differences

Computer Hardware - RAM & ROM Differences

4th - 12th 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