curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/6633008b3377e5894cf71629.md
Please answer the question below.
How does Sarah describe functions in her explanation?
As small, reusable tasks that can be used multiple times in code
As large, complex operations that are difficult to manage
Sarah specifically mentions that functions are small and reusable, not large and complex.
As one-time use commands that are not saved
Sarah describes functions as reusable, meaning they can be used more than once.
As unnecessary parts of programming that should be avoided
Sarah highlights functions as beneficial and reusable, which contradicts them being unnecessary.
1
{
"setup": {
"background": "company2-roof.png",
"characters": [
{
"character": "Sarah",
"position": {
"x": 50,
"y": 0,
"z": 1.4
},
"opacity": 0
}
],
"audio": {
"filename": "5.2-2.mp3",
"startTime": 1,
"startTimestamp": 4.18,
"finishTimestamp": 7.76
}
},
"commands": [
{
"character": "Sarah",
"opacity": 1,
"startTime": 0
},
{
"character": "Sarah",
"startTime": 1,
"finishTime": 4.58,
"dialogue": {
"text": "Functions are like small reusable tasks that you can use in your code.",
"align": "center"
}
},
{
"character": "Sarah",
"opacity": 0,
"startTime": 5.08
}
]
}