User Tools

Site Tools


haas:fall2011:data:projects:prerequisites

Course Prerequisites

In UNIX/Linux Fundamentals, we spent some quality time with Regular Expressions to massage semester course lists to our liking. Now, we will look at doing some additional processing with this data of this nature.

You've likely encountered the presence of prerequisites when signing up for classes- the need to have successfully taken (or be taking) certain courses before you can register for certain other courses.

Your task with this project is to implement a program that will:

  • read course data from a text file (Course-Section:Title:CRN format for each line)
  • read course prerequisite data from a text file (Course:Pre-req for each line – note you can have multiple lines for a course)
  • store this data in a linked dynamic structure
  • receive from the user course(s) taken
  • receive from the user course(s) desired to take
  • report whether or not the user can take given course(s) based on prerequisites
  • your program must be able to successfully store information to your data structure and load from it to perform necessary program processing

Other attributes can be achieved in this project- make a case for the ones you'd like to receive.

haas/fall2011/data/projects/prerequisites.txt · Last modified: 2011/08/21 16:45 by 127.0.0.1