skip to main content
article
Free Access

Sim: a utility for detecting similarity in computer programs

Authors Info & Claims
Published:01 March 1999Publication History
Skip Abstract Section

Abstract

We describe the design and implementation of a program called sim to measure similarity between two C computer programs. It is useful for detecting plagiarism among a large set of homework programs. This software is part of a project to construct tools to assist the teaching of computer science.

References

  1. 1 A. AIKEN, Measure of software similarity. URL http://www.cs.berkeley.edu/-aiken/moss.html.Google ScholarGoogle Scholar
  2. 2 B. S. BAKER, Parameterized pattern matching: Algorithms and applications, J. Comput. System Sci., 52 (1996), pp. 28- 42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 M. BLUM AND S. KANNAN, Designing programs that check their work, in Proceedings of the 21st Annual ACM Symposium on Theory of Computing, 1989, pp. 86-97. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 L. BABAI AND S. MORAN, Arthur-Merlin games: a randomized proof system and hierarchy of complexity classes, Journal of Computer and System Sciences, 36 (1988), pp. 254-276. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 S. GOLDWASSER, S. MICALI, AND C. RAGKOFF, The knowledge complexity of interactive proof systems, SIAM Journal on Computing, 18 (1989), pp. 186-208. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 X. HUANG, R. C. HARDISON, AND W. MILLER, A spacee~cient algorithm for local similarities, Computer Applications in the Biosciences, 6 (1990), pp. 373-381.Google ScholarGoogle Scholar
  7. 7 D. HIRSCHBERG, A linear space algorithm for computing maximal common subsequences, Communications of the ACM, 18 (1975), pp. 341-343. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 J. W. HUNT AND M. D. MCILLROY, An algorithm .for differential file comparison, Tech. Report 41, Bell Laboratories, June 1976.Google ScholarGoogle Scholar
  9. 9 J. W. HUNT AND T. G. SZYMANSKI, A fast algorithm for computing longest common subsequences, Communications of the ACM, 20 (1977), pp. 350-353. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 H. T. JANKOWITZ, Detecting plagiarism in student Pascal programs, Computer Journal, 31 (1988), pp. 1-8. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 L. MALMI, M. HENRICHSON, T. KARRAS, J. SAARHEL0, AND S. SAERKILAHTI, Detecting plagiarism in Pascal and C programs, tech. report, Helsinki University of Technology, 1992.Google ScholarGoogle Scholar
  12. 12 E. W. MYERS AND W. MILLER, Optimal alignments in linear space, Computer Applications in the Biosciences, 4 (1988), pp. 11-17.Google ScholarGoogle Scholar
  13. 13 S. B. NEEDLEMAN AND C. D. WUNSCH, A general method applicable to the search for similarities in the amino acid sequence of two proteins, Journal of Molecular Biology, 48 (1970), pp. 443-453.Google ScholarGoogle ScholarCross RefCross Ref
  14. 14 T. F. SMITH AND M. S. WATERMAN, Identification of common molecular subsequences, Journal of Molecular Biology, 147 (1981), pp. 195-197.Google ScholarGoogle ScholarCross RefCross Ref
  15. 15 L. G. VALIANT, A theory of the learnable, in Proceedings of the Sixteenth Annual ACM Symposium on Theory of Computing, Washington, D.C., 1984, pp. 436-445. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Sim: a utility for detecting similarity in computer programs

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM SIGCSE Bulletin
        ACM SIGCSE Bulletin  Volume 31, Issue 1
        March 1999
        370 pages
        ISSN:0097-8418
        DOI:10.1145/384266
        Issue’s Table of Contents
        • cover image ACM Conferences
          SIGCSE '99: The proceedings of the thirtieth SIGCSE technical symposium on Computer science education
          March 1999
          383 pages
          ISBN:1581130856
          DOI:10.1145/299649
          • Chairmen:
          • Jane Prey,
          • Bob Noonan

        Copyright © 1999 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 March 1999

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader