Lesson 4 __Functions

Lesson 4_Function
1 / 17
next
Slide 1: Slide
ProgrammingFurther Education (Key Stage 5)

This lesson contains 17 slides, with interactive quizzes, text slides and 1 video.

Items in this lesson

Lesson 4_Function

Slide 1 - Slide

11

Slide 2 - Video

01:20
What is the meaning of "def" mean?
A
It is an inherirtance
B
It defines an object
C
It defines a class
D
It defines a function

Slide 3 - Quiz

01:49
What is def greet():
A
A class
B
a functionn called "greet"
C
a variable
D
None of the list

Slide 4 - Quiz

02:46
How would you call the
function def greet():

Slide 5 - Mind map

03:22
When would you use a function?

Slide 6 - Open question

04:45
Values passed to a function is called?

Slide 7 - Open question

05:57
def my_teacher():
print("my teacher is")
my_teacher()
Modify to pass the name of your teacher

Slide 8 - Open question

07:20
What arguments are passed to the function
A
Two numbers
B
A string
C
number 1 and number 2
D
None of these

Slide 9 - Quiz

08:40
What variable is returned to the function

Slide 10 - Open question

09:45
Explain "user defined functions"

Slide 11 - Mind map

10:21
Explain the "input()" function

Slide 12 - Mind map

14:13
marks= [78, 85.90.67]
Write down the function to find
the number of marks entered.

Slide 13 - Mind map

Task for you
Using your "onlinegdb" write a program with two functions that will add  two number
multiply two numbers 

Slide 14 - Slide

List three things you have
learnt today!

Slide 15 - Mind map


Very well
Quite well
Not very wellThen go through the lesson again

Slide 16 - Poll

Thanks you
Remember to always take three deep breaths 

Slide 17 - Slide