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

How do pianists reach extremely loud dynamics?

Using audio cues to encourage good posture

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

How can I use the Python library networkx from Mathematica?

Crossing US/Canada Border for less than 24 hours

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

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

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

How does the math work when buying airline miles?

Is grep documentation wrong?

How do I stop a creek from eroding my steep embankment?

What does this Jacques Hadamard quote mean?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

Can anything be seen from the center of the Boötes void? How dark would it be?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

Delete nth line from bottom

Generate an RGB colour grid

How to compare two different files line by line in unix?

Amount of permutations on an NxNxN Rubik's Cube

Closed form of recurrent arithmetic series summation

Why aren't air breathing engines used as small first stages

Wu formula for manifolds with boundary



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



randomnumber{seed}


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



    randomnumber{seed}


    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



      randomnumber{seed}


      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



      randomnumber{seed}


      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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación