Introducing practical applications into a computational theory class

  • Authors:
  • William H. Hawkins;Christopher A. Healy

  • Affiliations:
  • Furman University, Greenville, SC;Furman University, Greenville, SC

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

One of the most important and difficult classes in the computer science major is the course on computational theory. The authors describe an approach to incorporate some hands-on laboratory activities, while sacrificing as little classic content as possible. The authors decided to focus on creating labs in which students could see a practical application to using regular expressions (using Lex) and context-free grammars (using Yacc). Along the way, the students gain insight on how finite automata work, and how a compiler parses source code and checks for syntax errors. The only significant problem we came across was that some students were unfamiliar with the C language or the UNIX operating system, but the students in general found the labs worthwhile. Next year, the authors plan on continuing with these laboratory experiences for the class, and plan to introduce one or two more exercises.