Mark Georgevich wrote:
I have to write pseudo code first for this program. I am not asking for someone to write this however I am asking for some hints, assistance in the style of the code and suggestions on methods and classes.
In the assignment, there are two options for the code/ program to be written.
Option 1 is to create an authentication system that does several things:
ask for username/ password (authentication)
converts the password to MDS has (not sure what this is)
checks the credentials against a list of valid credentials provided in a file
limits the number of failed login (3) attempts before forcing an exit
gives authenticated users access to the correct files
if admin allow access to admin files
if zookeeper allow access to zookeeper files
allows a user to log out
Option 2: create a monitoring system for the animals and habitat
prompt user to input if they wish to monitor animals, habitat, or exit
display a list of options based on the selection as read from provided files (animal or habitat text files)
prompt user to input their choice
display monitoring info by finding the appropriate section in the file
separate sections by the category selected
user a dialog box to notify zookeeper if the monitor detects an abnormality (depicted by "****" in the file)
allows the user to return to the original options
Extra animals and habitats may be added, but the one provided must be used
Junilu Lacar wrote:Mostly on the right track, I think. The trick is to write some code and see it work first. Start with the menu and at least get the flow right.