Search Header Logo
Procedures

Procedures

Assessment

Presentation

Computers

9th - 10th Grade

Practice Problem

Medium

Created by

Calum Gordon

Used 5+ times

FREE Resource

14 Slides • 19 Questions

1

Procedures

Creating user-defined 'procedures' in Python

media

2

media

3

media

4

Multiple Select

What are you going to learn in this lesson ... ?

1

Define 'procedure'

2

Define 'parameter'

3

Create user-defined procedures

4

Use procedure libraries

5

media

6

media

7

Fill in the Blanks

media image

Type answer...

8

Fill in the Blanks

media image

Type answer...

9

media

10

media

11

Multiple Select

Choose all the built-in Python procedures below ...

1

print()

2

input()

3

for

4

int()

5

if

12

Multiple Choice

Actually in Python all subroutines (procedures) return a value, even if it is not explicitly stated. What value do you think this is?

1

0 (zero)

2

"" (empty string)

3

None (Python null value)

4

True

13

media

14

media

15

Multiple Choice

Procedures in Python should begin with the keyword ______

1

def

2

func

3

proc

4

sub

16

Multiple Choice

All user-defined procedures should be given a __________ name.

1

short

2

meaningful

3

abbreviated

4

encrypted

17

Multiple Choice

All code inside the procedure block in Python must be ______

1

indented

2

capitalised

3

in lower case

4

inside { ... }

18

media

19

Multiple Choice

A named place-holder inside a procedure that is used to allow input values to be passed into the procedure is called a ______

1

parameter

2

argument

3

variable

4

constant

20

media

21

Multiple Choice

Invoking a procedure to run the code inside it is called _______ the procedure.

1

calling

2

running

3

instantiating

4

naming

22

Multiple Choice

The values passed into a procedure from the calling code are called the _____

1

arguments

2

parameters

3

variables

4

values

23

media

24

Multiple Select

Choose all the alternative names for a 'procedure' in computer programming ...

1

function

2

subroutine

3

subprogram

4

method

25

Multiple Choice

Question image

Argument or parameter?

1

Argument

2

Parameter

26

Multiple Choice

Question image

Argument or parameter?

1

Argument

2

Parameter

27

media

28

Fill in the Blanks

Type answer...

29

Poll

Which IDE do you mainly use for Python programming?

Thonny

Python IDLE

replit.com

PyCharm

30

media

31

Multiple Select

Question image

In this lesson I have learned to ...

1

Define 'procedure'

2

Define 'parameter'

3

Create procedures

32

Open Ended

Question image

Thinking Hard

Reduce the key argument in today’s lesson into 12 words.

(press Shift+Enter to take a new line ...)

33

Poll

Question image

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

Procedures

Creating user-defined 'procedures' in Python

media

Show answer

Auto Play

Slide 1 / 33

SLIDE