This week you will begin to learn how to use the Python programming language to write simple programs, and you will also learn about permissions and controlling processes within Unix-like Systems. First, you will learn about permission-related commands within Unix-like systems, such as chmod, umask, su, sudo, chown, and chgrp. Second, you will learn how to control processes within Unix-like systems through commands including top, ps, jobs, bg, fg, kill, killall, and shutdown. Third, you will learn how to perform various function calls within Python, as well as create your own functions. Finally, you will learn how to create conditional statements, value-returning functions and iterating statements.
#####By the end of this lesson, you should be able to:######
- Know how to utilize various permissions-based commands, such as id, umask, sudo, etc.
- Understand how to use various process-based commands, such as ps, top, bg, kill, etc.
- Be able to define new functions in Python.
Activities and Assignments | Time Estimate | Deadline* | Points |
---|---|---|---|
Week 3 Introduction Video | 15 Minutes | Tuesday | N/A |
Week 3 Lesson 1: Unix File System & Processes | 2 Hours | Thursday | 20 |
Week 3 Lesson 2: Python: Functions | 3 Hours | Thursday | 20 |
Week 3 Lesson 3: Python: Conditional Statements & Iteration | 3 Hours | Thursday | 20 |
Week 3 Quiz | 45 Minutes | Friday | 70 |
Week 3 Assignment Submission | 3 Hours | The following Monday | 60% of the grade from the Instructor, 40% of the grade from Peer grading |
Week 3 Completion of Peer Review | 1 Hour | The following Saturday | 50 |
Please note that unless otherwise noted, the due time is 6pm Central time!
Photo Credit: Python Logo. Created 2001, Python.org, Accessed 31 July 2015.