Back to Freecodecamp

Task 36

curriculum/challenges/english/blocks/learn-how-to-use-conditionals/677fa72c7c16cf135356bb5b.md

latest1.8 KB
Original Source
<!-- (audio) Mark: If the application has memory leaks, it can lead to crashes. -->

--instructions--

Listen to the audio and answer the question below.

--questions--

--text--

What can lead to crashes?

--answers--

Lack of system updates

--feedback--

Mark does not mention system updates as the cause of crashes.


Memory leaks


High CPU usage

--feedback--

Mark doesn't mention CPU usage as a cause of crashes.


Overloaded hard drive

--feedback--

Mark's focus is not on the hard drive.

--video-solution--

2

--explanation--

Mark says, If the application has memory leaks, it can lead to crashes.

The key term here is memory leaks. They occur when a program allocates memory for temporary tasks but fails to release it when the tasks are complete. For example:

  • If the application uses too much memory, it could crash. - This suggests that memory usage is the problem leading to crashes.

  • Memory leaks can cause performance issues and crashes. - This shows how memory leaks are a factor in causing crashes.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Mark",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_7-1.mp3",
      "startTime": 1,
      "startTimestamp": 43.9,
      "finishTimestamp": 47.12
    }
  },
  "commands": [
    {
      "character": "Mark",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Mark",
      "startTime": 1,
      "finishTime": 4.22,
      "dialogue": {
        "text": "If the application has memory leaks, it can lead to crashes.",
        "align": "center"
      }
    },
    {
      "character": "Mark",
      "opacity": 0,
      "startTime": 4.72
    }
  ]
}