curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67ee802cf777fd1dcdeac13a.md
Listen to the audio and answer the question below.
What requirement does Sophie mention?
Mark should delete unnecessary lines of code.
Sophie doesn't talk about removing code.
Mark should rewrite his code completely.
Sophie doesn't suggest rewriting the entire code.
Mark should avoid using loops.
Sophie does not say anything about avoiding loops.
Mark should use notes in his code.
4
A comment is a note in the code that helps explain what it does. For example:
I added a comment to explain why this loop is necessary. - You wrote a comment to describe why certain loop is used.
You can use comments to leave notes about issues that need fixing later. - Comments can be added in the code as reminders for things that need to be fixed or improved.
Comments help others understand the code and remind you of important details when reviewing your code later.
{
"setup": {
"background": "company2-center.png",
"characters": [
{
"character": "Sophie",
"position": {
"x": 50,
"y": 0,
"z": 1.4
},
"opacity": 0
}
],
"audio": {
"filename": "B1_17-1.mp3",
"startTime": 1,
"startTimestamp": 25.54,
"finishTimestamp": 28.48
}
},
"commands": [
{
"character": "Sophie",
"opacity": 1,
"startTime": 0
},
{
"character": "Sophie",
"startTime": 1,
"finishTime": 4.02,
"dialogue": {
"text": "No problem. You should also remember to use comments in your code.",
"align": "center"
}
},
{
"character": "Sophie",
"opacity": 0,
"startTime": 4.52
}
]
}