Search Header Logo
Functions

Functions

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Calum Gordon

Used 7+ times

FREE Resource

10 Slides • 11 Questions

1

Functions

Subprograms with return values

media

2

media

3

media

4

Multiple Select

What should you be able to do by the end of this lesson?

1

Define 'function'

2

Define 'parameter'

3

Define 'return value'

4

Create functions

5

media

6

Multiple Choice

Which is the best definition of 'procedure'?

1

A named block of code that usually returns some value to the main program

2

A named piece of computer storage that can store a single data value

3

A named piece of computer storage that can contain a series of different data values

4

A named block of code that usually carries out a single task

7

media

8

Multiple Choice

In programming, what is the difference between a 'function' and a 'procedure'?

1

Functions begin with 'def'

2

Functions always return a value

3

Functions have a name

4

Functions sometimes return a value

9

media

10

Multiple Choice

A 'built-in' function is a function that ....

1

is included as part of the standard library

2

is defined by the programmer

3

can do many different tasks

11

Multiple Select

Choose all the examples of built-in functions (that return a value) in Python ...

1

print()

2

int()

3

input()

4

range()

12

media

13

Fill in the Blank

The result of a function call that is sent back from the function to the place in the program where it was called?

14

media

15

Multiple Select

Which of these subprograms are 'functions'?

1
2
3
4

16

media

17

Multiple Select

Question image

Which variables only exist INSIDE the function?

1

bill

2

total

3

VAT

4

subtotal

5

finalBill

18

media

19

Multiple Select

Question image

In this lesson I have learned to ...

1

Define 'function'

2

Define 'parameter'

3

Define 'return value'

4

Create functions

20

Open Ended

Question image

Thinking Hard

How does today’s lesson link to another topic we have studied this year?

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

21

Poll

Question image

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

Functions

Subprograms with return values

media

Show answer

Auto Play

Slide 1 / 21

SLIDE