Lesson 2 _Functions

Lesson 2 Functions
In programming you might write a routine 
That you would use over and over again
1 / 10
volgende
Slide 1: Tekstslide
ProgrammingFurther Education (Key Stage 5)

In deze les zitten 10 slides, met interactieve quizzen, tekstslides en 1 video.

time-iconLesduur is: 50 min

Onderdelen in deze les

Lesson 2 Functions
In programming you might write a routine 
That you would use over and over again

Slide 1 - Tekstslide

6

Slide 2 - Video

00:54
What you must do
Using your onlinegdb 
Create a function called 
student_names 
then put pass below it - 2 Minutes 

Slide 3 - Tekstslide

01:21
What is the brackets in the function use for?
A
To help define the function
B
It looks good
C
To do the calculation

Slide 4 - Quizvraag

03:39
Create a function called student_names
that prints out "Tom Bell" everytime you call it. Try it out in your onlinegdb compiler once your tutor is happy with your answer.

Slide 5 - Open vraag

05:40
What is the function
returning?

Slide 6 - Woordweb

05:48
Create a function call favourite pet and return "cat" then call the function and print whatever is returned. Try it here first

Slide 7 - Open vraag

06:52
We will End Here

Slide 8 - Tekstslide

Create a function called student_name
followed by pass

Slide 9 - Open vraag

We will End here!

Slide 10 - Tekstslide