1. Go to the digital book "Think Like a Computer Scientist" and work through the reading, video tutorials, sample questions. Training POINTS 30
2. Exercises
--> Complete Chapter 17 #4 --> 10 PTS
3. Teacher Challenges - Complete 2 of Three below. Value --> 50 PTS
First Challenge
Create a Python class Person with attributes: name and age of type string.
Create a display() method that displays the name and age of an object created via the Person class.
Create a child class Student which inherits from the Person class and which also has a section attribute.
Create a method displayStudent() that displays the name, age and section of an object created via the Student class.
Create a student object via an instantiation on the Student class and then test the displayStudent method.
Second Challenge
Create a Python class called BankAccount which represents a bank account, having as attributes: accountNumber (numeric type), name (name of the account owner as string type), balance.
Create a constructor with parameters: accountNumber, name, balance.
Create a Deposit() method which manages the deposit actions.
Create a Withdrawal() method which manages withdrawals actions.
Create an bankFees() method to apply the bank fees with a percentage of 5% of the balance account.
Create a display() method to display account details.
Give the complete code for the BankAccount class.
Third Challenge - inspired by Lord of the Rings...
Create the Python class Person with fundamental attributes: name, age, height, weight, etc
Create a display() method that displays the name and age of an object created via the Person class.
Create child classes Elf, Half-Elf, Orc, Human which inherit from the Person class and further refine the character class.
Create a method displayHumanoid() that displays the attributes of an object created via the Student class.
Create a student object via an instantiation on the Student class and then test the displayHumanoid method.
If you want to be very "nerdy", you can generate random numbers and create a character attribute values: str, int, wis, etc., like D&D. You will need to add more attributes to do so...
I will grade by logging into the Instructor Copy of the book, viewing and running your file.