- Formulate a working solution to a business problem that incorporates
<recursion>, <user-defined functions>, <iteration>, <conditionals>. - Construct a flowchart that demonstrates the logic of an algorithm.
- Recognize, Identify, Select, Analyze, Differentiate, Distinguish, Diagram, Examine, Outline, Subdivide, Understand, Demonstrate, Illustrate, Represent, Interpret, Evaluate, Apply, Assess, Chart, Construct, Develop, Implement, Prepare, Provide, Compute, Contribute, Determine, Establish, Include, Produce, Show, Combine, Design, Make, Plan, Compose, Create, Devise, Formulate,
-
Develop your algorithm before writing any code. Create a flowchart to illustrate your logic.
- diagrams.net is a free and easy tool you can use to create flowcharts.
- I created an instructional video outlining how to create and submit flowcharts.
-
Design a program that
<...> -
Format the
<user prompt> <output> <file>as shown in the example below:<format example> -
Test your program by running it several times with different inputs. Verify your algorithm is correct by checking the program output.
-
Add the docstring below to the top of your program.
''' Assignment: Lesson X Programming Assignment Author: Jane Doe Due Date: MM/DD/YYYY CS-XXXX; Professor XXX Description: <Description of program goes here> '''
-
Complete and submit your program as outlined in this instructional video
-
Add your flowchart to the flowchart directory as outlined in this instructional video
You can earn up to 20 points for this assignment. Be sure to check your submission against this rubric to maximize your score.
| Criteria | Points |
|---|---|
| Docstring: - is at the top of the program, - is formatted exactly as the example, and - contents have been edited by student. |
1 |
| Submission: All files were submitted properly via GitHub |
1 |
| Identifiers: - use snake case, and - are descriptive of the data it represents. PEP8 Naming Conventions |
1 |
| Formatting: - follows the example in the directions. |
1 |
| Comments: - implemented in program - clearly describe code purpose - follow PEP8 guidelines PEP8 Comments |
1 |
| Flowchart: - is clear and readable, - follows the logic of the program, - uses the correct shapes, and - is saved in jpg format Creating and Submitting Flowcharts |
3 |
| Test Case 1: --> Input: XXX<-- Output: XXX |
6 |
| Test Case 2: --> Input: XXX<-- Output: XXX |
6 |