Module 10 Objective Mapping

Thomas J. Kennedy

Contents:

1 Module Objectives

You will notice quite a few mappings of Module 11 objectives (row) to Course Objectives (column). This module is near the end of the course. Many of the topics, concepts, and mechnics discussed up to this point…

  1. show up due to how we (as programmers) write code
  2. are built upon by the lessons within this module
  3. are expanded upon and applied within this module
# Module Objective 1 2 3 4 5 6.A 6.B 7.A 7.B 8 9 10 11 12 13 14 15
1 Summarize the difference between inheritance and subtyping.
2 Implement the Python deep copy (i.e., __deepcopy__) alongside an inheritance hierarchy.
3 Discuss Protocols vs. ABCs.
4 Discuss Liskov substitution (S.O.L.I.D.).
5 Explain how to implement __iter__.
6 Describe the use of an inner class in the context of abstraction and encapsulation.
7 Apply the principles defined by S.O.L.I.D.

2 Lectures & Objectives

The following table shows lectures (rows) vs Module Level Objectives (columns).

Lecture 1 2 3 4 5 6 7
Module 10 Objective Mapping
Building a Linked List - Part 1
Building a Linked List - Part 2
Building a Linked List - Part 3
Protocol vs Abstract Base Class
Module 10 Summary

3 Course Level Objectives

The course objectives are listed in section 2.4 of the syllabus and reproduced in this document for reference.

A student who successfully completes this course will be able to (in Python):

  1. Run a program consisting of a single file and containing a main function.
  2. Run a program consisting of multiple modules and containing a main function.
  3. Organize code into multiple modules.
  4. Write tests for a module.
  5. Apply the basics of test-driven development through PyTest and/or unittest.
  6. Make use of the various loops (for and while)
    1. Compare the various loops (for and while)
    2. Choose the most appropriate loop (for or while) for a given problem
  7. Make use of the conditional blocks (i.e., if, if-else, and if-else-if-else).
    1. Compare the various conditional blocks (i.e., if, if-else, and if-else-if-else)
    2. Construct the appropriate conditional block (i.e., if, if-else, and if-else-if-else) for a given problem.
  8. Test and write functions.
  9. Design ADTs in accordance with the Class Checklist.
  10. Discuss when polymorphism is appropriate.
  11. Discuss when it is appropriate to utilize dataclasses, classes, and enums.
  12. Write code that utilizes dunder functions.
  13. Refactor code to follow best practices (e.g., PEP 8 and PEP 20).
  14. Apply code linting tools (e.g., pylint and black) to write idiomatic (Pythonic) code.
  15. Discuss the various NumPy np.array mechanics (e.g., broadcasting).