George Mason University Extending the University Model A5 you will enhance the university model from A5 that consisted of the Department, Person, Student,

George Mason University Extending the University Model A5 you will enhance the university model from A5 that consisted of the Department, Person,
Student, and Faculty classes. The goal of the enhancements is to allow the creation of an individual course
section for a given semester and the assignment of a faculty instructor. Once established students can be
registered for the course. IT-209 – Assignment 8 (A8) – Extending the University Model
Assignment Given: 04/27/2020
Assignment Due: 05/11/2020, 11:59 pm
In this assignment you will enhance the university model from A5 that consisted of the Department, Person,
Student, and Faculty classes. The goal of the enhancements is to allow the creation of an individual course
section for a given semester and the assignment of a faculty instructor. Once established students can be
registered for the course.
To support this expanded model University, Catalog, and Course classes must be created. University will serve
as a container for Department, Catalog, and Student objects. A Catalog object represents a container for all
courses in a given semester – for example, Fall 2020 (“F2020”). Course objects will be created for each course
section, will be a container for Student objects, and will be placed in the Catalog container object.
A zipped folder that’s a Python package called “A8PackageBB” is provided that includes:



application – a .py file that’s to be run as a short application
DataSetUp – a .py file containing a single function that creates some data, loads it into instantiated class
objects, and returns one University object and one Catalog object to the calling code in ‘application’
classes – a .py module containing code for all required classes
To do the above work must be done in the ‘classes’ module. For the University, Catalog, and Course classes,
the class signature, __init__ method, and __str__ method are provided. You must provide code for the other
methods (“provide code”). Each has a docstring that describes how to code the method. They are mostly
accurate, but be prepared to make adjustments to fit whatever you discover.
You will need to inspect the provided code to understand what needs to be done. However, most code has been
provided.
After you complete the above, run the ‘application’ code in A8PackageBB to run the simple application to
create courses, add students, print students in a course, or print courses in a catalog. ‘application’ is provided,
so you can inspect the code and use it as is, or modify it if you need to do so. ‘application’ does all the module
imports and runs the ‘DataSetUp’ function to create objects for Department, Student, and Faculty. It also sets
up University and Catalog objects, for which there will only be one of each for this assignment. The main
purpose of ‘application’ is to create courses (Course objects) to be placed in the Catalog object and add students
(“register”), which will be done by placing Student objects in the Course object.
You may reuse the Department, Person, Student, and Faculty classes you created for previous assignments, but
you may have to make changes to them so they run with ‘application’. I suggest you use the copies I provide if
at all possible.
The application menu is below, showing the functions it supports:
Menu = “””
1. Create Course
2. Add Students to Course
3. Print Students in Course
4. Print Courses in Catalog
Q. Quit
“””
A brief description of the above functions:
1. Create a Course prompts the user for the course Department code (ENGR, ARTS, or CSci), number (e.g.
101), and title (e.g. “Introduction to Engineering”). A list of Faculty names for the selected Department is
displayed and the user selects one and types it in when prompted for the instructor. The Course object is created
and is added to the (only) Catalog object, “F2020”.
2. Add Students to Course. The user is prompted for the name of a course that was previously created (e.g.
“ENGR-101”) and is presented with a list of student names taken from the master list held by the (only)
University object “GMU”. The user selects the number corresponding to the student on the list and the code
adds that student’s object to the course. Subsequent students can be added by re-selecting ‘Add Students to
Course’.
3. Print Students in Course. The user is prompted for a course name, the names of all students registered for the
course are displayed.
4. Print Courses in Catalog. There is only one Catalog object, so no need to prompt. Just displays the courses
whose objects are in the catalog including the name, instructor name, and number of students registered.
In summary, to create and test this assignment:
1.
2.
3.
4.
5.
Unzip the provided folder/directory, which is set up as a Python package, and do all code work in it
Provide all method code to complete the University, Catalog, and Course classes
Run ‘application’ to test the menu functions
Make changes to the above classes as needed to ensure the application functions correctly
When done, zip up the folder/directory and submit it to Blackboard
What and where to submit:
1. Submit by uploading the zipped “A8PackageBB” to Blackboard
2. The package must include the application code, DataSetUp function, and classes provided plus the three
classes you are required to complete for this assignment (University, Catalog, and Course)
How the assignment will be assessed
The Python code will be visually inspected and executed via command line (“python .py”).
The GTA will unzip the package and run the application to test it and ensure it works correctly with the various
classes. The GTA will assess each of the following and assign a point value for each.
Item
Python code
DataSetUp
University
class
Catalog class
Assessment Description
A complete program is submitted, is named correctly, includes
the required attributes, and has identifying comments
DataSetUp successfully executes and loads into instantiated class
objects
University class method code is provided (completed) and
operates correctly with the Application
Catalog class method code is provided (completed) and operates
Max Value
10
5
20
15
Item
Course class
Application
Total
Assessment Description
correctly with the Application
Course class method code is provided (completed) and operates
correctly with the Application
The application code provided works well with the three
completed classes (University, Catalog, Course) – functions
work as intended
Max Value
20
10
80
Person
g_num
name
address
telephone
email
__init__
__str__
samePerson
Student
Faculty
rank
active
teach_load
specialty
funding
major
enrolled
credits
qpoints
status
__init__
__str__
gpa
isEnrolled
getStatus
__init__
__str__
Department
d_code
d_name
capacity
minGPA
num_students
univ_students
avgGPA
rosterS
rosterF
__init__
__str__
addStudent
addFaculty
updateGPA
isQualified
printRoster

Purchase answer to see full
attachment

Don't use plagiarized sources. Get Your Custom Essay on
George Mason University Extending the University Model A5 you will enhance the university model from A5 that consisted of the Department, Person, Student,
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Choose Us

Top quality papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional academic writers

We have hired a team of professional writers experienced in academic and business writing. Most of them are native speakers and PhD holders able to take care of any assignment you need help with.

Free revisions

If you feel that we missed something, send the order for a free revision. You will have 10 days to send the order for revision after you receive the final paper. You can either do it on your own after signing in to your personal account or by contacting our support.

On-time delivery

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & confidential

We use several checkers to make sure that all papers you receive are plagiarism-free. Our editors carefully go through all in-text citations. We also promise full confidentiality in all our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

You are welcome to choose your academic level and the type of your paper. Our academic experts will gladly help you with essays, case studies, research papers and other assignments.

Admissions

Admission help & business writing

You can be positive that we will be here 24/7 to help you get accepted to the Master’s program at the TOP-universities or help you get a well-paid position.

Reviews

Editing your paper

Our academic writers and editors will help you submit a well-structured and organized paper just on time. We will ensure that your final paper is of the highest quality and absolutely free of mistakes.

Reviews

Revising your paper

Our academic writers and editors will help you with unlimited number of revisions in case you need any customization of your academic papers