The document discusses various techniques for detecting plagiarism in text and source code. It defines plagiarism and describes how to avoid it through prevention and detection. For text, it covers substring matching, keyword similarity, fingerprint matching, and text parsing techniques. For source code, it discusses lexical similarities, parse trees, program dependence graphs, and metrics. It also provides examples of tools used for each type of plagiarism detection like PlagAware, MOSS, and JPlag.