• 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖B
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    4
    ·
    1 month ago

    Got failed for a programming test. Discovered during the practice tests that it was a vm that would run your code for a variety of test cases. Turns out it was a linux vm and said test cases and answer where in a big plain text file that was accessible by the program when being run. Wrote a universal solver that simply read the file checked which case was being checked and returned the correct answer. Got given zero for cheating.

    • qarbone@lemmy.world
      link
      fedilink
      English
      arrow-up
      43
      arrow-down
      1
      ·
      1 month ago

      I mean, yes. You were cheating.

      The fact that it was simple to cheat doesn’t make it not cheating.

      Thanks for the story tho

      • Graphy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 month ago

        Hah fr

        I had to write blueJ tests for a class that my wife randomly volunteered me for. So in an hour I threw together ten really easy hello world type tests that the kids world submit to web cat.

        The instructions all said don’t just print like 4 if it was asking you to add 2+2 then return and print the sum.

        All the kids got it right by printing and returning the correct answers but my wife’s coworker at the library had an aneurism when they realized they could just print the 4.

    • dch82@lemmy.zip
      link
      fedilink
      arrow-up
      14
      arrow-down
      3
      ·
      1 month ago

      Although it was cheating, IMO they should at least have given you credit for ingenuity.

      You have the mindset of a proper hacker (the old fashioned definition of course).

      As someone (I can’t remember who) said, the best way to get something done is to assign it to a lazy but genius person.