The Instructions are under the HW8 pdf document. Python programming Question
HOMEWORK 09: OBJECT ORIENTED PROGRAMMING 1
Author: Daniel Barrundia | Report Issues: [[email protected]]
1. Due Date: Wednesday, November 30
2. This homework is graded out of 100 points.
3. This is an Individual Assignment. You may collaborate with other students in this class.
Collaboration means talking through problems, assisting with debugging, explaining a
concept, etc. Students may only collaborate with fellow students currently taking CS 1301,
the TA's and the lecturer. You should not exchange code or write code for others. For
individual assignments, each student must turn in a unique program. Your submission must
not be substantially similar to another student's submission. Collaboration at a reasonable
level will not result in substantially similar code.
4. For Help:
o TA Helpdesk (Schedule posted on class website.)
o Email TA's or use Piazza Forums Notes:
o How to Think Like a Computer Scientists
o CS 1301 Python Debugging Guide
5. Don’t forget to include the required collaboration statement (outlined on the syllabus).
6. Do not wait until the last minute to do this assignment in case you run into problems.
7. Read the entire specifications document before starting this assignment.
Python is an object-oriented programming language. That means it provides features that
support object-oriented programming (OOP). Object-oriented programming has its roots in the
1960s, but it wasn’t until the mid 1980s that it became the main programming paradigm used in the
creation of new software.
In object-oriented programming the focus is on the creation of objects, which contain both data
and functionality together. Usually, each object definition corresponds to some object or concept in
the real world and the functions that operate on that object correspond to the ways real-world
objects interact. We’ve already seen classes like Turtle, Math, Random and many others. We are
now ready to create our own user-defined class.
The goal of this homework is for you to get practice and understand the basics of Object Oriented
Programming. Your mission, should you choose to accept it, involves the creation of three classes:
Student, Course, and Major. Each class will contain several methods for you to implement.
What you should do for each method is described below and in the docstrings of the file. Below
you will find more information to complete your assignment. Read it thoroughly before you begin.
The key to this homework is to see the bigger picture of how the 3 classes are interconnected i.e., a
Course has a Major or a Student can have many Courses. You have until – Wednesday, November
30 - to complete this mission.