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 a class for a type called fraction

Define a class for a type called Fraction. This class is used to represent a ratio of two integers. Embed your class in a test program.

  Find pair of sequences of same data that could not possibly

Find a pair of sequences of the same data that could not possibly correspond to the preorder and inorder traversals of the same binary tree.

  Write a gui-based program that manages an auction

Write a GUI-based program that manages an auction of several items.

  Suggest three techniques to overcome the given challenges

One of your developers tells you that it would be way too complicated to add voice recognition into the app. Suggest three techniques to overcome the challenges of implementing natural language into interface designs.

  What is the relative market share for the top cell phone

What is the relative market share for the top three cell phone service providers in the united states?

  What does it predict processor speed to be in 2 years

will you help me to understand the following question? Based on Moore's Law, what does it predict the processor speed to be in 2 years? Has it accurately predicted the processor speeds in the past.

  Which wireless technology can transmit through solid objects

Which wireless technologies can transmit through solid objects? Which wireless technologies cannot?

  Privacy data policy in your companys data classification

The customer privacy data policy in your company's data classification standard requires encryption in two places

  List at least ten types of environmental impacts

In DFE help to improve the quality of a product, in terms of its functionality, reliability, and reparability?

  Write a program that find solutions to the n-queens puzzle

Write a program to find solutions to the n-queens puzzle for various valuesof n. To be specific, test your program for = 4 and = 8.

  Preparing and delivering technical communications

Critical Thinking Preparing and Delivering Technical Communications for Influential End Users

  List what might be done to provide fault tolerance

Equipment and system failure: Search for information on system and equipment failure on your favorite search engine.

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