Create a representation of an university information system

Assignment Help Computer Engineering
Reference no: EM132196159

Write a C++ program that will be an information system for Alabama University using classes as well as demonstrating a basic understanding of inheritance and polymorphism.

You will create a representation of an Alabama University information system that will contain information about the university. The university will contain a name of the university, n number of buildings, and m number of people. People can be either a student or an instructor.

Every person will have a name and an age. Every student will have also have a GPA, but an instructor will NOT have a GPA. Every instructor will have an instructor rating, but a student will NOT have an instructor rating. Every building will have a name, the size in sqft (2000 sqft), and an address (stored as a string, make one up).

People will contain a method called "do_work" that will take in a random integer as a parameter that represents how many hours they will do work for. If the person is a student, a message will be printed to the screen that says "PERSON_NAME did X hours of homework." If the person is an instructor, a message will be printed to the screen that says "Instructor PERSON_NAME graded papers for X hours." You will need to fill in the appropriate values.

The student GPA can either be an input from the user or randomized, but it must be between 0.0 and 4.0. It cannot be preset. The instructor rating can either be an input from the user or randomized, but it must be between 0.0 and 5.0. The ages of a person can be randomized or an input, but make it realistic. You can choose whether it is randomized or user input, or both.

The university will contain a method that will print the name and address of two of the buildings in its information system and another method that will print the name of all the people. The name of the university MUST be "Alabama University" .

You will manually instantiate at least 1 student, 1 instructor, and 2 buildings, then give them values and store them appropriately in the university object. You can do this in whatever fashion you wish.

You will have a menu that does at least the following:

1) Prints names of all the buildings

2) Prints names of everybody at the university

3) Choose a person to do work

4) Exit the program

Note that option 3 will require you to print another menu that gives options for each person.

You may create any other functions, methods, member variables, etc. to modularize your code and complete the lab.

You may use vectors for this assignment if you so choose.

Reference no: EM132196159

Questions Cloud

Perpetual inventory system versus a periodic inventory : How are discounts recorded in a perpetual inventory system versus a periodic inventory system?
Create an array of doubles and somehow put values into it : Display the array before sortingcall sort to sort the arraycall show to display the array after sortingFor this program.
Critical in the food and beverages industry : Which of external factors (Legal and regulatory, Global, Economic, Techno-logical, Innovation, Social, Environmental, Competitive Analysis)
Marketing planning worth the effort : Is marketing planning worth the effort, especially in the current rapidy changing external/macro environment?
Create a representation of an university information system : Create a representation of an Alabama University information system that will contain information about the university.
Define what was the result of your research : Take just a moment to think about something you have researched in the past, and describe what that experience was like. What did you research?
What does it mean to differentiate a service : What does it mean to differentiate a service? How can you use it to increase target market interest?
Write a function named squareall that has 2 args : Write a function named squareAll that has 2 args: the first arg is an array of doubles and the second arg is an unsigned that is the number of elements .
Summarize the sources that you have gathered to support : The purpose of the annotated bibliography is to summarize the sources that you have gathered to support your research proposal project.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define and explain the action research methodology

Define and explain the Action Research Methodology including its application to technology research.

  Discussion of what your team learned from the exercise

As a term, write a comprehensive summary of the articles. Present a discussion of what your team learned from this exercise.

  Make a memo which lists and in brief explains the main

as manager of networks and computing operations for fashion land a retailer of womens clothing and accessories you have

  Reduce to a minimum sum of products

Reduce to a minimum sum of products (A XOR BC) + BD + ACD - Reduce to a minimum product of sums

  Examine this aspect of ajax in relation

AJAX would help the trend of pushing software as a service on the Web! Discuss this aspect of AJAX in relation to the Service Oriented Architecture of Web services.

  What is the most effective advertising strategy

The advertising agency promoting a new product is hoping to get the best possible. Given these constraints, what is the most effective advertising strategy?

  Write a program asking the user to enter two names

Compare and if they are the same, display a message saying so. Otherwise display them in alphabetical order.

  Evaluate the size of the plate

A group of 25 power transistors, dissipating 1.5 W each, are to be cooled by attaching them to a black-anodized square aluminum plate and mounting the plate.

  At which layer would you implement that protocol

Suppose you wanted to implement a new routing protocol in the SDN control plane. At which layer would you implement that protocol? Explain.

  Design a system for the organization of the choice

Design a system for the organization of your choice. This could be for the current or former employer or some fictitious organization. The system you plan might be data storage, telecommunications, e-commerce, accounting information, manufacturing ..

  What is a task pane

What are the different kinds of Window controls? What is the purpose of each.

  Indicate what the advantage of the shaker sort might be

The shaker sort is an adaptation of the bubble sort that alternates the direction. Indicate what the advantage of the shaker sort might be.

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