A web-based service for the automatic detection of roles of variables

  • Authors:
  • Petri Gerdt;Jorma Sajaniemi

  • Affiliations:
  • University of Joensuu, Joensuu, Finland;University of Joensuu, Joensuu, Finland

  • Venue:
  • Proceedings of the 11th annual SIGCSE conference on Innovation and technology in computer science education
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Learning elementary programming can be enhanced by introducing the notion of variable roles to students. This paper presents a web-based automatic role detection service that can be utilized in teaching when consolidating role knowledge. The service is based on data flow analysis techniques and uses machine learning to create flow characteristics for roles. The current version recognizes roles with 93% accuracy which is comparable to that of human role assigners.