• halvar@lemy.lol
    link
    fedilink
    arrow-up
    1
    ·
    3 小时前

    It’s in the name, it’s a markup languge. Html sites are basically just over-formatted text.

  • selkiesidhe@lemm.ee
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    3 天前

    That question just gave me anxiety. That is exactly the type of question I would get. Technically it’s not but does the people who wrote that think that? Is it a trap question or a smart question? Omg I gotta not think about this anymore…

    • Camelbeard@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 天前

      Exactly, maybe the person who wrote it thinks its a programming language, maybe machine language is defined as a language that can be interpreted by a machine.

  • MyNamesTotallyRobert@lemmynsfw.com
    link
    fedilink
    arrow-up
    46
    arrow-down
    2
    ·
    edit-2
    3 天前

    I fucking hate these kinds of questions. D is the CORRECT answer because TECHNICALLY html is a markup language and not a programming language but the average person irl will just call you a dipshit for trying to explain that. If this were a question on a shitty academic exam, its going to be a 50/50 toss up on which will get counted as correct because the Autograder Bot Knows All™ but you better not fucking use AI to get your low effort AI-generated homework done quicker because fuck you.

  • Gronk@aussie.zone
    link
    fedilink
    English
    arrow-up
    108
    arrow-down
    1
    ·
    3 天前

    Man this question would sink me because of the misnomer that HTML is a programming language.

    • Ethalis@jlai.lu
      link
      fedilink
      arrow-up
      79
      arrow-down
      1
      ·
      3 天前

      It’s basically gambling on the nerdiness of the question’s writer. Do they think HTML is a programming language? Do they know that people think it’s a programming language and trying to trap them? Do they know it’s not a programming language but also know most people would think it is one and so are using the common, loose definition of a programming language in order not to trap people?

      My brain would melt

      • Honytawk@feddit.nl
        link
        fedilink
        arrow-up
        19
        ·
        3 天前

        Mine wouldn’t.

        It is a quiz, they know what they are talking about if they put the question in. And if they don’t, you get to call out the quiz master for being wrong.

        • jaybone@lemmy.zip
          link
          fedilink
          English
          arrow-up
          30
          ·
          3 天前

          But I’d rather have the million dollars than the satisfaction of calling out the show for being wrong.

          • Fushuan [he/him]@lemm.ee
            link
            fedilink
            arrow-up
            8
            ·
            3 天前

            I would challenge the question right there and demand an expert counsel to explain why HyperTextMarkupLanguage is classified as a programming language when it’s not even Turing complete. It’s a markup language. Security would have to drag me, I’d die on the specificity hill.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 天前

        If the question writer was aware, they would have formulated the question differently. It’s just not clear-cut whether HTML is a programming language or not, so you wouldn’t be quizzing their knowledge, but rather just whether they hold the same opinion as you. Or whether they meta-gamed correctly. Neither of which make for a fun show…

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      62
      arrow-down
      1
      ·
      3 天前

      I would loudly go on the record for my reasoning that Hypertext Markup Language is not Turing Complete, and therefore fails to be a programming language by the only academic and theoretical definition that matters.

      They already are going to award me “lawyer up” money, so I’ll come after them for damages later if B is the "right’ answer.

        • nef@slrpnk.net
          link
          fedilink
          English
          arrow-up
          22
          ·
          3 天前

          It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.

            • filcuk@lemmy.zip
              link
              fedilink
              arrow-up
              14
              ·
              3 天前

              Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.

            • Fushuan [he/him]@lemm.ee
              link
              fedilink
              arrow-up
              5
              ·
              3 天前

              I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.

              Is R a compiled programming language because several of its built in functions run compiled C code? No.

              • Ziglin (it/they)@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 天前

                The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      3 天前

      Don’t worry. They interview you before these shows. If you’re at all tech savvy then they would never ask you this question. They want you to be stumped by the question for legitimate reasons, not to loudly protest that you’ve been cheated by a bad question.

    • Simulation6@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      arrow-down
      17
      ·
      3 天前

      How is Hyper Text Markup Language not a programming language? Now JavaScript and CSS are arcane rituals, but html is well behaved.

      • AndyMFK@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        24
        arrow-down
        1
        ·
        3 天前

        How is it a programming language? It’s a markup language. There’s no logic, variables or any way to manipulate data.

        • thesystemisdown@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 天前

          It’s right there in the name, but then there’s CFML, which is unpopular, but it definitely features logic, variables, and data manipulation.

          • invertedspear@lemm.ee
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            3 天前

            CFML walks the line, but it exists to make HTML in a programmatic way, and be very approachable to non-programmers. It’s not really a markup language, it’s a programming language disguised as markup.

  • Guidy@lemmy.world
    link
    fedilink
    arrow-up
    81
    arrow-down
    1
    ·
    3 天前

    It’s right there in the name: it’s a markup language. Hyper Text Markup Language. HTML.

  • absGeekNZ@lemmy.nz
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 天前

    Well what the fuck is a machine language?

    Is is data transmitted between parties (machines) to convey information? HTML fits this definition.

    Do they mean machine code? Because some call machine code “machine language”.

    Either way the answer is D.

  • dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    42
    arrow-down
    1
    ·
    3 天前

    What really has my brain in a knot is: Does option “D: None of these” include or exclude option D?

    This statement is false.

  • Rooty@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    3 天前

    WYSIWYG has been around so long that people forget markup languages and batch text processing have been around for a long time. LaTeX and Groff seem to be the sole survivors.

  • palmtrees2309@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 天前

    Not expected Amitabh Bacchan and Indian who wants to be a Millonaire or Kaun bane ga Crorepati. Lemmy has got me suprised. Also HTML is markup not a programming language.

  • lugal@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    6
    ·
    3 天前

    Is Machine Language even a well defined thing? I would think of assembly but I don’t know where to draw the line