Communication between the prof and students

Assignment Help Basic Computer Science
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

Reference no: EM13935218

Questions Cloud

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..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Indexing for different query types

This group assignment provides an opportunity to gain some practical experience with indexing. The "experiment of the week" assignments are intended to be more open, with your group picking the specific topics to investigate. Basically, this gives..

  Explain business scenario and specify types of constraints

Explain a business scenario and specify the types of constraints that would be appropriate to make sure the integrity of the database. For example, an airline reservation system should not make a reservation.

  Example of the effect of multithreading

Imagine you are a graphic artist working on an animation for a movie. Describe at least one (1) possible effect that multithreading could have on your work process. Support your response with at least (1) example of the effect of multithreading.

  What is the range of addresses in the classes

What is the range of addresses in the classes of internet addresses?

  Infrastructure document and a revised project plan

This assignment consists of two (2) sections: an infrastructure document and a revised project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name according to the section of the assign..

  Topic cloud computing security

Topic Cloud Computing Security. Research Paper Instructions 1. Summary of Research Paper Instructions

  What is the relationship between transistor densities

In two paragraphs explain what is the relationship between transistor densities and the improvement in computer speed and miniaturization?

  Find the error in the following pseudocode

Find the error in the following pseudocode

  The research process and findings

The Research Process and Findings

  Calculate overall return on investment of project

Calculate the overall return on investment of the project and then present a break even analysis. At what point does break-even occur?

  Determine companies which specialize in computer forensics

What needs clarified? it's plainly stated use google to find 3 companies which specialize in computer forensics of those 3 companies write 2 or 3 paragraphs comparing what each company does.

  Turing machine that decreases positive binary number by one

Write a Turing machine that decreases a positive binary number by one? By writing turing machine an instruction set in the form of (w,x,y,z,a) where w is current state,

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd