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

  Defend role of it department strategic and operational

Defend the role of the IT department as both a strategic and operational asset for the company.

  Discuss the consumer choice of airlines

Discuss the consumer choice of airlines. Are Malaysian Airlines ticketsnormal (or luxury), or inferior goods

  Discuss the choice of programming language

CSS 422 . Discuss the choice of programming language and its relation to architecture, and the design decision in one of these six categories: If you were the software architect of an online election system for your county, how would you define the t..

  Create a crud matrix to indicate the permissions

Create a CRUD matrix to indicate the permissions (read, insert, delete, modify) you would grant to different users of your database.

  Provide an alternative name that satisfy the compiler

provide an alternative name that would both satisfy the compiler and be recommended based on the features of good program design

  Develop a tool that helps companies in assessing

Develop a tool that helps companies in assessing the suitability of different operating systems for their businesses. This tool is a table with multiple rows and columns. Table 1 is a simple and incomplete example of this table. Your table should hav..

  C++ programming

create a text-based, menu-driven program that allows the user to choose whether to add, subtract, multiply or divide two numbers. The program should then input two double values from the use, perform the appropriate calculation, and display the re..

  Better job of allowing computers to network

You wrote a piece of software that does a better job of allowing computers to network than any other program designed for this purpose.

  Biggest advantages of mathematical model

What would be the biggest advantages of a mathematical model that supports major investment decisions? Discuss in scholarly detail.

  Design a hashed file of words

Design a hashed file of words that could be used as a spell checker. What would you use as a hash function? Would your choice of a hash function depend on the language from which the words are chosen? Why should such a file not be stored as a sequent..

  Internal network address to incorporate variable length

·Change the internal network address to incorporate variable-length subnet mask (VLSM) with EIGRP routing protocol. ·Set up all of the accountants on a separate VLAN. ·Create a VPN connection to allow accountants to access the accounting database f..

  Draw an e- r data model

Draw an E- R data model for the Garden Glory database schema shown in Chapter 3' s " Garden Glory Project Questions." Use the IE Crow's Foot E- R model for your E- R diagrams. Justify the decisions you make regarding minimum and maximum ­cardinali..

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