Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 1 for Section B

205 bytes removed, 21:36, 8 October 2020
Assignment Requirements
= Assignment Requirements =
== The First Milestone Checkpoint (due June 19Oct 13) ==* Before you begin programmingcoding in Python, it is important to plan your algorithm. Therefore your first task will be to complete and submit an algorithm document. This document should be named '''algorithm_[student_id].txt'''. This file should be plaintext. The document will contain two sections: * A description of how the "after()" function your main program works. The "after()" function main program flow is provided to you in a1_template.py. Open the file, and use clear English to describe what each line of code does in such a way that a competent programmer Python coder could reproduce the code without seeing it firsthand. * You will then apply the same principles to create an algorithm for "before()", and "dbda()"each validation function named in the a1_template.py file. Inside the code, if you are calling another function like "leap_year()", you may simply describe what the function will return, and not the operation of the function itself. * This file will should be submitted to Blackboard a week after the assignment goes liveby Oct 13, 2020, and should be your first priority. The object objective of the milestone first checkpoint is not to have a 100% perfect algorithm, but to plan ahead and anticipate challenges and issues with the assignment. The milestone first checkpoint will also give allow your professor an opportunity for to give you feedbackbefore the assignment overall due date.
* [https://simple.m.wikipedia.org/wiki/Algorithm Here is an basic introduction to Algorithm]
* While you are working on the step-by-step instructions, note that there are different number of days in each month and some years have 365 days and some years have 366 days.
* You should also do some research Since we don't think we are going to find out when we started using the Calendar in the current formencounter someone who is 120 years or older, your algorithm can consider a date of birth before year 1900 as invalid. (This will pose a Could you think of other limit you should put on the validity someone's date of your algorithm.)birth?
== The Assignment 2nd Checkpoint - your drafted Python Script (due July 3Oct 16) ==* As stated before, your code will be inside the file "a1_[studentidSeneca_name].py". The first step will be to clone the Assignment 1 template repository(https://github. The invite link will be provided to you by your professorcom/rayfreeping/ops435-a1). Once you clone the repository, run this command: "cp a1_template.py a1_[studentidSeneca_name].py". (Replace studentid Seneca_name with your myseneca usernameSeneca account user name). Begin writing the content coding your algorithm into Python code that is required. Additional requirements are outlined below.* Your should update the author and date information in your Python script.* Your Python script file a1_[Seneca_name].py should be submitted to Blackboard by Oct 16, 2020. * The script doesn't have to be perfect and error free. However, it shouldn't contain any syntax errors when exectued.* This intern submission is just to show that you are activity working on your assignment.
== The Debrief 3rd Checkpoint - preliminary test results (due July 10Oct 20) ==This document, like Run the algorithm document, will be submitted to Blackboard one week after the assignment. Answer the following questions:* Research Python modules that you could have used to accomplish the same goals as the today() and leap_year() functions. * Which solution is preferable, in terms of performance? Which solution is preferable, in terms of programmer hours? (which solution would take longer for a programmer to implement?)* Which approach would be preferable in the "real world"? Why is it useful to try creating our own algorithm?* What challenges did you encounter during the assignment, and what resources did you use to solve your issues? (help from classmates, help from Stackoverflow, debuggers, etc.)* Additionally, your professor may have questions specific to your submission. You should answer these questions as well.preliminary test script
== Assignment Requirements ==
1,760
edits