Python functions and procedures

Python functions and procedures

10th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

Asesmen awal TIK

Asesmen awal TIK

10th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Python functions and procedures

Python functions and procedures

Assessment

Quiz

Computers

10th - 11th Grade

Practice Problem

Hard

Created by

Dean Whittle

Used 25+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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