This repository has been deprecated, but is being kept online to preserve course links.
For the latest content please see the repository at:
https://umd-ischool-inst326.github.io/inst326/
Overview
Learning Outcomes
After completing this module, students should be able to:
-
identify the differences between tuples and other sequence data types
-
create/return tuples
-
identify the differences between sets and other sequence data types
-
identify use cases for sets.
-
understand how to use set operations to build and create sets.
-
understand how to use lists as stacks and queues.
-
understand use cases for lists as stacks and queues.
-
use list comprehensions to synthesize lists from other sequence data types.
-
create dictionaries that count elements of a data file.
-
create dictionaries that index elements data file.
-
identify which data types make for valid dictionary keys and values.
Additional Readings
You may find it helpful to refer to the following resources:
-
Severance, Python for Everybody
-
Object Oriented Programming in Python
-
Python Documentation on List Comprehensions Sections 5.1.3 and 5.1.4