mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-10 19:01:13 -04:00
feat(curriculum): add animations to block 5.2 of the English Curriculum (#55008)
This commit is contained in:
@@ -94,128 +94,132 @@
|
||||
"title": "Dialogue 2: Asking about Functions"
|
||||
},
|
||||
{
|
||||
"id": "6632fe1b6548f7887488a767",
|
||||
"id": "665632c4ace6cb00ab832023",
|
||||
"title": "Task 21"
|
||||
},
|
||||
{
|
||||
"id": "6633008b3377e5894cf71629",
|
||||
"id": "6632fe1b6548f7887488a767",
|
||||
"title": "Task 22"
|
||||
},
|
||||
{
|
||||
"id": "663301c3812e2e89c08dcc31",
|
||||
"id": "6633008b3377e5894cf71629",
|
||||
"title": "Task 23"
|
||||
},
|
||||
{
|
||||
"id": "6633032bf786ff8a61b0c482",
|
||||
"id": "663301c3812e2e89c08dcc31",
|
||||
"title": "Task 24"
|
||||
},
|
||||
{
|
||||
"id": "66330444cf1ea28af44e980d",
|
||||
"id": "6633032bf786ff8a61b0c482",
|
||||
"title": "Task 25"
|
||||
},
|
||||
{
|
||||
"id": "663308af5363be8c4a5c68b9",
|
||||
"id": "66330444cf1ea28af44e980d",
|
||||
"title": "Task 26"
|
||||
},
|
||||
{
|
||||
"id": "66330dac56ad868d51d5698c",
|
||||
"id": "663308af5363be8c4a5c68b9",
|
||||
"title": "Task 27"
|
||||
},
|
||||
{
|
||||
"id": "66330fc6d2e3c38e148c8789",
|
||||
"id": "66330dac56ad868d51d5698c",
|
||||
"title": "Task 28"
|
||||
},
|
||||
{
|
||||
"id": "66331263a35e868f3dade3de",
|
||||
"id": "66330fc6d2e3c38e148c8789",
|
||||
"title": "Task 29"
|
||||
},
|
||||
{
|
||||
"id": "66331384245d028fd8b1be23",
|
||||
"id": "66331263a35e868f3dade3de",
|
||||
"title": "Task 30"
|
||||
},
|
||||
{
|
||||
"id": "663315286b7cff907e92ae25",
|
||||
"id": "66331384245d028fd8b1be23",
|
||||
"title": "Task 31"
|
||||
},
|
||||
{
|
||||
"id": "663316fdcce39d9144ae40cd",
|
||||
"id": "663315286b7cff907e92ae25",
|
||||
"title": "Task 32"
|
||||
},
|
||||
{
|
||||
"id": "6633203e58595e93ef54ba3b",
|
||||
"id": "663316fdcce39d9144ae40cd",
|
||||
"title": "Task 33"
|
||||
},
|
||||
{
|
||||
"id": "6633261bb572f2953f5abd13",
|
||||
"id": "6633203e58595e93ef54ba3b",
|
||||
"title": "Task 34"
|
||||
},
|
||||
{
|
||||
"id": "6633261bb572f2953f5abd13",
|
||||
"title": "Task 35"
|
||||
},
|
||||
{
|
||||
"id": "66334fd916a3a697e1d2c631",
|
||||
"title": "Dialogue 3: Getting Help with Variables"
|
||||
},
|
||||
{
|
||||
"id": "663350023c7cb898358af702",
|
||||
"title": "Task 35"
|
||||
},
|
||||
{
|
||||
"id": "6633511c7b197798ad5fd703",
|
||||
"title": "Task 36"
|
||||
},
|
||||
{
|
||||
"id": "663352b4860f03995736b6cd",
|
||||
"id": "6633511c7b197798ad5fd703",
|
||||
"title": "Task 37"
|
||||
},
|
||||
{
|
||||
"id": "663354f60aafd69a4c0138da",
|
||||
"id": "663352b4860f03995736b6cd",
|
||||
"title": "Task 38"
|
||||
},
|
||||
{
|
||||
"id": "66339d408258519c61151a64",
|
||||
"id": "663354f60aafd69a4c0138da",
|
||||
"title": "Task 39"
|
||||
},
|
||||
{
|
||||
"id": "66339e21256f099cd722292f",
|
||||
"id": "66339d408258519c61151a64",
|
||||
"title": "Task 40"
|
||||
},
|
||||
{
|
||||
"id": "66339f1995bdea9d4aa28cd8",
|
||||
"id": "66339e21256f099cd722292f",
|
||||
"title": "Task 41"
|
||||
},
|
||||
{
|
||||
"id": "6633a14f17a4669e1c980d91",
|
||||
"id": "66339f1995bdea9d4aa28cd8",
|
||||
"title": "Task 42"
|
||||
},
|
||||
{
|
||||
"id": "6633a2a86218659eb77fb9a1",
|
||||
"id": "6633a14f17a4669e1c980d91",
|
||||
"title": "Task 43"
|
||||
},
|
||||
{
|
||||
"id": "6633a45ce837ac9f95394eab",
|
||||
"id": "6633a2a86218659eb77fb9a1",
|
||||
"title": "Task 44"
|
||||
},
|
||||
{
|
||||
"id": "6633a64567c725a05a94b68f",
|
||||
"id": "6633a45ce837ac9f95394eab",
|
||||
"title": "Task 45"
|
||||
},
|
||||
{
|
||||
"id": "6633a97f928771a163b59745",
|
||||
"id": "6633a64567c725a05a94b68f",
|
||||
"title": "Task 46"
|
||||
},
|
||||
{
|
||||
"id": "6633aa9cf90591a1f63a431e",
|
||||
"id": "6633a97f928771a163b59745",
|
||||
"title": "Task 47"
|
||||
},
|
||||
{
|
||||
"id": "6633abfc050e82a29a76dd42",
|
||||
"id": "6633aa9cf90591a1f63a431e",
|
||||
"title": "Task 48"
|
||||
},
|
||||
{
|
||||
"id": "6633ad387b6914a3313339b3",
|
||||
"id": "6633abfc050e82a29a76dd42",
|
||||
"title": "Task 49"
|
||||
},
|
||||
{
|
||||
"id": "6633ae85f1fb7aa3ca13234d",
|
||||
"id": "6633ad387b6914a3313339b3",
|
||||
"title": "Task 50"
|
||||
},
|
||||
{
|
||||
"id": "6633ae85f1fb7aa3ca13234d",
|
||||
"title": "Task 51"
|
||||
}
|
||||
],
|
||||
"helpCategory": "English"
|
||||
|
||||
@@ -7,8 +7,136 @@ dashedName: dialogue-1-asking-about-data-types
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the video below to understand the context of the upcoming lessons.
|
||||
Watch the video to understand the context of the upcoming lessons.
|
||||
|
||||
# --assignment--
|
||||
|
||||
Watch the video
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": { "x": -25, "y": 0, "z": 1 }
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 125, "y": 0, "z": 1 }
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1
|
||||
},
|
||||
"alwaysShowDialogue": true
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": { "x": 25, "y": 0, "z": 1 },
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 70, "y": 0, "z": 1 },
|
||||
"startTime": 0.5
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.78,
|
||||
"dialogue": {
|
||||
"text": "Sarah, can you explain data types to me? I'm a bit confused.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.4,
|
||||
"finishTime": 7.68,
|
||||
"dialogue": {
|
||||
"text": "Sure. Data types are fundamental in programming.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 8.1,
|
||||
"finishTime": 11.16,
|
||||
"dialogue": {
|
||||
"text": "You use them to tell the computer what kind of data you're working with.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 11.46,
|
||||
"finishTime": 14.64,
|
||||
"dialogue": {
|
||||
"text": "Thanks, but I see many data types listed in the documentation.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 14.96,
|
||||
"finishTime": 16.4,
|
||||
"dialogue": {
|
||||
"text": "How do I know which one to choose?",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 16.82,
|
||||
"finishTime": 21.6,
|
||||
"dialogue": {
|
||||
"text": "Good question. You usually choose data types based on the kind of information you want to store.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 22.08,
|
||||
"finishTime": 26.02,
|
||||
"dialogue": {
|
||||
"text": "For example, if you're working with text, you'd use this data type: string.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 26.52,
|
||||
"finishTime": 28.52,
|
||||
"dialogue": {
|
||||
"text": "If it's whole numbers, you'd choose int.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 29.18,
|
||||
"finishTime": 34.64,
|
||||
"dialogue": {
|
||||
"text": "Ah, I see. So this means I should pick the data type that matches the information I want to work with.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 125, "y": 0, "z": 1 },
|
||||
"startTime": 35.14
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": { "x": -25, "y": 0, "z": 1 },
|
||||
"startTime": 35.64
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-1
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Sarah, can you explain data types to me? I'm a bit confused.
|
||||
-->
|
||||
<!-- (Audio) Jake: Sarah, can you explain data types to me? I'm a bit confused. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -45,3 +42,51 @@ This word refers to information processed or stored by a computer.
|
||||
### --feedback--
|
||||
|
||||
It refers to categories of data in programming.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 0,
|
||||
"finishTimestamp": 3.78
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.78,
|
||||
"dialogue": {
|
||||
"text": "Sarah, can you explain data types to me? I'm a bit confused.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 5.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-2
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Sarah, can you explain data types to me? I'm a bit confused.
|
||||
-->
|
||||
<!-- (Audio) Jake: Sarah, can you explain data types to me? I'm a bit confused. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ Jake's request is about understanding a concept, not discussing plans for a proj
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 0,
|
||||
"finishTimestamp": 3.78
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.78,
|
||||
"dialogue": {
|
||||
"text": "Sarah, can you explain data types to me? I'm a bit confused.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 5.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-3
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Sure. Data types are fundamental in programming. You use them to tell the computer what kind of data you're working with.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Sure. Data types are fundamental in programming. You use them to tell the computer what kind of data you're working with.-->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -57,3 +54,60 @@ This word refers to a type or category.
|
||||
### --feedback--
|
||||
|
||||
This preposition is used to link the noun with what follows it, helping to specify the type or category being asked about.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 4.2,
|
||||
"finishTimestamp": 10.16
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 3.28,
|
||||
"dialogue": {
|
||||
"text": "Sure. Data types are fundamental in programming.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 3.7,
|
||||
"finishTime": 6.96,
|
||||
"dialogue": {
|
||||
"text": "You use them to tell the computer what kind of data you're working with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.46
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,9 +5,7 @@ challengeType: 22
|
||||
dashedName: task-5
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: You use them to tell the computer what kind of data you're working with.
|
||||
<!-- (Audio) Sarah: You use them to tell the computer what kind of data you're working with.
|
||||
-->
|
||||
|
||||
# --description--
|
||||
@@ -45,3 +43,51 @@ This word suggests an ongoing process or activity; it means actively using certa
|
||||
### --feedback--
|
||||
|
||||
This preposition is commonly used to indicate involvement or association.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 6.9,
|
||||
"finishTimestamp": 10.16
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.26,
|
||||
"dialogue": {
|
||||
"text": "You use them to tell the computer what kind of data you're working with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 4.76
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-6
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Sure. Data types are fundamental in programming. You use them to tell the computer what kind of data you're working with.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Sure. Data types are fundamental in programming. You use them to tell the computer what kind of data you're working with. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Sarah's statement implies that `data types` are helpful and necessary, not that
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 4.2,
|
||||
"finishTimestamp": 10.16
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 3.28,
|
||||
"dialogue": {
|
||||
"text": "Sure. Data types are fundamental in programming.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 3.7,
|
||||
"finishTime": 6.96,
|
||||
"dialogue": {
|
||||
"text": "You use them to tell the computer what kind of data you're working with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.46
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-7
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Thanks. But I see many data types listed in the documentation. How do I know which one to choose?
|
||||
-->
|
||||
<!-- (Audio) Jake: Thanks, but I see many data types listed in the documentation. How do I know which one to choose? -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -22,7 +19,7 @@ For example, `At the restaurant, you can choose from ten different desserts.` In
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Thanks. But I see _ data types listed in the documentation. How do I know _ _ _ _?`
|
||||
`Thanks, but I see _ data types listed in the documentation. How do I know _ _ _ _?`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -63,3 +60,60 @@ This preposition is used here to link the decision-making process.
|
||||
### --feedback--
|
||||
|
||||
It means making a selection or decision from the available options.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 10.26,
|
||||
"finishTimestamp": 15.4
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.18,
|
||||
"dialogue": {
|
||||
"text": "Thanks, but I see many data types listed in the documentation.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 4.5,
|
||||
"finishTime": 6.14,
|
||||
"dialogue": {
|
||||
"text": "How do I know which one to choose?",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 6.64
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-8
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Thanks. But I see many data types listed in the documentation. How do I know which one to choose?
|
||||
-->
|
||||
<!-- (Audio) Jake: Thanks, but I see many data types listed in the documentation. How do I know which one to choose? -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Jake's understanding of data types isn't in question; rather, his challenge is i
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 10.26,
|
||||
"finishTimestamp": 15.4
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.18,
|
||||
"dialogue": {
|
||||
"text": "Thanks, but I see many data types listed in the documentation.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 4.5,
|
||||
"finishTime": 6.14,
|
||||
"dialogue": {
|
||||
"text": "How do I know which one to choose?",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 6.64
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-9
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Good question! You usually choose data types based on the kind of information you want to store.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Good question! You usually choose data types based on the kind of information you want to store. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -45,3 +42,51 @@ This preposition is commonly used to point out the basis or criteria for decisio
|
||||
### --feedback--
|
||||
|
||||
This verb means to save or keep information in a computing system.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 15.82,
|
||||
"finishTimestamp": 20.6
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.78,
|
||||
"dialogue": {
|
||||
"text": "Good question! You usually choose data types based on the kind of information you want to store.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 6.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-13
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: For example, if you're working with text, you'd use this data type, "string". If it's whole numbers, you'd choose "int".
|
||||
-->
|
||||
<!-- (Audio) Sarah: For example, if you're working with text, you'd use this data type: string. If it's whole numbers, you'd choose int. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -18,7 +15,7 @@ Fill in the blanks in the dialogue below.
|
||||
|
||||
## --sentence--
|
||||
|
||||
`For example, if you're working with text, you'd use this data type, "_". If it's _ _, you'd choose "_".`
|
||||
`For example, if you're working with text, you'd use this data type: _. If it's _ _, you'd choose _.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -51,3 +48,60 @@ It refers to symbols or values that people use to count, measure, or label thing
|
||||
### --feedback--
|
||||
|
||||
It's short for "integer"; this data type is used in programming to store whole numbers.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 21.08,
|
||||
"finishTimestamp": 27.52
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.94,
|
||||
"dialogue": {
|
||||
"text": "For example, if you're working with text, you'd use this data type: string.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.44,
|
||||
"finishTime": 7.44,
|
||||
"dialogue": {
|
||||
"text": "If it's whole numbers, you'd choose int.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.94
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-16
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Good question! You usually choose data types based on the kind of information you want to store. For example, if you're working with text, you'd use this data type, "string". If it's whole numbers, you'd choose "int".
|
||||
-->
|
||||
<!-- (Audio) Sarah: Good question! You usually choose data types based on the kind of information you want to store. For example, if you're working with text, you'd use this data type: string. If it's whole numbers, you'd choose int. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,69 @@ Sarah focuses on the relevance of the data type to the information, not necessar
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 15.82,
|
||||
"finishTimestamp": 27.52
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.78,
|
||||
"dialogue": {
|
||||
"text": "Good question! You usually choose data types based on the kind of information you want to store.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 6.26,
|
||||
"finishTime": 10.2,
|
||||
"dialogue": {
|
||||
"text": "For example, if you're working with text, you'd use this data type: string.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 10.7,
|
||||
"finishTime": 12.7,
|
||||
"dialogue": {
|
||||
"text": "If it's whole numbers, you'd choose int.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 13.2
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-15
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: For example, if you're working with text, you'd use this data type, "string." If it's whole numbers, you'd choose "int."
|
||||
-->
|
||||
<!-- (Audio) Sarah: For example, if you're working with text, you'd use this data type: string. If it's whole numbers, you'd choose int. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Sarah specifies `string` for text, not for numbers. For numbers, she mentions `i
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 21.08,
|
||||
"finishTimestamp": 27.52
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.94,
|
||||
"dialogue": {
|
||||
"text": "For example, if you're working with text, you'd use this data type: string.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.44,
|
||||
"finishTime": 7.44,
|
||||
"dialogue": {
|
||||
"text": "If it's whole numbers, you'd choose int.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.94
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 22
|
||||
dashedName: task-17
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Ah, I see. So, this means I should pick the data type that matches the information I want to work with.
|
||||
-->
|
||||
<!-- (Audio) Jake: Ah, I see. So this means I should pick the data type that matches the information I want to work with. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -22,7 +19,7 @@ The verb `pick` means to choose or select something from a range of options. In
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Ah, I see. So, this means I _ _ the data type that _ the information I want to work with.`
|
||||
`Ah, I see. So this means I _ _ the data type that _ the information I want to work with.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -47,3 +44,51 @@ This verb means to choose or select from a range of options.
|
||||
### --feedback--
|
||||
|
||||
This verb is used to describe the action of making sure two or more items go well together or are suitable for each other.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 28.18,
|
||||
"finishTimestamp": 33.64
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.46,
|
||||
"dialogue": {
|
||||
"text": "Ah, I see. So this means I should pick the data type that matches the information I want to work with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 6.96
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,26 +5,23 @@ challengeType: 22
|
||||
dashedName: task-18
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Ah, I see. So, this means I should pick the data type that matches the information I want to work with.
|
||||
-->
|
||||
<!-- (Audio) Jake: Ah, I see. So this means I should pick the data type that matches the information I want to work with. -->
|
||||
|
||||
# --description--
|
||||
|
||||
This task focuses on the relative pronoun `that`. It is used to introduce a clause providing more details about a noun.
|
||||
|
||||
A "clause" is a part of a sentence that contains at least a subject and a verb. It can express a complete idea or add extra information to the main sentence.
|
||||
A clause is a part of a sentence that contains at least a subject and a verb. It can express a complete idea or add extra information to the main sentence.
|
||||
|
||||
The pronoun `that` helps specify or define something more clearly, connecting it to a description or a necessary detail.
|
||||
|
||||
For examples, `She read the book that won the Pulitzer Prize last year.` In this sentence, `that won the Pulitzer Prize last year` is a relative clause introduced by `that`. The clause describes or specifies the book, helping to distinguish it from other books. Here, `that` acts as a relative pronoun connecting the clause to the noun `book`, and it describes which particular book she read.
|
||||
For example, `She read the book that won the Pulitzer Prize last year.` In this sentence, `that won the Pulitzer Prize last year` is a relative clause introduced by `that`. The clause describes or specifies the book, helping to distinguish it from other books. Here, `that` acts as a relative pronoun connecting the clause to the noun `book`, and it describes which particular book she read.
|
||||
|
||||
# --fillInTheBlank--
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Ah, I see. So, this means I should pick the data type _ matches the information I want to work _.`
|
||||
`Ah, I see. So this means I should pick the data type _ matches the information I want to work _.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -41,3 +38,51 @@ This relative pronoun is used to introduce a clause, explaining which data type
|
||||
### --feedback--
|
||||
|
||||
It is a preposition that describes being involved in a cooperative or collaborative action.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 28.18,
|
||||
"finishTimestamp": 33.64
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.46,
|
||||
"dialogue": {
|
||||
"text": "Ah, I see. So this means I should pick the data type that matches the information I want to work with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 6.96
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5,10 +5,7 @@ challengeType: 19
|
||||
dashedName: task-20
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Jake: Ah, I see. So, this means I should pick the data type that matches the information I want to work with.
|
||||
-->
|
||||
<!-- (Audio) Jake: Ah, I see. So this means I should pick the data type that matches the information I want to work with. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ This is incorrect. Jake talks about picking the right data types for different k
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company1-reception.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-1.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 28.18,
|
||||
"finishTimestamp": 33.64
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.46,
|
||||
"dialogue": {
|
||||
"text": "Ah, I see. So this means I should pick the data type that matches the information I want to work with.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Jake",
|
||||
"opacity": 0,
|
||||
"startTime": 6.96
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -7,8 +7,109 @@ dashedName: dialogue-2-asking-about-functions
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the video below to understand the context of the upcoming lessons.
|
||||
Watch the video to understand the context of the upcoming lessons.
|
||||
|
||||
# --assignment--
|
||||
|
||||
Watch the video
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": -25, "y": 0, "z": 1 }
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 125, "y": 0, "z": 1 }
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1
|
||||
},
|
||||
"alwaysShowDialogue": true
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": 25, "y": 0, "z": 1 },
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 70, "y": 0, "z": 1 },
|
||||
"startTime": 0.5
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.26,
|
||||
"dialogue": {
|
||||
"text": "Sarah, I'm learning about functions in programming and I'm not sure how to use them.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.38,
|
||||
"finishTime": 8.76,
|
||||
"dialogue": {
|
||||
"text": "Functions are like small reusable tasks that you can use in your code.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 9.48,
|
||||
"finishTime": 14.52,
|
||||
"dialogue": {
|
||||
"text": "Thanks for explaining, Sarah. I see many functions in our code but I'm not sure what each of these does.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 15.26,
|
||||
"finishTime": 19.14,
|
||||
"dialogue": {
|
||||
"text": "No problem, Tom. To understand them, you can look at their names and comments.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 19.52,
|
||||
"finishTime": 21.42,
|
||||
"dialogue": {
|
||||
"text": "Comments explain that function's purpose.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 21.88,
|
||||
"finishTime": 26.86,
|
||||
"dialogue": {
|
||||
"text": "Got it. So that means I should read the function names and comments to what these functions do.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": { "x": 125, "y": 0, "z": 1 },
|
||||
"startTime": 27.36
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": -25, "y": 0, "z": 1 },
|
||||
"startTime": 27.86
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6632fe1b6548f7887488a767
|
||||
title: Task 21
|
||||
title: Task 22
|
||||
challengeType: 22
|
||||
dashedName: task-21
|
||||
dashedName: task-22
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Functions are like small, reusable tasks that you can use in your code.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Functions are like small, reusable tasks that you can use in your code. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -43,3 +40,51 @@ It means code or functions that can be used many times in different situations,
|
||||
### --feedback--
|
||||
|
||||
it refers to a thing and introduces a defining clause about it.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633008b3377e5894cf71629
|
||||
title: Task 22
|
||||
title: Task 23
|
||||
challengeType: 19
|
||||
dashedName: task-22
|
||||
dashedName: task-23
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Functions are like small, reusable tasks that you can use in your code.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Functions are like small, reusable tasks that you can use in your code. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ This is incorrect because Sarah highlights functions as beneficial and reusable,
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663301c3812e2e89c08dcc31
|
||||
title: Task 23
|
||||
title: Task 24
|
||||
challengeType: 22
|
||||
dashedName: task-23
|
||||
dashedName: task-24
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Thanks for explaining, Sarah.
|
||||
-->
|
||||
<!-- (Audio) Tom: Thanks for explaining, Sarah. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -48,4 +45,52 @@ This preposition is used to indicate the reason for the gratitude.
|
||||
|
||||
### --feedback--
|
||||
|
||||
This is the gerund form of a verb meaning to make something clear or easy to understand by describing or giving information about it.
|
||||
This is the `-ing` form of a verb that means to make something clear or easy to understand by describing or giving information about it.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 8.28,
|
||||
"finishTimestamp": 9.56
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 2.28,
|
||||
"dialogue": {
|
||||
"text": "Thanks for explaining, Sarah.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 2.78
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 6633032bf786ff8a61b0c482
|
||||
title: Task 24
|
||||
title: Task 25
|
||||
challengeType: 19
|
||||
dashedName: task-24
|
||||
dashedName: task-25
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 66330444cf1ea28af44e980d
|
||||
title: Task 25
|
||||
title: Task 26
|
||||
challengeType: 22
|
||||
dashedName: task-25
|
||||
dashedName: task-26
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: I see many functions in our code, but I'm not sure what each of those does.
|
||||
-->
|
||||
<!-- (Audio) Tom: I see many functions in our code, but I'm not sure what each of these does. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -38,7 +35,7 @@ This `wh-` word is used to ask for specific information about the function or ro
|
||||
|
||||
---
|
||||
|
||||
`those`
|
||||
`these`
|
||||
|
||||
### --feedback--
|
||||
|
||||
@@ -51,3 +48,51 @@ This pronoun refers to a specific group of items previously mentioned, in this c
|
||||
### --feedback--
|
||||
|
||||
This verb is used to inquire about the action or role of each individual item.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 9.74,
|
||||
"finishTimestamp": 13.52
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 4.78,
|
||||
"dialogue": {
|
||||
"text": "I see many functions in our code, but I'm not sure what each of these does.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 5.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663308af5363be8c4a5c68b9
|
||||
title: Task 26
|
||||
title: Task 27
|
||||
challengeType: 19
|
||||
dashedName: task-26
|
||||
dashedName: task-27
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Thanks for explaining, Sarah. I see many functions in our code, but I'm not sure what each of those does.
|
||||
-->
|
||||
<!-- (Audio) Tom: Thanks for explaining, Sarah. I see many functions in our code, but I'm not sure what each of those does. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Tom thanked Sarah for her explanation, indicating he appreciates the clarificati
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 8.28,
|
||||
"finishTimestamp": 13.52
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 2.28,
|
||||
"dialogue": {
|
||||
"text": "Thanks for explaining, Sarah.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 2.46,
|
||||
"finishTime": 6.24,
|
||||
"dialogue": {
|
||||
"text": "I see many functions in our code, but I'm not sure what each of these does.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 6.74
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 66330dac56ad868d51d5698c
|
||||
title: Task 27
|
||||
title: Task 28
|
||||
challengeType: 22
|
||||
dashedName: task-27
|
||||
dashedName: task-28
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: No problem, Tom. To understand them, you can look at their names and comments.
|
||||
-->
|
||||
<!-- (Audio) Sarah: No problem, Tom. To understand them, you can look at their names and comments. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -29,3 +26,51 @@ For example, `// This is a single-line comment in JavaScript.`
|
||||
### --feedback--
|
||||
|
||||
It refers to text written in the code that explains or describes parts of it to help anyone who reads the code understand what it does or why certain choices were made.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"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": 14.06,
|
||||
"finishTimestamp": 18.14
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.08,
|
||||
"dialogue": {
|
||||
"text": "No problem, Tom. To understand them, you can look at their names and comments.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 5.58
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 66330fc6d2e3c38e148c8789
|
||||
title: Task 28
|
||||
title: Task 29
|
||||
challengeType: 22
|
||||
dashedName: task-28
|
||||
dashedName: task-29
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: Comments explain that function's purpose.
|
||||
-->
|
||||
<!-- (Audio) Sarah: Comments explain that function's purpose. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -47,3 +44,51 @@ This possessive form shows that something belongs to the function.
|
||||
### --feedback--
|
||||
|
||||
It refers to the reason or goal behind something. In this context, it describes what the function is intended to do or achieve, as explained by the comments in the code.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"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": 18.32,
|
||||
"finishTimestamp": 20.42
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 3.1,
|
||||
"dialogue": {
|
||||
"text": "Comments explain that function's purpose.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 3.6
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 66331263a35e868f3dade3de
|
||||
title: Task 29
|
||||
title: Task 30
|
||||
challengeType: 19
|
||||
dashedName: task-29
|
||||
dashedName: task-30
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: No problem, Tom. To understand them, you can look at their names and comments. Comments explain that function's purpose.
|
||||
-->
|
||||
<!-- (Audio) Sarah: No problem, Tom. To understand them, you can look at their names and comments. Comments explain that function's purpose. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Rewriting is not suggested by Sarah. She recommends understanding them through t
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"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": 14.06,
|
||||
"finishTimestamp": 20.42
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.08,
|
||||
"dialogue": {
|
||||
"text": "No problem, Tom. To understand them, you can look at their names and comments.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.46,
|
||||
"finishTime": 7.36,
|
||||
"dialogue": {
|
||||
"text": "Comments explain that function's purpose.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.86
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
---
|
||||
id: 66331384245d028fd8b1be23
|
||||
title: Task 30
|
||||
title: Task 31
|
||||
challengeType: 19
|
||||
dashedName: task-30
|
||||
dashedName: task-31
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sarah: No problem, Tom. To understand them, you can look at their names and comments. Comments explain that function's purpose.
|
||||
Tom: Got it. So, that means I should read the function names and comments to know what those functions do.
|
||||
-->
|
||||
<!-- (Audio) Sarah: No problem, Tom. To understand them, you can look at their names and comments. Comments explain that function's purpose. Tom: Got it. So that means I should read the function names and comments to know what those functions do. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -52,3 +48,88 @@ This is not suggested in any part of the conversation. Tom is discussing how to
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 14.06,
|
||||
"finishTimestamp": 25.86
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.08,
|
||||
"dialogue": {
|
||||
"text": "No problem, Tom. To understand them, you can look at their names and comments.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"startTime": 5.46,
|
||||
"finishTime": 7.36,
|
||||
"dialogue": {
|
||||
"text": "Comments explain that function's purpose.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sarah",
|
||||
"opacity": 0,
|
||||
"startTime": 7.59
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 7.59
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 7.82,
|
||||
"finishTime": 12.8,
|
||||
"dialogue": {
|
||||
"text": "Got it. So that means I should read the function names and comments to what these functions do.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 13.3
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663315286b7cff907e92ae25
|
||||
title: Task 31
|
||||
title: Task 32
|
||||
challengeType: 22
|
||||
dashedName: task-31
|
||||
dashedName: task-32
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Got it. So, that means I should read the function names and comments to know what those functions do.
|
||||
-->
|
||||
<!-- (Audio) Tom: Got it. So that means I should read the function names and comments to know what those functions do. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -18,7 +15,7 @@ The modal verb `should` is used to express obligation, recommendation, or advice
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Got it. So, that means I _ _ the function names and comments to know what those functions do.`
|
||||
`Got it. So that means I _ _ the function names and comments to know what those functions do.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -35,3 +32,51 @@ It is used to suggest something advisable or recommendable.
|
||||
### --feedback--
|
||||
|
||||
This verb describes the action Tom believes is necessary to gain understanding. It implies looking at and comprehending the text.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 20.68,
|
||||
"finishTimestamp": 25.86
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.18,
|
||||
"dialogue": {
|
||||
"text": "Got it. So that means I should read the function names and comments to what these functions do.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 6.68
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663316fdcce39d9144ae40cd
|
||||
title: Task 32
|
||||
title: Task 33
|
||||
challengeType: 22
|
||||
dashedName: task-32
|
||||
dashedName: task-33
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Got it. So, that means I should read the function names and comments to know what those functions do.
|
||||
-->
|
||||
<!-- (Audio) Tom: Got it. So that means I should read the function names and comments to know what these functions do. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -20,7 +17,7 @@ For example, in the sentence `She doesn't know what to buy`, `what to buy` is a
|
||||
|
||||
Another example is `Tell me what you heard.` `What you heard` is the clause, with `what` explaining the specific things that were heard, acting as the object of the verb `heard`.
|
||||
|
||||
`Those` as a demonstrative pronoun refers to specific items previously mentioned or understood from the context.
|
||||
`These` is a plural demonstrative pronoun refers to specific items previously mentioned or understood from the context.
|
||||
|
||||
# --fillInTheBlank--
|
||||
|
||||
@@ -38,7 +35,7 @@ This word introduces a clause, leading to information that explains the activiti
|
||||
|
||||
---
|
||||
|
||||
`those`
|
||||
`these`
|
||||
|
||||
### --feedback--
|
||||
|
||||
@@ -51,3 +48,51 @@ This pronoun refers back to a specific group of functions previously discussed o
|
||||
### --feedback--
|
||||
|
||||
This verb completes the indirect statement, indicating the actions performed by the functions.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 20.68,
|
||||
"finishTimestamp": 25.86
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.18,
|
||||
"dialogue": {
|
||||
"text": "Got it. So that means I should read the function names and comments to what these functions do.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 6.68
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 6633203e58595e93ef54ba3b
|
||||
title: Task 33
|
||||
title: Task 34
|
||||
challengeType: 19
|
||||
dashedName: task-33
|
||||
dashedName: task-34
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633261bb572f2953f5abd13
|
||||
title: Task 34
|
||||
title: Task 35
|
||||
challengeType: 19
|
||||
dashedName: task-34
|
||||
dashedName: task-35
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Got it. So, that means I should read the function names and comments to know what those functions do.
|
||||
-->
|
||||
<!-- (Audio) Tom: Got it. So that means I should read the function names and comments to know what these functions do. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ He will review the function names and comments in the code.
|
||||
## --video-solution--
|
||||
|
||||
4
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 20.68,
|
||||
"finishTimestamp": 25.86
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 6.18,
|
||||
"dialogue": {
|
||||
"text": "Got it. So that means I should read the function names and comments to what these functions do.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 6.68
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -7,8 +7,145 @@ dashedName: dialogue-3-getting-help-with-variables
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the video below to understand the context of the upcoming lessons.
|
||||
Watch the video to understand the context of the upcoming lessons.
|
||||
|
||||
# --assignment--
|
||||
|
||||
Watch the video
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": -25, "y": 0, "z": 1 }
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": { "x": 125, "y": 0, "z": 1 }
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1
|
||||
},
|
||||
"alwaysShowDialogue": true
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": 25, "y": 0, "z": 1 },
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": { "x": 70, "y": 0, "z": 1 },
|
||||
"startTime": 0.5
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.14,
|
||||
"dialogue": {
|
||||
"text": "Hey, Sophie. I'm working on a project that uses many variables. I'm not sure how to manage them all.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 7.88,
|
||||
"finishTime": 12.18,
|
||||
"dialogue": {
|
||||
"text": "Variables help you store information in your code, like names, numbers, and more.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 12.6,
|
||||
"finishTime": 15.32,
|
||||
"dialogue": {
|
||||
"text": "You can use the equals symbol to assign values to them.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 15.7,
|
||||
"finishTime": 19.78,
|
||||
"dialogue": {
|
||||
"text": "Thanks, Sophie. I'm also using many constants in my project.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 20.2,
|
||||
"finishTime": 22.76,
|
||||
"dialogue": {
|
||||
"text": "But what's the difference between variables and constants?",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 23.24,
|
||||
"finishTime": 28.02,
|
||||
"dialogue": {
|
||||
"text": "Great question, Tom. Variables can change their values, but constants stay the same.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 28.02,
|
||||
"finishTime": 31.14,
|
||||
"dialogue": {
|
||||
"text": "Think of variables as containers that you can fill and empty,",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 31.14,
|
||||
"finishTime": 34.62,
|
||||
"dialogue": {
|
||||
"text": "and constants as locked boxes that keep the same contents.",
|
||||
"align": "right"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 35.44,
|
||||
"finishTime": 38.98,
|
||||
"dialogue": {
|
||||
"text": "I see. So that means I can change the values in these variables,",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 39.12,
|
||||
"finishTime": 41.62,
|
||||
"dialogue": {
|
||||
"text": "but I can't touch the values in these constants.",
|
||||
"align": "left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": { "x": 125, "y": 0, "z": 1 },
|
||||
"startTime": 42.12
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": { "x": -25, "y": 0, "z": 1 },
|
||||
"startTime": 42.62
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663350023c7cb898358af702
|
||||
title: Task 35
|
||||
title: Task 36
|
||||
challengeType: 22
|
||||
dashedName: task-35
|
||||
dashedName: task-36
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Hey, Sophia, I'm working on a project that uses many variables. I'm not sure how to manage them all.
|
||||
-->
|
||||
<!-- (Audio) Tom: Hey, Sophie, I'm working on a project that uses many variables. I'm not sure how to manage them all. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -18,7 +15,7 @@ Tom: Hey, Sophia, I'm working on a project that uses many variables. I'm not sur
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Hey, Sophia, I'm working on a project _ uses many _. I'm not sure how to manage them all.`
|
||||
`Hey, Sophie, I'm working on a project _ uses many _. I'm not sure how to manage them all.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -35,3 +32,51 @@ This word connects the project to what it uses, serving as a bridge between `pro
|
||||
### --feedback--
|
||||
|
||||
It is like a box where you can store information that can change; it is used to keep track of data that might change as the program runs.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 0,
|
||||
"finishTimestamp": 6.14
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.14,
|
||||
"dialogue": {
|
||||
"text": "Hey, Sophie, I'm working on a project that uses many variables. I'm not sure how to manage them all.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 7.64
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633511c7b197798ad5fd703
|
||||
title: Task 36
|
||||
title: Task 37
|
||||
challengeType: 19
|
||||
dashedName: task-36
|
||||
dashedName: task-37
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Hey, Sophia, I'm working on a project that uses many variables. I'm not sure how to manage them all.
|
||||
-->
|
||||
<!-- (Audio) Tom: Hey, Sophie, I'm working on a project that uses many variables. I'm not sure how to manage them all. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ This option isn't accurate because Tom mentioned he is working on a project, not
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 0,
|
||||
"finishTimestamp": 6.14
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.14,
|
||||
"dialogue": {
|
||||
"text": "Hey, Sophie, I'm working on a project that uses many variables. I'm not sure how to manage them all.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 7.64
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 663352b4860f03995736b6cd
|
||||
title: Task 37
|
||||
title: Task 38
|
||||
challengeType: 22
|
||||
dashedName: task-37
|
||||
dashedName: task-38
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Variables help you store information in your code, like names, numbers, and more.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Variables help you store information in your code, like names, numbers, and more. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -49,3 +46,51 @@ It refers to data or details that are kept in the computer. In this sentence, it
|
||||
### --feedback--
|
||||
|
||||
It is used to give examples of what can be stored in variables.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 6.48,
|
||||
"finishTimestamp": 11.18
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.7,
|
||||
"dialogue": {
|
||||
"text": "Variables help you store information in your code, like names, numbers, and more.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 6.2
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,20 +1,17 @@
|
||||
---
|
||||
id: 663354f60aafd69a4c0138da
|
||||
title: Task 38
|
||||
title: Task 39
|
||||
challengeType: 22
|
||||
dashedName: task-38
|
||||
dashedName: task-39
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: You can use the equals symbol to assign values to them.
|
||||
-->
|
||||
<!-- (Audio) Sophie: You can use the equals symbol to assign values to them. -->
|
||||
|
||||
# --description--
|
||||
|
||||
The `equals symbol` (`=`) is commonly used for assignment. It's used to assign a value to a variable. The variable name is written on the left of the equals symbol, and the value you want to store in the variable is on the right.
|
||||
|
||||
For example, `name = "Sophia";` assigns the string `"Sophia"` to the variable `name`.
|
||||
For example, `name = "Sophie";` assigns the string `"Sophie"` to the variable `name`.
|
||||
|
||||
To `assign a value` in programming means to give a specific value to a variable. The `equals symbol` (`=`) is commonly used for this purpose. When you assign a value to a variable, you are telling the program to remember that value for use later.
|
||||
|
||||
@@ -57,3 +54,51 @@ It means to give a particular value to a variable. It's like telling the compute
|
||||
### --feedback--
|
||||
|
||||
They are the actual data or information you want to store in a variable, like a number, text, or other types of data.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 11.4,
|
||||
"finishTimestamp": 14.32
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 3.92,
|
||||
"dialogue": {
|
||||
"text": "You can use the equals symbol to assign values to them.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 4.42
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 66339d408258519c61151a64
|
||||
title: Task 39
|
||||
title: Task 40
|
||||
challengeType: 19
|
||||
dashedName: task-39
|
||||
dashedName: task-40
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Variables help you store information in your code, like names, numbers, and more. You can use the equals symbol to assign values to them.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Variables help you store information in your code, like names, numbers, and more. You can use the equals symbol to assign values to them. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ Variables store information and use the equals symbol to assign values.
|
||||
## --video-solution--
|
||||
|
||||
4
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 6.48,
|
||||
"finishTimestamp": 14.32
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.7,
|
||||
"dialogue": {
|
||||
"text": "Variables help you store information in your code, like names, numbers, and more.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 5.92,
|
||||
"finishTime": 8.64,
|
||||
"dialogue": {
|
||||
"text": "You can use the equals symbol to assign values to them.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 9.14
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 66339e21256f099cd722292f
|
||||
title: Task 40
|
||||
title: Task 41
|
||||
challengeType: 19
|
||||
dashedName: task-40
|
||||
dashedName: task-41
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
---
|
||||
id: 66339f1995bdea9d4aa28cd8
|
||||
title: Task 41
|
||||
title: Task 42
|
||||
challengeType: 22
|
||||
dashedName: task-41
|
||||
dashedName: task-42
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Thanks, Sophia. I'm also using many constants in my project. But what's the difference between variables and constants?
|
||||
<!-- (Audio) Tom: Thanks, Sophie. I'm also using many constants in my project. But what's the difference between variables and constants?
|
||||
-->
|
||||
|
||||
# --description--
|
||||
@@ -24,7 +22,7 @@ For instance, `He explained the difference between Java and Python.`
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Thanks, Sophia. I'm also using many _ in my project. But _ the _ _ variables and constants?`
|
||||
`Thanks, Sophie. I'm also using many _ in my project. But _ the _ _ variables and constants?`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -57,3 +55,60 @@ It means two or more things which you are comparing are not the same. It's used
|
||||
### --feedback--
|
||||
|
||||
It is used to refer to two things being compared.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 14.5,
|
||||
"finishTimestamp": 21.96
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.48,
|
||||
"dialogue": {
|
||||
"text": "Thanks, Sophie. I'm also using many constants in my project.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 5.9,
|
||||
"finishTime": 8.64,
|
||||
"dialogue": {
|
||||
"text": "But what's the difference between variables and constants?",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 9.14
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633a14f17a4669e1c980d91
|
||||
title: Task 42
|
||||
title: Task 43
|
||||
challengeType: 19
|
||||
dashedName: task-42
|
||||
dashedName: task-43
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: Thanks, Sophia. I'm also using many constants in my project. But what's the difference between variables and constants?
|
||||
-->
|
||||
<!-- (Audio) Tom: Thanks, Sophie. I'm also using many constants in my project. But what's the difference between variables and constants? -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,60 @@ This option is misleading. Tom is looking for clarification on the differences,
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 14.5,
|
||||
"finishTimestamp": 21.96
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.48,
|
||||
"dialogue": {
|
||||
"text": "Thanks, Sophie. I'm also using many constants in my project.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 5.9,
|
||||
"finishTime": 8.64,
|
||||
"dialogue": {
|
||||
"text": "But what's the difference between variables and constants?",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 9.14
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633a2a86218659eb77fb9a1
|
||||
title: Task 43
|
||||
title: Task 44
|
||||
challengeType: 22
|
||||
dashedName: task-43
|
||||
dashedName: task-44
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Great question, Tom. Variables can change their values, but constants stay the same.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Great question, Tom. Variables can change their values, but constants stay the same. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -55,3 +52,51 @@ It is used as part of the phrase indicating that the state being referred to is
|
||||
### --feedback--
|
||||
|
||||
It completes the phrase emphasizing that something does not vary or alter from its original state.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 22.24,
|
||||
"finishTimestamp": 27.02
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.78,
|
||||
"dialogue": {
|
||||
"text": "Great question, Tom. Variables can change their values, but constants stay the same.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 6.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633a45ce837ac9f95394eab
|
||||
title: Task 44
|
||||
title: Task 45
|
||||
challengeType: 19
|
||||
dashedName: task-44
|
||||
dashedName: task-45
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Great question, Tom. Variables can change their values, but constants stay the same.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Great question, Tom. Variables can change their values, but constants stay the same. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -18,7 +15,7 @@ Please answer the question below.
|
||||
|
||||
## --text--
|
||||
|
||||
What is the difference between variables and constants according to Sophia?
|
||||
What is the difference between variables and constants according to Sophie?
|
||||
|
||||
## --answers--
|
||||
|
||||
@@ -46,9 +43,56 @@ Variables are used less frequently than constants in programming.
|
||||
|
||||
### --feedback--
|
||||
|
||||
The frequency of use isn't discussed, and Sophia's statement focuses on usage rather than their functional difference.
|
||||
The frequency of use isn't discussed, and Sophie's statement focuses on usage rather than their functional difference.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 22.24,
|
||||
"finishTimestamp": 27.02
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.78,
|
||||
"dialogue": {
|
||||
"text": "Great question, Tom. Variables can change their values, but constants stay the same.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 6.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633a64567c725a05a94b68f
|
||||
title: Task 45
|
||||
title: Task 46
|
||||
challengeType: 22
|
||||
dashedName: task-45
|
||||
dashedName: task-46
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Think of variables as containers you can fill and empty, and constants as locked boxes that keep the same contents.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Think of variables as containers that you can fill and empty, and constants as locked boxes that keep the same contents. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -26,7 +23,7 @@ The phrase `keep the same contents` highlights that the data in constants does n
|
||||
|
||||
## --sentence--
|
||||
|
||||
`Think of variables as _ you can _ and _, and constants as _ boxes that keep the same _ .`
|
||||
`Think of variables as _ that you can _ and _, and constants as _ boxes that keep the same _ .`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -67,3 +64,51 @@ It emphasizes that constants are secure and cannot be changed once they are set,
|
||||
### --feedback--
|
||||
|
||||
It refers to the data held within constants, which remains the same throughout the program.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 27.02,
|
||||
"finishTimestamp": 33.62
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.6,
|
||||
"dialogue": {
|
||||
"text": "Think of variables as containers that you can fill and empty, and constants as locked boxes that keep the same contents.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 8.1
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633a97f928771a163b59745
|
||||
title: Task 46
|
||||
title: Task 47
|
||||
challengeType: 19
|
||||
dashedName: task-46
|
||||
dashedName: task-47
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Sophia: Think of variables as containers you can fill and empty, and constants as locked boxes that keep the same contents.
|
||||
-->
|
||||
<!-- (Audio) Sophie: Think of variables as containers you can fill and empty, and constants as locked boxes that keep the same contents. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -18,7 +15,7 @@ Please answer the question below.
|
||||
|
||||
## --text--
|
||||
|
||||
Which sentence accurately describes the difference between variables and constants as explained by Sophia?
|
||||
Which sentence accurately describes the difference between variables and constants as explained by Sophie?
|
||||
|
||||
## --answers--
|
||||
|
||||
@@ -26,7 +23,7 @@ Variables are flexible storage units, while constants are secure storage units t
|
||||
|
||||
### --feedback--
|
||||
|
||||
This option, while somewhat accurate, doesn't fully capture the metaphor of filling and emptying versus locked boxes that Sophia used.
|
||||
This option, while somewhat accurate, doesn't fully capture the metaphor of filling and emptying versus locked boxes that Sophie used.
|
||||
|
||||
---
|
||||
|
||||
@@ -34,7 +31,7 @@ Variables can store multiple types of data at once, whereas constants can only s
|
||||
|
||||
### --feedback--
|
||||
|
||||
This statement is misleading because it focuses on the types of data rather than how the data can be altered or remains fixed, which is the main point of Sophia’s explanation.
|
||||
This statement is misleading because it focuses on the types of data rather than how the data can be altered or remains fixed, which is the main point of Sophie's explanation.
|
||||
|
||||
---
|
||||
|
||||
@@ -51,3 +48,51 @@ This option is incorrect as it suggests constants are never used more than once,
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 0,
|
||||
"z": 1.4
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 27.02,
|
||||
"finishTimestamp": 33.62
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.6,
|
||||
"dialogue": {
|
||||
"text": "Think of variables as containers that you can fill and empty, and constants as locked boxes that keep the same contents.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Sophie",
|
||||
"opacity": 0,
|
||||
"startTime": 8.1
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 6633aa9cf90591a1f63a431e
|
||||
title: Task 47
|
||||
title: Task 48
|
||||
challengeType: 19
|
||||
dashedName: task-47
|
||||
dashedName: task-48
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 6633abfc050e82a29a76dd42
|
||||
title: Task 48
|
||||
title: Task 49
|
||||
challengeType: 19
|
||||
dashedName: task-48
|
||||
dashedName: task-49
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633ad387b6914a3313339b3
|
||||
title: Task 49
|
||||
title: Task 50
|
||||
challengeType: 22
|
||||
dashedName: task-49
|
||||
dashedName: task-50
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: I see. So, that means I can change the values in these variables, but I can't touch the values in these constants.
|
||||
-->
|
||||
<!-- (Audio) Tom: I see. So that means I can change the values in these variables, but I can't touch the values in these constants. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -16,11 +13,15 @@ Tom: I see. So, that means I can change the values in these variables, but I can
|
||||
|
||||
`These` is used to refer to specific items that are close to the speaker or are being actively discussed.
|
||||
|
||||
In this challenge, you'll review the difference between `can` and `can't` to express a person's ability or inability to do something.
|
||||
|
||||
Listen to what Tom says and fill in the blanks.
|
||||
|
||||
# --fillInTheBlank--
|
||||
|
||||
## --sentence--
|
||||
|
||||
`I see. _, that means I _ change the values in _ variables, but I _ _ the values in these constants.`
|
||||
`I see. _ that means I _ change the values in _ variables, but I _ _ the values in these constants.`
|
||||
|
||||
## --blanks--
|
||||
|
||||
@@ -61,3 +62,51 @@ It indicates an inability to perform an action. Here, it emphasizes that Tom is
|
||||
### --feedback--
|
||||
|
||||
In the context, it means to alter or affect. Tom is saying he is not allowed to change the constants.
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 34.04,
|
||||
"finishTimestamp": 40.82
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.78,
|
||||
"dialogue": {
|
||||
"text": "I see. So that means I can change the values in these variables, but I can't touch the values in these constants.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 8.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
---
|
||||
id: 6633ae85f1fb7aa3ca13234d
|
||||
title: Task 50
|
||||
title: Task 51
|
||||
challengeType: 19
|
||||
dashedName: task-50
|
||||
dashedName: task-51
|
||||
---
|
||||
|
||||
<!--
|
||||
AUDIO REFERENCE:
|
||||
Tom: I see. So, that means I can change the values in these variables, but I can't touch the values in these constants.
|
||||
-->
|
||||
<!-- (Audio) Tom: I see. So that means I can change the values in these variables, but I can't change the values in these constants. -->
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -51,3 +48,51 @@ This statement is misleading as it suggests that the use of constants is time-re
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-center.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-3.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 34.04,
|
||||
"finishTimestamp": 40.82
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 7.78,
|
||||
"dialogue": {
|
||||
"text": "I see. So that means I can change the values in these variables, but I can't touch the values in these constants.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 8.28
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
---
|
||||
id: 665632c4ace6cb00ab832023
|
||||
title: Task 21
|
||||
challengeType: 19
|
||||
dashedName: task-21
|
||||
---
|
||||
|
||||
<!-- (Audio) Tom: Sarah, I'm learning about functions in programming and I'm not sure how to use them. -->
|
||||
|
||||
# --description--
|
||||
|
||||
Listen to Tom as he asks Sarah about programming.
|
||||
|
||||
# --question--
|
||||
|
||||
## --text--
|
||||
|
||||
What seems to be the problem he's having?
|
||||
|
||||
## --answers--
|
||||
|
||||
He does not know what code he's going to write next
|
||||
|
||||
### --feedback--
|
||||
|
||||
He says he's learning about something, but he does not know how to use it.
|
||||
|
||||
---
|
||||
|
||||
He does not have a computer, so he can't write code
|
||||
|
||||
### --feedback--
|
||||
|
||||
Tom does not mention not having a computer. Try again.
|
||||
|
||||
---
|
||||
|
||||
His computer is not functioning correctly
|
||||
|
||||
### --feedback--
|
||||
|
||||
He asks about `functions`, but that does not mean this is a problem with the computer.
|
||||
|
||||
---
|
||||
|
||||
He does not understand how to use `functions`.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
4
|
||||
|
||||
# --scene--
|
||||
|
||||
```json
|
||||
{
|
||||
"setup": {
|
||||
"background": "company2-roof.png",
|
||||
"characters": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"position": {
|
||||
"x": 50,
|
||||
"y": 15,
|
||||
"z": 1.2
|
||||
},
|
||||
"opacity": 0
|
||||
}
|
||||
],
|
||||
"audio": {
|
||||
"filename": "5.2-2.mp3",
|
||||
"startTime": 1,
|
||||
"startTimestamp": 0,
|
||||
"finishTimestamp": 4.26
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 1,
|
||||
"startTime": 0
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"startTime": 1,
|
||||
"finishTime": 5.26,
|
||||
"dialogue": {
|
||||
"text": "Sarah, I'm learning about functions in programming and I'm not sure how to use them.",
|
||||
"align": "center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"character": "Tom",
|
||||
"opacity": 0,
|
||||
"startTime": 5.76
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user