python - python_features - Part I

KSATs: K0021, K0022, K0023, K0024, K0514, K0690

Measurement: Written, Performance

Lecture Time:

Demo/Performance Time:

Instructional Methods: Informal Lecture & Demonstration/Performance

Multiple Instructor Requirements: 1:8 for Labs

Classification: UNCLASSIFIED

Lesson Objectives:

  • LO 1 Describe how to use Python from the command line (Proficiency Level: A)

  • LO 2 Explain the purpose and usage of elements and components of the Python programming language (Proficiency Level: B)

  • LO 3 Identify code written for Python 2 or Python 3 (Proficiency Level: B)

  • LO 4 Describe execution of Python from the command line (Proficiency Level: B)

  • LO 5 Use Python Documentation (PyDocs) (Proficiency Level: B)

  • LO 6 Apply Python standards (Proficiency Level: B)

    • MSB 6.1 Interpret Python Enhancement Protocol 8 (PEP8) standards (Proficiency Level: B)
    • MSB 6.2 Employ documentation of Python code (Proficiency Level: B)
    • MSB 6.3 Describe the Python Library (Proficiency Level: B)

Performance Objectives (Proficiency Level: 3c)

  • Conditions: Given access to (references, tools, etc.):

    • Access to specified remote virtual environment
    • Student Guide and Lab Guide
    • Student Notes
  • Performance/Behavior Tasks:

    • Launch Python from the command line
  • Standard(s)

    • Criteria: Demonstration: Correctable to 100% in class
    • Evaluation: Students will have 4 hours to complete the timed evaluation consisting of both cognitive and performance components.
    • Minimum passing score is 80%

References

  1. https://docs.python.org/2.7/
  2. https://docs.python.org/2.7/library/index.html
  3. https://docs.python.org/3.7/library/index.html
  4. https://docs.python.org/3/
  5. https://realpython.com/run-python-scripts/
  6. https://wiki.python.org/moin/Python2orPython3?action=recall&rev=96
  7. https://www.guru99.com/python-2-vs-python-3.html
  8. https://www.python.org/dev/peps/pep-0008/
  9. https://www.pythonforbeginners.com/basics/python-docstrings/