Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Have students create a Python program that implements an automated authorship detection algorithm, which gives them an opportunity to practice working with strings, lists, and loops.

Share Have students create a Python program that implements an automated authorship detection algorithm, which gives them an opportunity to practice working with strings, lists, and loops. with FacebookShare Have students create a Python program that implements an automated authorship detection algorithm, which gives them an opportunity to practice working with strings, lists, and loops. with Twitter
  • In automated authorship detection, a computer program analyzes a large collection of texts, one of which has an unknown author.
    • The program uses statistics, such as words per sentence, to analyze the similarity between two texts in order to determine the author of the unattributed text.
  • For the full assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Meaningful and Relevant Content
  • Python
  • Programming Concepts
  • CS 1
  • Intro Programming
External Source

Stanford Nifty Assignment by Michelle Craig.

Other Tips By
Other Tips By Michelle Craig

Similar tips

Challenge students to estimate the answer to a Fermi problem to model problem decomposition.
Use http://flukeout.github.io/ to introduce CSS selectors in an engaging and interactive way.
Tell your students that they should assume their code has bugs to help decrease their frustration when writing code.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy