To detect plagiarized code, the most popular tool is the MOSS plagiarism tool. Using MOSS tool involves packaging up students’ solutions, submitted them for automated examination, and reviewing the results. The source code submitted is analyzed and transformed into a series of tokens. It eliminates all punctuation and whitespace from the source-code file and characters get converted to lower case.