Wat is LessonUp
Zoeken
Kanalen
Inloggen
Registreren
‹
Terug naar zoeken
Python Functions
Python Functions
1 / 10
volgende
Slide 1:
Tekstslide
Computing
Upper Secondary (Key Stage 4)
GCSE
In deze les zitten
10 slides
, met
interactieve quizzen
en
tekstslide
.
Start les
Bewaar
Deel
Printen
Onderdelen in deze les
Python Functions
Slide 1 - Tekstslide
Write a function called sausages to allow you to multiple the number of sausages by 7
Slide 2 - Open vraag
What are parameters in a function?
A
Outputs of the function
B
Inputs for the function
C
Function names
D
Return types of functions
Slide 3 - Quizvraag
How do you call a function in Python?
A
invoke function_name
B
function_name()
C
execute function_name
D
call function_name
Slide 4 - Quizvraag
What symbol is used for comments in Python?
A
/*
B
//
C
--
D
#
Slide 5 - Quizvraag
What keyword is used to define a function?
A
method
B
def
C
function
D
define
Slide 6 - Quizvraag
What is the purpose of a loop in Python?
A
To repeat a block of code
B
To declare a variable
C
To define a function
D
To import a module
Slide 7 - Quizvraag
What does 'if' statement do in Python?
A
Imports a library
B
Evaluates a condition
C
Loops through a sequence
D
Declares a class
Slide 8 - Quizvraag
What method adds an item to a list?
A
extend()
B
insert()
C
attach()
D
append()
Slide 9 - Quizvraag
How do you access the first element?
A
list[0]
B
list[1]
C
list.get(0)
D
list.first()
Slide 10 - Quizvraag
Meer lessen zoals deze
Python Programming Fundamentals: Data Types, Functions, and Comments
September 2023
- Les met
14 slides
Building a Computer Game with Python
Oktober 2023
- Les met
26 slides
Python 101: Introduction to Python Programming
September 2023
- Les met
14 slides
Y8 Python - Low Ability - If Elif JM
Juni 2023
- Les met
40 slides
Computing
Lower Secondary (Key Stage 3)
BTEC_Prog_Modules Lessxx
September 2024
- Les met
26 slides
Programmin
Further Education (Key Stage 5)
Debugging Code
Mei 2023
- Les met
36 slides
Computing
Upper Secondary (Key Stage 4)
GCSE
Python - 2024
Juni 2024
- Les met
23 slides
Computing
Lower Secondary (Key Stage 3)
Unraveling Arduino Functions: A Guide to Understanding and Implementing Functions in Arduino
Februari 2024
- Les met
16 slides
Arduino
Further Education (Key Stage 5)
Higher Education (non-degree)