CS 1401 Assignment #6
Date Assigned: Monday, February 25, or Tuesday, February 26, 2008.
Due Date: Monday, March 3, or Tuesday, March 4, 2008, before the beginning of your lab section.
Objective: The main objective of this assignment is to learn to use GUI.
Programming assignment: Design and implement a GUI program that assists with advising CS students. Ask for the student's name and the course numbers for classes the student wishes to take in the categories of Computer Science, Math, and Science. Check for prerequisite classes for CS courses only, and display a message informing the student of required prerequisites. Your program also should compute and display the total number of hours the student is planning to take in the three categories. See the back of this page for an example of how such a GUI might appear.
Use the following prerequisites for computer science classes:
CS 1401 (Introduction to Computer Science) prerequisite: MATH 1508 with a grade of “C” or better
CS 2401 (Elementary Data Structures and Algorithms) prerequisite: CS 1401 with a grade of “C” or better.
CS 2402 (Data Structures) prerequisites: CS 2401 and MATH 2300 each with a grade of “C” or better.
Other CS course prerequisite: Assume it is CS 2402.
Extra Credit: Check to make sure that any math course entered by the student is more advanced than the prerequisite math for the CS course entered. If this is not the case, inform the student of the error in addition to providing information about any other prerequisite course.
Homework assignment: on a separate sheet of paper, solve Ex. 8, 16, and 18 at the end of Chapter 6.
Deliverables: as instructed by your TA.
Example of a possible GUI for this assignment: