Back to Freecodecamp

Task 18

curriculum/challenges/english/blocks/learn-how-to-offer-technical-support-and-guidance/6620d6cd9452910c27da19f1.md

latest2.3 KB
Original Source
<!-- (Audio) Sarah: Now, let's talk about error handling. If you encounter potential issues, it's a good idea to use conditional statements to handle them gracefully. -->

--description--

In this conversation, Sarah is explaining important concepts in programming. Encounter means to come across something, potential issues are problems that might happen, conditional statements are codes that run only if certain conditions are met, and gracefully refers to managing problems smoothly.

--questions--

--text--

What is Sarah suggesting to Tom about handling errors in programming?

--answers--

To use conditional statements to manage potential issues smoothly


To ignore any potential issues that are encountered

--feedback--

Ignoring potential issues is not a good practice. Sarah suggests managing them smoothly.


To stop the program whenever an error is encountered

--feedback--

Stopping the program is not handling errors gracefully. Sarah talks about managing them smoothly.


To only focus on errors that happen frequently

--feedback--

Focusing only on frequent errors doesn't cover all potential issues. Sarah is talking about handling any potential issues gracefully.

--video-solution--

1

--scene--

json
{
  "setup": {
    "background": "interview-room3.png",
    "characters": [
      {
        "character": "Sarah",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "9.1-1.mp3",
      "startTime": 1,
      "startTimestamp": 27.42,
      "finishTimestamp": 34.98
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 4.88,
      "dialogue": {
        "text": "Now, let's talk about error handling. If you encounter potential issues,",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "startTime": 5.22,
      "finishTime": 8.56,
      "dialogue": {
        "text": "it's a good idea to use conditional statements to handle them gracefully.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 9.06
    }
  ]
}