INT 2240 labs 3……………….
May 28th, 2022
- Lab THREE – 01Problem Statement:
- 4.3.1.6 LAB: A leap year: writing your own functions
- ================================================================================================Submit your Python solution through Blackboard (as explained below).
Your lab will be graded on whether it’s been set up as a complete and workable solution.For your solution to be complete, your program must be able to
- Set up code to do the following:
- prompt the user for the input data asked for (as explained above within the Input Data section)
- Set up the processing section, using a loop
- Display output
- compile (ie, no syntax error(s))
- run (ie, no run-time error(s))
- For your solution to be workable,
- Your solution should be free of any type of errors (syntax, run-time, logic)
- you may want to develop an algorithm first, using pseudocode
- you do NOT need to turn in any algorithm
- ==========================================================================================================================Grading rubric:
- You’ll receive full credit, if
- your program
- compiles and runs with no problems
- produces the expected output
- your program
- You’ll receive partial credit, if
- your program
- compiles and runs with no problems
- produces partial output (that is, incomplete output)
- your program
- You’ll receive full credit, if
- You’ll receive 25% of the points, if your program will not compile
- You’ll receive 30% of the points, if your program compiles but has a run-time problem
- You’ll receive 40% of the points, if your program produces logic error(s) 2021.==========================================================================================================================What to submit:
- Your Python solution as a text file
- A screenshot of a run of your program, showing the output
- How to submit:
- Save your Python program (Lab THREE – 01) as a text file to your computer
- Save a screenshot of a run of your program, showing the output
- Click on the above link: Lab THREE – 01
- Locate your Python program (Lab THREE – 01 file) on your computer
- Locate your screenshot of the run of your program
- upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
- Click on SUBMIT
- NOTE: You can make your submission just ONCE. So, before making your submission, ensure that it does not need any additional editing/revisions.=====================================================================================================
- Lab THREE – 02Problem Statement:
- 4.3.1.7 LAB: How many days: writing and using your own functions
- ================================================================================================Submit your Python solution through Blackboard (as explained below).
Your lab will be graded on whether it’s been set up as a complete and workable solution.For your solution to be complete, your program must be able to
- Set up code to do the following:
- prompt the user for the input data asked for (as explained above within the Input Data section)
- Set up the processing section, using a loop
- Display output
- compile (ie, no syntax error(s))
- run (ie, no run-time error(s))
- For your solution to be workable,
- Your solution should be free of any type of errors (syntax, run-time, logic)
- you may want to develop an algorithm first, using pseudocode
- you do NOT need to turn in any algorithm
- ==========================================================================================================================Grading rubric:
- You’ll receive full credit, if
- your program
- compiles and runs with no problems
- produces the expected output
- your program
- You’ll receive partial credit, if
- your program
- compiles and runs with no problems
- produces partial output (that is, incomplete output)
- your program
- You’ll receive full credit, if
- You’ll receive 25% of the points, if your program will not compile
- You’ll receive 30% of the points, if your program compiles but has a run-time problem
- You’ll receive 40% of the points, if your program produces logic error(s)
- 2021.==========================================================================================================================What to submit:
- Your Python solution as a text file
- A screenshot of a run of your program, showing the output
- How to submit:
- Save your Python program (Lab THREE – 02) as a text file to your computer
- Save a screenshot of a run of your program, showing the output
- Click on the above link: Lab THREE – 02
- Locate your Python program (Lab THREE – 02 file) on your computer
- Locate your screenshot of the run of your program
- upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
- Click on SUBMIT
- NOTE: You can make your submission just ONCE. So, before making your submission, ensure that it does not need any additional editing/revisions.=====================================================================================================
- Lab THREE – 03Problem Statement:
- 4.3.1.8 LAB: Day of the year: writing and using your own functions
- ================================================================================================Submit your Python solution through Blackboard (as explained below).
Your lab will be graded on whether it’s been set up as a complete and workable solution.For your solution to be complete, your program must be able to
- Set up code to do the following:
- prompt the user for the input data asked for (as explained above within the Input Data section)
- Set up the processing section, using a loop
- Display output
- compile (ie, no syntax error(s))
- run (ie, no run-time error(s))
- For your solution to be workable,
- Your solution should be free of any type of errors (syntax, run-time, logic)
- you may want to develop an algorithm first, using pseudocode
- you do NOT need to turn in any algorithm
- ==========================================================================================================================Grading rubric:
- You’ll receive full credit, if
- your program
- compiles and runs with no problems
- produces the expected output
- your program
- You’ll receive partial credit, if
- your program
- compiles and runs with no problems
- produces partial output (that is, incomplete output)
- your program
- You’ll receive full credit, if
- You’ll receive 25% of the points, if your program will not compile
- You’ll receive 30% of the points, if your program compiles but has a run-time problem
- You’ll receive 40% of the points, if your program produces logic error(s)2021.==========================================================================================================================What to submit:
- Your Python solution as a text file
- A screenshot of a run of your program, showing the output
- How to submit:
- Save your Python program (Lab THREE – 03) as a text file to your computer
- Save a screenshot of a run of your program, showing the output
- Click on the above link: Lab THREE – 03
- Locate your Python program (Lab THREE – 03 file) on your computer
- Locate your screenshot of the run of your program
- upload (that is, attach) BOTH files, under #4 and #5, to Blackboard