Create the following classes based on the given declaration. Also, each class should have the default constructor. Just place the prototype of the constructors in the class but you dont have to implement them. The default constructor is a public member.   A) CSUSM is an object of class University. Class University has the follow private attributes: -UnivName: string -UnivDepts: a vector of Department class -UnivStudents: a vector of student class -UnivAddress: string -UnivAge: int    B) Each department has the following private attributes: -deptName: string -deptFaculty: vector of Faculty class -deptYearCreated: int   C) Each student has the following private attributes: -studName: string  -studYearOfStudy: int -studNumber: long  -studCoursesTaken: vector of Course class    D) Each faculty has the following private attributes: -FacName: string -FacYearofExperience:int -FacId: long -FacCoursesTeaches: vector of Course Class    E) Each course has the following private attributes: -courseTitle: string -courseNumber: float -courseNumOfCredits: int

Question

Create the following classes based on the given declaration. Also, each class should have the default constructor. Just place the prototype of the constructors in the class but you dont have to implement them. The default constructor is a public member.

 

A) CSUSM is an object of class University. Class University has the follow private attributes:

-UnivName: string

-UnivDepts: a vector of Department class

-UnivStudents: a vector of student class

-UnivAddress: string

-UnivAge: int 

 

B) Each department has the following private attributes:

-deptName: string

-deptFaculty: vector of Faculty class

-deptYearCreated: int

 

C) Each student has the following private attributes:

-studName: string 

-studYearOfStudy: int

-studNumber: long 

-studCoursesTaken: vector of Course class 

 

D) Each faculty has the following private attributes:

-FacName: string

-FacYearofExperience:int

-FacId: long

-FacCoursesTeaches: vector of Course Class 

 

E) Each course has the following private attributes:

-courseTitle: string

-courseNumber: float

-courseNumOfCredits: int

Expert Answer

1 Rating

Want to see the step-by-step answer?

See Answer

Check out a sample Q&A here.

Want to see this answer and more?

Step-by-step answers are written by subject experts who are available 24/7. Questions are typically answered in as fast as 30 minutes.*

See Answer
*Response times vary by subject and question complexity. Median response time is 34 minutes and may be longer for new subjects.
Tagged in
EngineeringComputer Science

Programing Language

Related Computer Science Q&A

Find answers to questions asked by student like you
Show more Q&A

Q: Develop (separate) truth tables for the following equations: 1)  (A+B)(B+C) 2) (X*Y)*~(Z)3) (A+B) ⊕ ...

A: Truth table is used to simplify the Boolean expression in digital electronics. Number of gates used ...

Q: PLEASE EXPLAIN ALL STEPS (including how k-map formation is formed): simplify the boolean equations: ...

A: Some of the simple rules follows to simplify Boolean expression:

Q: Please describe the structure of the relational database, and an example to further describe the rel...

A: DefinitionRelational Database refers to the database that stores and provides retrieval of data whic...

Q: The effects of lack of computer equipment in academic performance

A: To solve this problem .first of all you need to understand the relationship of computer devices in a...

Q: in python Create a new Python program (you choose the filename) that contains a main function and an...

A: Create a main function in the program.Create an empty list, the name of the list is randomNumber.Use...

Q: PLEASE EXPLAIN ALL STEPS: simplify the boolean equations: xz + (xy + ~z) ~xyz + yz + x~y

A: 1)xz + (xy + ~z)For simplifying the Boolean expression, use Karnaugh Map and follow the below steps-...

Q: Explain how to convert the letters A, B and C to decimal.

A: Decimal Number SystemDecimal number system is a base- 10 number system. It has 10 symbols, the symbo...

Q: Decrypt the following shift cipher. (Show work) NFRNSIZVZJXSJZSNAJWXNYD'XKNXMJWMFQQ What is the pl...

A: Ceasar cipher:The Ceasar cipher is one of the simplest and oldest known ciphers.In this cipher, each...

Q: What is Android pie?

A: Android is basically an operating system developed by Google for smartphones just like Windows is an...