
- #HOW TO NOT GET CAUGHT USING CHEGG REDDIT HOW TO#
- #HOW TO NOT GET CAUGHT USING CHEGG REDDIT SOFTWARE#
- #HOW TO NOT GET CAUGHT USING CHEGG REDDIT CODE#
#HOW TO NOT GET CAUGHT USING CHEGG REDDIT CODE#
#Lesson 2: Combination of changing variable names, structure of code and text within strings Usually the cheating cutoff is around 25% and below but upon clicking src/example1A.cpp(96%), your TA/Professor will see all the code marked red so you best believe they will catch you. Example 1A ( )Īfter MOSS runs, it returns a link that displays the results.įor the example above, it said that 42 lines were matching and 96% of the code is similar. This will not work in MOSS as minute changes are ignored.Ĭlick here to view source code. In this example, the structure of the code remains constant while only the variable names are changed. Using namespace std |using namespace std Ĭout << foo << endl | cout << bar << endl In this lesson I will demonstrate why this does not work.Ĭhanging int foo = 1 to int bar = 1 isn't going to work as MOSS analyzes code by structure.

The first thing most students think of when trying to avoid getting caught is changing every instance of a variable name. #Lesson 1: Changing Variable names does NOT work Here is the documentation- directly from Stanford. Putting I before E does NOT apply here people. This means that scrambling the order of your code will NOT affect the discovered matches. This means that trying to confuse the algorithm by declaring random code like int or char to create clutter won't work. But, if you were smart you would already know that white space doesn't matter in source code. This means whitespaces won't help deceive MOSS.
#HOW TO NOT GET CAUGHT USING CHEGG REDDIT SOFTWARE#
The system used by most universities is called the ”Measure Of Software Similarity” or MOSS for short and was developed by Stanford.
#HOW TO NOT GET CAUGHT USING CHEGG REDDIT HOW TO#
With this newly found information, I am now able to teach YOU how to cheat WITHOUT getting caught.įirst, we need to learn exactly HOW the system catches us.

Unfortunately I was caught, but thanks to my professor, I learned how the system detects cheaters. Recently I cheated in one of my core classes.
