Back to Freecodecamp

Task 14

curriculum/challenges/english/blocks/learn-how-to-clarify-misunderstandings/67e550692370b81942a79d5a.md

latest2.3 KB
Original Source
<!-- (Audio) Sophie: Kind of. "Polymorphism" refers to a function or object that can behave differently depending on the context. -->

--instructions--

Listen to the audio and complete the sentence below.

--fillInTheBlank--

--sentence--

Kind of. "Polymorphism" refers to a function or object that can BLANK differently BLANK the BLANK.

--blanks--

behave

--feedback--

This verb means to act in a certain way or to perform an action.


depending on

--feedback--

This two-word phrase indicates that something changes or varies based on a specific factor or condition. The first word ends with -ing.


context

--feedback--

This refers to the situation or environment in which something exists or occurs, providing more information about how or why something behaves.

--explanation--

Behave means to act in a certain way or perform an action based on conditions. For example:

The method will behave differently when given different data types. - This means the method will act in different ways depending on the type of data it receives.

Depending on the context means that something changes based on the situation or conditions in which it occurs. For example:

The response time of an application can be different depending on the context of the user's request. - This means that how quickly the application responds could change based on factors like the type of request or the current system load.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_16-1.mp3",
      "startTime": 1,
      "startTimestamp": 17.1,
      "finishTimestamp": 23.1
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 7,
      "dialogue": {
        "text": "Kind of. Polymorphism refers to a function or object that can behave differently depending on the context.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 7.5
    }
  ]
}