Reference no: EM13935218
Write a shell(born) program called prof_mailer. This program has to be interactive. The function of this program is to make the communication between the prof and students very easy as follow,
1. each class has a class list this list has info about every student which include:
last name
first name
student ID
email address
phone no.
2. The file which has the list is a colon saparated file, i.e. Abuzneid:Abdelshakour:0444333:[email protected]:2035764911
Lary:Hasan:0343434:[email protected]:2033720912
3. Whenever an entry added to the list, the list has to be automatically sorted by the last name
4. Any prof usually teaches more than one course. Each class has to have a class list. The name of the mail list is the class name. Because a prof can teach the same class for two sections, the number of the section has to be included. i.e
cpe471_09 - Computer Communications I, section 9
cpe471_11 - Computer Communications I, section 11
cs435_09 - C and Unix, section 9
5. The prof can edit the file and add any student to the list by editing the file. The problem is the file will not sorted after that by the last
name. You have to write a program that allows the prof to create a class list for a course if it is not existent. If the class list for that course is there, another utility (could be the same utility with different key i.e -add ... ) is used to add the students to the class list. Prof can add a student in two ways
a. colon saparated line (as above)
b. the program tells the prof which field to enter one after another. I.e
ENTER THE LAST NAME:
Abuzneid
ENTER THE FIRST NAME:
Abdelshakour
ENTER SID:
6. The uniq key cam be the email address or/and SID. If the prof enter 2 entries with same key, the program will warn the prof and list him the other entry witch has the same key. The prof has the option to continue adding this entry or cancel
Example
THIS USER HAS THE SAME KEY AS Abdelshakour Abuzneid
ADD THIS STUDENT(Y/N)?
7. It is very hard to keep running the add program to add every user, specially at the beginning of the semester because the prof has to add 20 or more students at one time. Make an option in the program that more than one student can be added to the program in one execution. Example $add -1l -50
ENTER STUDENT 2:
ENTER STUDENT 50:
8. Some students give you email (or another entry) but they want you to email them to another address. Then you have to modify this entry for that (noisy) student. The prof has to have the modify program to modify this entry. Example
Riverview but pay the rate the guests would have been charge
: Riverview but pay the rate the guests would have been charged at the Pines ($160 per room) rather than paying the normal rate of $260 per room at the Riverview.
|
People contribution to project management
: The effectiveness of projects is partly concerned with how people fit in and contribute to the success of the project. This means there may be synergies in group decision making compared to individual decision making.
|
Explain why a is diagonalizable, find by hand a matrix p
: Using your technology, compute A5 and use it to ?nd u5 and y5.4. Explain why A is diagonalizable. Find (by hand) a matrix P and a diagonal matrix D for which A = PDP-1. Use your technology to calculate D10, and use it to ?nd A10, u10, and y10. Con?rm..
|
Discuss the elements of a contract
: Question 1: Discuss the elements of a contract? Question 2: Explain 4 consumer guarantees under the competition and consumer act 2010 or features of the Australian legal system.
|
Communication between the prof and students
: Write a shell(born) program called prof_mailer. This program has to be interactive. The function of this program is to make the communication between the prof and students very easy as follow,
|
Why proper hydration important for multicellular organisms
: As a person becomes very dehydrated, the concentration of water in her blood decreases. In which direction will water move across the plasma membranes of her blood cells? What will happen to the volume of the cells as a consequence? Why is proper ..
|
Highest economic need for higher ethical standards
: Topic: "At this moment, America's highest economic need is higher ethical standards -- standards enforced by strict laws and upheld by responsible business leaders" (George W. Bush, former President of the USA in his Corporate Responsibility ..
|
What processes ensure that vesicles released only at synapse
: Give two mechanisms that allow the nerve cell to recover from the effects of the action potentials and neurotransmitter release.Say how the mechanisms cause the cell to recover
|
Prepare the adjusting entries for the month of may
: Prepare the adjusting entries for the month of May. Use J4 as the page number for your journal. Post the adjusting entries to the ledger accounts. Enter the totals from the trial balance as beginning account balances and place a check mark in the p..
|