Back to Freecodecamp

Task 15

curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/66324d85e67a5c7a072a5b4d.md

latest1.9 KB
Original Source
<!-- (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--

Please answer the question below.

--questions--

--text--

What does Sarah mean by this data type when talking about working with text?

--answers--

She is referring to any data type that can handle text.

--feedback--

Sarah is specific about the data type, not general. She mentions string, which is specifically used for text.


She is referring to the data type string.


She is talking about a new data type she just invented.

--feedback--

Sarah is explaining well-known data types, not introducing new ones.


She means the data type used for numbers.

--feedback--

Sarah specifies string for text, not for numbers. For numbers, she mentions int.

--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
    }
  ]
}