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

Is grep documentation wrong?

Wu formula for manifolds with boundary

First console to have temporary backward compatibility

How does the math work when buying airline miles?

How to find all the available tools in mac terminal?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Why do we bend a book to keep it straight?

Can a new player join a group only when a new campaign starts?

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

Extracting terms with certain heads in a function

Delete nth line from bottom

Crossing US/Canada Border for less than 24 hours

What would be the ideal power source for a cybernetic eye?

Is it fair for a professor to grade us on the possession of past papers?

Circuit to "zoom in" on mV fluctuations of a DC signal?

What's the meaning of "fortified infraction restraint"?

Do wooden building fires get hotter than 600°C?

Closed form of recurrent arithmetic series summation

What is the meaning of the simile “quick as silk”?

How could we fake a moon landing now?

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

An adverb for when you're not exaggerating

Dating a Former Employee

What does this Jacques Hadamard quote mean?



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 10 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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...