Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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:abdel@bridgeport.edu:2035764911
Lary:Hasan:0343434:lary@aol.com: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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91606102

Have any Question?


Related Questions in Computer Engineering

Inside the oncreate method fill in the code so that we set

Inside the onCreate method, fill in the code so that we set the layout and GUI defined in activity_main.xml? public void onCreate( Bundle savedInstanceState ){ super.onCreate(savedInstanceState); // Your code goes here }

Question 1 explain the various types of green architecture

Question: 1. Explain the various types of Green architecture within the enterprise, such as information architecture and solutions architecture. 2. Explain how a Green systems architecture evolves from a basic to a linea ...

In c languageread a double number as 2 digits after the

In C language: Read a double number as 2 digits after the decimal point. The number should have at least 6 digits BEFORE the decimal point. Extract all digits at even positions. Print them in reverse order. Extract all d ...

Question 500-700 wordsoperations management involves

Question: 500-700 words Operations management involves various activities, such as process design, selection, management of information technology, work systems, planning and development, and quality assurance (Slack, Ch ...

Explain how the company newmans own brand fulfills the

Explain how the company Newman's Own brand fulfills the definition of a business for profit and a non-profit business at the same time. Consider in the response the functions of business, entrepreneurship and production ...

Explain how financial leverage at investment banks differed

Explain how financial leverage at investment banks differed from financial leverage at more traditional commercial banks. What is the benefits of this leverage? What are the primary risks associated with financial levera ...

Youre trying to save to buy a new 190000 bmw 3 series

You're trying to save to buy a new $190,000 BMW 3 series sedan. You have $40,000 today that can be invested t your bank. The bank pays 4.8% annual interest on its accounts.  How long will it be before you have enough to ...

The chancellor of a university has commissioned a team to

The Chancellor of a university has commissioned a team to collect data on students' GPAs (M = 3.0; SD = 0.5) and the amount of time they spend bar hopping every week (measured in minutes: M = 720; SD = 240). They find a ...

Can you help to identify a firm with which an organization

Can you help to identify a firm with which an organization does business and can you help explain if the firm is: perfectly competitive; monopolistic competitive; oligopoly; or pure monopoly?

Suppose a bowl has 9 chips one chip is labeled 1 three

Suppose a bowl has 9 chips. One chip is labeled "1", three chips are labeled "3", and five chips are labeled "5". Suppose two chips are selected at random with replacement. Let the random variable X equal the absolute di ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As