Back to Freecodecamp

Task 74

curriculum/challenges/english/blocks/learn-how-to-use-basic-programming-vocabulary-in-conversations/662f38df518e713b716c3e2f.md

latest2.4 KB
Original Source
<!-- (Audio) Sarah: It involves classes, which are like blueprints for objects, and, inside the classes, you find the classes' methods, which are actions those objects can perform. -->

--description--

Please answer the question below.

--questions--

--text--

Which statement best describes object-oriented programming as explained by Sarah?

--answers--

Object-oriented programming is about creating a sequence of commands that the computer follows one after another.

--feedback--

This statement describes procedural programming, not object-oriented programming which focuses on classes and objects.


Object-oriented programming primarily involves using standard templates for web development.

--feedback--

This option incorrectly describes object-oriented programming as it does not mention the creation and interaction of objects, which are central to OOP.


Object-oriented programming uses classes as blueprints to create objects, and methods within these classes define what actions the objects can perform.


Object-oriented programming is a simple method that involves copying existing codes into new programs.

--feedback--

This description is incorrect as object-oriented programming is not about copying code but designing systems through objects and classes.

--video-solution--

3

--scene--

json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Sarah",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "5.1-3.mp3",
      "startTime": 1,
      "startTimestamp": 21.98,
      "finishTimestamp": 30.8
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 5.76,
      "dialogue": {
        "text": "It involves classes, which are like blueprints for objects, and inside the classes,",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "startTime": 5.84,
      "finishTime": 9.82,
      "dialogue": {
        "text": "you find the classes' methods, which are actions those objects can perform.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 10.32
    }
  ]
}