Advanced Programming
Making custom classes

Unit 2, Day 5

Mr. Jones | Computer Programming, Advanced

Warmup

Come on in - sit anywhere you like

New Class example today!

Download from my Github:

https://github.com/MrJonesAPS/

(Click AdvancedProgramming/Unit2_Classes/school_people.py)

Upcoming Schedule - 1st Period

  • Today: Finish this unit
    • How do we compare objects to each other?
  • Friday:
    • Test Review
    • Finish Project
      • Due Monday morning
  • Tuesday:
    • Test
    • FRQs will be about your project
  • When should we take quarter exam?
    • Thursday (Nov 2) - two tests back to back
    • Monday (Nov 6) - last school day before end of Q1. If you’re out, no chance to retake

Upcoming Schedule - 7th Period

  • Today:
    • Test Review
    • More project work
      • Due Monday morning
  • Friday:
    • Test
  • Tuesday (Halloween):
    • ???
  • Thursday (Nov 2):
    • Quarter Exam

First: Project

Review project requirements on Canvas

A note about plagiarism

You must write your own code!!! 

You are welcome to use code that you didn’t write (eg code from StackOverflow or ChatGPT), as long as you follow these steps:

  • Add a comment with the URL where you found the code
  • Make it very clear which lines of code you copied vs which lines are your own
  • Know that I will only grade the lines that are your own

If you include code that you did not write and that does not follow these steps: - I will not accept the submission - I will write a referral for plagiarism

Today

Private Variables

Follow code example in class. Will be posted to GitHub later

How to re-use a class in another Python script

Follow code example in class. Will be posted to GitHub later

How do we compare variables

Follow code example in class. Will be posted to GitHub later

Recap Unit 2, Day 5

This is a recap slide

(To be completed)

More recap

(Coming soon)