Add a randomly generated number to a latex document to discourage cheating on an exam Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Shuffle numbers in a loopExam document classMetaPost: Randomly generated number, distinct from previously generated numberCustomising question number position in exam document classAdd timestamp to generated documentproblem with exam documentHow to append answer sheet to exam? (Exam document class)Making exams with multiple-choice questions in scrambled versionsRandomly sampling a text file in a TeX document (specifically `exam`)Problem with exam document class

Is there a kind of relay only consumes power when switching?

What does the "x" in "x86" represent?

An adverb for when you're not exaggerating

Where are Serre’s lectures at Collège de France to be found?

Generate an RGB colour grid

また usage in a dictionary

Using audio cues to encourage good posture

When the Haste spell ends on a creature, do attackers have advantage against that creature?

Maximum summed powersets with non-adjacent items

Why wasn't DOSKEY integrated with COMMAND.COM?

If a VARCHAR(MAX) column is included in an index, is the entire value always stored in the index page(s)?

What do you call the main part of a joke?

Is CEO the profession with the most psychopaths?

How to tell that you are a giant?

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Using et al. for a last / senior author rather than for a first author

How do I find out the mythology and history of my Fortress?

Fundamental Solution of the Pell Equation

Is the Standard Deduction better than Itemized when both are the same amount?

Do wooden building fires get hotter than 600°C?

Most bit efficient text communication method?

Why are both D and D# fitting into my E minor key?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

How can I use the Python library networkx from Mathematica?



Add a randomly generated number to a latex document to discourage cheating on an exam



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Shuffle numbers in a loopExam document classMetaPost: Randomly generated number, distinct from previously generated numberCustomising question number position in exam document classAdd timestamp to generated documentproblem with exam documentHow to append answer sheet to exam? (Exam document class)Making exams with multiple-choice questions in scrambled versionsRandomly sampling a text file in a TeX document (specifically `exam`)Problem with exam document class










1















I am trying to cut down on a particular kind of cheating during my in-class exams. What some students are doing is taking pictures of the exam (while I am looking somewhere else), and uploading them to Chegg. Then, looking back later at the solutions posted by "tutors". I've cut down on this in a variety of ways, but it still occurs.



I use LaTeX to generate the exams. I would like to embed a unique number into every LaTeX document so that if someone takes a picture of it, I will be able to associate that number with a particular person (by looking at their exam when the turn it in).



The way I envision this is a simple tag in the LaTeX code, like



randomnumberseed


which I can compile with



latex doc.tex -option=seed


I would then write a script to do this for like 100 exams, just a loop



for i=0,n
latex doc-i.tex option=seed+i


(or something).



Anyone have a method for doing this? Or a better way to achieve what I want?










share|improve this question


























    1















    I am trying to cut down on a particular kind of cheating during my in-class exams. What some students are doing is taking pictures of the exam (while I am looking somewhere else), and uploading them to Chegg. Then, looking back later at the solutions posted by "tutors". I've cut down on this in a variety of ways, but it still occurs.



    I use LaTeX to generate the exams. I would like to embed a unique number into every LaTeX document so that if someone takes a picture of it, I will be able to associate that number with a particular person (by looking at their exam when the turn it in).



    The way I envision this is a simple tag in the LaTeX code, like



    randomnumberseed


    which I can compile with



    latex doc.tex -option=seed


    I would then write a script to do this for like 100 exams, just a loop



    for i=0,n
    latex doc-i.tex option=seed+i


    (or something).



    Anyone have a method for doing this? Or a better way to achieve what I want?










    share|improve this question
























      1












      1








      1








      I am trying to cut down on a particular kind of cheating during my in-class exams. What some students are doing is taking pictures of the exam (while I am looking somewhere else), and uploading them to Chegg. Then, looking back later at the solutions posted by "tutors". I've cut down on this in a variety of ways, but it still occurs.



      I use LaTeX to generate the exams. I would like to embed a unique number into every LaTeX document so that if someone takes a picture of it, I will be able to associate that number with a particular person (by looking at their exam when the turn it in).



      The way I envision this is a simple tag in the LaTeX code, like



      randomnumberseed


      which I can compile with



      latex doc.tex -option=seed


      I would then write a script to do this for like 100 exams, just a loop



      for i=0,n
      latex doc-i.tex option=seed+i


      (or something).



      Anyone have a method for doing this? Or a better way to achieve what I want?










      share|improve this question














      I am trying to cut down on a particular kind of cheating during my in-class exams. What some students are doing is taking pictures of the exam (while I am looking somewhere else), and uploading them to Chegg. Then, looking back later at the solutions posted by "tutors". I've cut down on this in a variety of ways, but it still occurs.



      I use LaTeX to generate the exams. I would like to embed a unique number into every LaTeX document so that if someone takes a picture of it, I will be able to associate that number with a particular person (by looking at their exam when the turn it in).



      The way I envision this is a simple tag in the LaTeX code, like



      randomnumberseed


      which I can compile with



      latex doc.tex -option=seed


      I would then write a script to do this for like 100 exams, just a loop



      for i=0,n
      latex doc-i.tex option=seed+i


      (or something).



      Anyone have a method for doing this? Or a better way to achieve what I want?







      compiling exam random-numbers






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      levitopherlevitopher

      1256




      1256




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485394%2fadd-a-randomly-generated-number-to-a-latex-document-to-discourage-cheating-on-an%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485394%2fadd-a-randomly-generated-number-to-a-latex-document-to-discourage-cheating-on-an%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Do these spellcasting foci from Xanathar's Guide to Everything have to be held in a hand?How do foci and somatic+material components interact when it comes to occupying a hand?Can you cast spells with a Somatic component if you're holding a two-handed weapon?Crafting an Improvised Spellcasting Focus?Can a multiclass Cleric/Warlock hold a Holy Shield and an Arcane Staff and still cast spells?Where should I report printing errors in Xanathar's Guide to Everything?Where can I purchase a legal Xanathar's Guide to Everything PDF?Can I use a hand holding a focus from one class to cover somatic components for a spell from another class?Do you need a “gameplay-wise” free hand to handle material components?Portent, as it relates to the Gambling downtime rules from Xanathar's Guide to EverythingWhat is the correct interpretation of the Gambling Results table in Xanathar's Guide to Everything?

          Can I stretch or expand an entire standalone document to fit the page? The Next CEO of Stack Overflow

          Why do some congregations only make noise at certain occasions of Haman?Purim and Shushan PurimParashat TzavSource to make noise when Haman's name is mentioned?Does anyone say not to make noise for Haman?Why is Megillat Esther the only one to receive a bracha after reading it?Why did Haman change his mind and decide to immediately hang Mordechai?Chazal empty barrels make the most noiseWhy is Megillat Esther the only Megillah that is still read from parchment?Why is v'acharei added in some siddurim?is there some significance in their relationship between Haman and Daniel?Why is only Purim to be celebrated “forever”?Why didn't Haman just kill Mordechai?