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

Use everyday examples (e.g. egg cartons, seats in a theater) to help students understand 2D arrays.
Use in-class clicker questions to identify students struggling at the beginning of the course so you can reach out to them.
Have students translate between Java Array and ArrayList to highlight the differences between the two.

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

Privacy Policy