Back to Freecodecamp

Task 12

curriculum/challenges/english/blocks/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md

latest1.9 KB
Original Source
<!-- (Audio) Brian: When dealing with functions, start by looking at the function's signature. It can provide information about the function's name, parameters, and return type. -->

--description--

Listen to the audio and answer the question.

--questions--

--text--

What does the function's signature tell people about the function?

--answers--

How long the function will take to execute

--feedback--

The signature doesn't tell people about the time it takes to run the function.


The color of the function's text in the code

--feedback--

The signature doesn't give information about the appearance of the function in the code.


The function's name, parameters, and return type


Who wrote the function

--feedback--

The signature shows the function's details, not the information about its author.

--video-solution--

3

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Brian",
        "position": {
          "x": 50,
          "y": 15,
          "z": 1.2
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "7.3-2.mp3",
      "startTime": 1,
      "startTimestamp": 6.02,
      "finishTimestamp": 13.68
    }
  },
  "commands": [
    {
      "character": "Brian",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Brian",
      "startTime": 1,
      "finishTime": 4.14,
      "dialogue": {
        "text": "When dealing with functions, start by looking at the function's signature.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "startTime": 4.44,
      "finishTime": 8.66,
      "dialogue": {
        "text": "It can provide information about the function's name, parameters, and return type.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "opacity": 0,
      "startTime": 9.16
    }
  ]
}