Question: MODULE 1 LAB ACTIVITIES PART 2 : IMPLEMENTING CLASSES Objectives: Implement classes in Python. Gain practical understanding of interfaces and inheritance. Understand how to submit

MODULE 1 LAB ACTIVITIES
PART 2: IMPLEMENTING CLASSES
Objectives:
Implement classes in Python.
Gain practical understanding of interfaces and inheritance.
Understand how to submit assignments to CodePost.
Repl.it Mini-Project
1. Open the Module 1 Lab Activities Part 2 assignment on Repl.it. The workspace contains the
following files:
MobileCritter.py - contains the MobileCritter interface.
Insect.py - contains a fully-implemented superclass called Insect.
Ant.py - contains an incomplete subclass of Insect that must implement the MobileCritter
interface.
Spider.py - contains an incomplete subclass of Insect that must implement the
MobileCritter interface.
Board.py - contains a fully-implemented class called Board.
main.py - contains the complete implementation of a game that uses Ant and Spider
objects.
2. Implement the Ant and Spider classes so that they fulfill the operations described in the
documentation of the listed methods.
3. Test your implementation by running main.py. If your classes contain bugs, correct them.
4. Once you are satisfied with your implementation, download the Ant.py and Spider.py files
to your computer.
5. Read the directions for submitting on CodePost that are found under Canvas Modules
Housekeping Project Resources Submitting Your Work to CodePost. Then, submit the
following files to the appropriate CodePost folder:
Ant.py
Spider.py

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!