Question

You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS shoul...

You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS should have the following functionalities:

- There are three kinds of users: professor, student and admin. When ASMS starts, a login screen asks user which kinds of users and then asks user id and password. If id or password are incorrect, issue a warning and redisplay the login screen.

- When an admin logins on to the system, he/she can add/remove a new professor and/or a new student information to/from the system. Professor’s information entered should contain: password, first name, last name, employee id, his/her timetable should be set to empty, a list of their advisees should be empty and incoming requests should be empty as well; Student information should include: password, first name, last name, student id. Admin must assign an adviser to the new student. The appointment time and outstanding request should be empty;

- When a professor logins on to the system, he/she can 1) edit his/her schedule (Monday to Friday from 8-5) by adding a task, editing an existing task or removing an existing task to certain day/time; The tasks on the schedule can be “teaching/appointment/available”. The unit time for each task is 1 hour; 2) view his/her weekly or daily schedule (show day/time/task); 3) view a list of his/her advisee appointment for certain day (show student names and appointment time ordered by time); 4) see a list of his/her advisee (show name and id); 5) view incoming advisee requests (show the names of students who send the requests ordered by the order the requests are received) and approve them one by one.

- A student can 1) see the weekly schedule of their advisor; 2) sign up for an appointment (by selecting day and time); 3) remove an appointment (by providing day and time); 4) request to switch his/her advisor by looking at a list of available professors and select one from the list and submit the request.

- Users should have the option to exit the system.

1. Professor information should include: login id, password, first name, last name, employee id, his/her timetable and a list of their advisees’ student id and incoming requests;

2. Student information should include: login id, password, first name, last name, student id, adviser’s employee id, their appointment (day and time) and outstanding request;

3. Information about professors and students is stored in an external file called “ASMS.db”, which is simply a text file. When ASMS starts for the first time, all information in ASMS.db is read into the internal data structures. During the execution of ASMS, any changes of information is to be made to the internal data structures as well. Before you exit ASMS, all the changes saved in the internal data structures should be written into ASMS.db.

4. Here are some assumptions and restrictions:

a. You only need to show the schedule of one week.

b. Student id and employee id should be eight digits only.

c. Login id should be the first letter of the first and last name followed by the last three digits of the id.

d. A student can only send a request to a professor one at a time; but there is no limit for the number of requests to be sent.

e. Changing advisor can only become official after a professor approves it; after that the request should be removed from the professor’s incoming request list and student’s outstanding request.

f. Student can only sign up appointment on the available slot. Otherwise, issue warning.

g. Student can only remove an existing appointment. Otherwise, issue warning. Before final removal, ask user to confirm.

The file looks as follows

2 # total number of professors
Sophie Wang password1 88888888          # professor information: firstname, lastname, password, employee id
1 T T O A O O O A O O 12345678 23456789 # 1 for monday, T for teaching, A for appointment and O for available followed by list of student ids for appointments 
2 T T T O T T O O O O                   # 2 for tuesday
3 O O T T T T A T T T 11111111          # 3 for wednesday
4 T T T T T T T T T O                   # 4 for thursday
5 A T T T T O O O O O 22222222          # 5 for friday
2 8989898989 6565656565                 # number of incoming requests followed by list of requester's student id
Steve Lauterburg password2 88888880
1 T T O A O O O T O O 92345678  
2 T T T O T T O O O O
3 O O T T T T A T T T 91111111
4 T T T T T T T T T O
5 A O O O O O O O O O 92222222
0
9 # total number of students
Owen Dennis password3 12345678 88888888 1 4 N   # student information: firstname, lastname, password, student id, advisor id, appointment day, appoitment time, incoming request (Y for yes and N for no)
Calvin Geisbert password4 23456789 88888888 1 8 N 
Ethan Gray password4 11111111 88888888 3 7 N
Daniel Hersey password5 22222222 88888888 5 1 N
Osmaan Ishfaq password6 92345678 88888880 1 4 N
Noah Kelly password7 91111111 88888880 3 7
Blaine Mason password8 92222222 88888880 5 1
Nicholas Orsini password9 8989898989 88888880 0 0 Y 
Austin Parsons password10 6565656565 88888880 0 0 Y

I just need to know how to get started with using the files to login to the screen

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given that you have to read the data from ASMS.db of both teachers and students, create a structure that can store the data of one professor and another structure data of one student. Now take a vector which can store the structures. We are using vector because we do not know exactly how many professors or students are there in the data file, so for vector we can dynamically add the structures. So the structures should look something like:

struct student{

string firstname, lastname, password, studentid, advisorid;

int apptime, appday;

}

vector<student> student_array;

Now after creating the structures of both students ans professors read the data into the stuctures and push them onto vectors. You have all the data now. Apply the modifications on the data as given by the user and after modifications push the same data of both sudent and professor onto the file.

Add a comment
Know the answer?
Add Answer to:
You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS shoul...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please answer this questions as required I couldn't delete the old pic so the new one is butter and...

    Please answer this questions as required I couldn't delete the old pic so the new one is butter and for the same question. RealGree uses the paper form as below to record the weekly (just one week in this 5. A lawn and tree care company ion) informati application to keep track of the information of the part-time employees. Please (a) develop the E-R diagram (8 points). ion about is part-time employees (one form for one employee). The company asks...

  • The case study is about the analysis of the students’ understanding in analyzing a given scenario...

    The case study is about the analysis of the students’ understanding in analyzing a given scenario and practical skills to apply concepts and build diagrams studied in IT242 (Software Engineering). The case study consists of five parts. Students are required to answer all these parts based on the below scenario. The SEU has adopted a blending approach to electronic learning, requiring learners to attend class lectures (25%), while 75% of course time is assigned to virtual classes, learning forums and...

  • ER Modeling: Assignment In order to receive credit for this assignment, you must draw your ER...

    ER Modeling: Assignment In order to receive credit for this assignment, you must draw your ER model using a compute program and then turn in on the blackboard. Your ER model should include all of the necessary entity sets, relationships and keys, as well a weak entities and superclass/subclass relationships, if needed. A company decides to implement a software to monitor its employees' web surfing, and stores history of each employee's surfing in a database, as well as all of...

  • You have been approached by a University for the design and implementation of a relational databa...

    You have been approached by a University for the design and implementation of a relational database system that will provide information on the courses it offers, the academic departments that run the courses, the academic staff and the enrolled students. The system will be used mainly by the students and the academic staff. The requirement collection and analysis phase of the database design process provided the following data requirements for the University Database system. Using the following requirements answer this...

  • If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top o...

    If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must include both the SQL statement and the results for each item below based on the data entered in...

  • It's due tonight. Thanks! Part 1 refer to pages 370 and 371 answer to the following...

    It's due tonight. Thanks! Part 1 refer to pages 370 and 371 answer to the following (10 pts) Outline (list)managed care requirements for patient referrals. Medicaid patients before the fifth of each month. This allows ample time for the beneficiary to receive the medical coupon. If the patient presents for an appointment without a medical coupon, and proof of eligibility cannot be determined elsewhere, it is common practice to have that patient reschedule the appointment. The exception is an emergency...

  • in Python Project 5: Payroll (Part 1) CS 1410 Background In this project you will implement...

    in Python Project 5: Payroll (Part 1) CS 1410 Background In this project you will implement a simple payroll system. For the first part of the assignment, you will submit a UML class diagram. The hypothetical company we are considering has 3 classifications of employees: 1. Hourly 2. Salaried 3. Commissioned There are 24 pay periods per year; 1/24th of a salary is paid each pay period to employees who receive a salary. We won't worry about taxes and other...

  • i have the case study question with the answers but i need help to re-write the...

    i have the case study question with the answers but i need help to re-write the answers. please see the attached files Case Study Analysis (CSF3003) Assessment Description and Requirements CLO1: Case Study 1 Ahmad lef home to study master and PhD in Australia. He has fees for the first semester only. After he arrived to Sydney and settled down, he start looking for a part-time job to save money for the next term. Ahmad has some experience on making...

  • Dear Sir/Madam, could you answer all the question below. I appreciate if u can answer all....

    Dear Sir/Madam, could you answer all the question below. I appreciate if u can answer all. Thank You :) A (Bad?) Day in the Life of a Project Manager Frank Mills is a Site Agent for McMurray Concrete Ltd which specialises in building concrete structures on industrial sites. His present site is a large chemical plant, Agrochem Ltd that manufactures farm fertilisers. The project he is currently working on is part of a large contract being managed by Design Solutions...

  • Medical Report Assignment #1 The assignment: you are a general medical doctor, and you must prepare a History & Phys...

    Medical Report Assignment #1 The assignment: you are a general medical doctor, and you must prepare a History & Physical and write some prescriptions based on the information below. The information is not in the correct order for the report, so you will need to put it in the correct order. You can use the History & Physical on page 42 in the textbook as a general guide, as well as the lectures, but your History & Physical must follow...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT