Exam Seating Chart Generator Suhail Ghafoor
Solution: Problem: Generate a Enter names or number of seating students and if there are chart for an enough seats then assign exam everyone a seat. *actual program footage
• Easy to set up As a user: • No external dependencies. • No variables to change. What is the criteria for a • Easy to use good • Help or readme file. program? • Options to use it in multiple ways. • User friendly UI • Results are meaningful. • Does not require too many steps.
As a • Easy to modify programmer: • Well commented • Global variables in same place. What is the criteria for • Easy to extend good code? • Modular design. • Can connect with other applications.
Before • Helpful when assigning small number of seats but pain when Problem: there are a lot of students. • Default prolog function: Program designed to length([1,2,3,4,5,6], X). After X = 6 take in list of length( X , 4). variables X = [Var, Var, Var, Var] needs to take in a single number.
Recommend
More recommend