Skip to content

Commit

Permalink
Update learning outcomes for Introductory Courses-Python (#171)
Browse files Browse the repository at this point in the history
* Update 01_running_python.md learning outcomes

* Update 02_variables_and_types.md learning outcomes

* Update 03_writing_and_running_ide.md learning objectives

* Update 04_built_in_functions_and_help.md learning outcomes

* Update 05_libraries.md learning objectives

* Update 06_analyzing_and_visualizing_data.md learning objectives

* Update 07_pandas_dataframes.md learning objectives

* Update 08_lists.md learning objectives

* remove broken render-link from SWC glossary from 08_lists.md, embed definition in-text

* Update 09_for_loops.md learning objectives

* Update 12_errors_and_exceptions.md learning objectives

* Update 10_conditionals.md learning objectives

* Update 11_looping_over_data_sets.md learning outcomes

* Update 13_writing_functions.md learning objectives

* Update 14_variable_scope.md learning outcomes

* Update 15_snake_game.md learning objectives
  • Loading branch information
jjyh authored Jan 30, 2025
1 parent f00ad01 commit 1b47a13
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 3 deletions.
3 changes: 3 additions & 0 deletions introductory_courses/python/01_running_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Running Python
dependsOn: []
tags: [python]
learningOutcomes:
- Accessing Python.
- Interact with Python using the Read-Eval-Print-Loop.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
4 changes: 4 additions & 0 deletions introductory_courses/python/02_variables_and_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
name: Variables and Types
dependsOn: [introductory_courses.python.01_running_python]
tags: [python]
learningOutcomes:
- Creating and using variables.
- Understanding variable types.
- Basic operations on strings and numeric types.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/03_writing_and_running_ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Writing and running Python from an IDE
dependsOn: [introductory_courses.python.02_variables_and_types]
tags: [python]
learningOutcomes:
- Creating Python scripts
- Using Integrated Development Environment (IDE)
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/04_built_in_functions_and_help.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Built-in Functions and Help
dependsOn: [introductory_courses.python.03_writing_and_running_ide]
tags: [python]
learningOutcomes:
- Using built-in Functions and Methods.
- Understanding syntax and runtime error messages.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
2 changes: 2 additions & 0 deletions introductory_courses/python/05_libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Libraries
dependsOn: [introductory_courses.python.04_built_in_functions_and_help]
tags: [python]
learningOutcomes:
- Understanding and importing libraries.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Analyzing and Visualizing Data
dependsOn: [introductory_courses.python.05_libraries]
tags: [python]
learningOutcomes:
- Using the NumPy library to import and analyze data.
- Using the matplotlib library to visualize data and adjust plot format.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/07_pandas_dataframes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Pandas Dataframes
dependsOn: [introductory_courses.python.06_analyzing_and_visualizing_data]
tags: [python]
learningOutcomes:
- Reading and writing data.
- Using Pandas library to inspect, summarize, and subset tabular data.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
6 changes: 3 additions & 3 deletions introductory_courses/python/08_lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Lists
dependsOn: [introductory_courses.python.07_pandas_dataframes]
tags: [python]
learningOutcomes:
- Storing and accessing values in lists
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down Expand Up @@ -86,9 +88,7 @@ does not.

## Ch-Ch-Ch-Ch-Changes

Data which can be modified in place is called [mutable]({{ page.root }}/reference.html#mutable),
while data which cannot be modified is called
[immutable]({{ page.root }}/reference.html#immutable).
Data which can be modified in place is called mutable (can be altered after creation), while data which cannot be modified is called immutable (cannot be altered after creation).
Strings and numbers are immutable. This does not mean that variables with string or number values
are constants, but when we want to change the value of a string or number variable, we can only
replace the old value with a completely new value.
Expand Down
2 changes: 2 additions & 0 deletions introductory_courses/python/09_for_loops.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: For Loops
dependsOn: [introductory_courses.python.08_lists]
tags: [python]
learningOutcomes:
- Defining and using for-loops to iterate operations.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/10_conditionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Conditionals
dependsOn: [introductory_courses.python.09_for_loops]
tags: [python]
learningOutcomes:
- Using conditional 'if' statements to selectively execute code and in functions
- Using compound logic (e.g. and, or, parentheses) to define conditions
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/11_looping_over_data_sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Looping Over Data Sets
dependsOn: [introductory_courses.python.10_conditionals]
tags: [python]
learningOutcomes:
- Batch processing files with loops.
- Using glob and pathlib modules to work with files and paths.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/12_errors_and_exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Errors and Exceptions
dependsOn: [introductory_courses.python.11_looping_over_data_sets]
tags: [python]
learningOutcomes:
- Understanding Python error traceback form
- Common types of errors (syntax, indentation, name, index, file)
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
2 changes: 2 additions & 0 deletions introductory_courses/python/13_writing_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Writing Functions
dependsOn: [introductory_courses.python.12_errors_and_exceptions]
tags: [python]
learningOutcomes:
- Creating functions to encapsulate code and enable re-use.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/14_variable_scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Variable Scope
dependsOn: [introductory_courses.python.13_writing_functions]
tags: [python]
learningOutcomes:
- Understand the difference between local and global scopes.
- Be able to distinguish the use of local and glorbal variables.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down
3 changes: 3 additions & 0 deletions introductory_courses/python/15_snake_game.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: "Project: Snake Game"
dependsOn: [introductory_courses.python.14_variable_scope]
tags: [python]
learningOutcomes:
- Project-based practice of Python coding.
- Structuring code to build incremental project features.
attribution:
- citation: >
"Programming with Python" course by the Carpentries
Expand Down

0 comments on commit 1b47a13

Please sign in to comment.