Language: Pyhon. Processing: Mode 3.54 (Jonathan Feinberg) Please post sketch fle code. Create a sketch named boston pass. This program will tell the user whether they passed a course or not Please...


Language: Pyhon.<br>Processing: Mode 3.54 (Jonathan Feinberg)<br>Please post sketch fle code.<br>Create a sketch named boston pass. This program will tell the user whether they passed a course or not Please read the entire question before starting.<br>Create the following variables using an appropriate name and datatype (do not name them first variable, etc.)<br>First variable: keeps track of the student mark (whole number)<br>Second variable: keeps track of a Boolean value indicating if the student passed<br>Third variable: keeps track of amount the student passed or failed by (whole number)<br>Create the following functions using appropriate names (do not name them first function, etc.)<br>First function: accepts one numeric value, purpose is to see if a student passed the course (50 or more), returns a true or false value.<br>Second function: accepts one numeric value, purpose is to see how much more or less than 50 the student received, returns the amount higher or lower<br>than 50.<br>Third function: accepts one numeric value, purpose is to draw a number of happy faces (using built in drawing functions) based on supplied numeric<br>value, returns nothing. This function draws a minimum of one happy face.<br>Fourth function: accepts one numeric value, displays a number of sad face images based on supplied numeric value, returns nothing.<br>For the sad face image, draw a sad face on a piece of paper or take a picture of yourself with a sad face. Transfer the picture to your computer to use for<br>this function. Make sure to drag the picture onto your code so it becomes part of your program. Your class notes and the following links may be helpful:<br>Plmage resize()<br>Program Functionality: The program will start by asking the user/student for a mark between 0 and 100. This mark should be stored in the appropriate variable<br>as declared above. If the student enters a mark outside the valid range(0-100) then they should be re-prompted to enter the mark again. Only when the valid mark<br>is entered will the program continue.<br>The student mark should then be sent to the appropriate function to see if the student passed. The result of the function should be stored in the appropriate<br>variable,<br>Next, the student mark should be sent to the appropriate function to see how much the student passed/failed by. The result of the function should be stored in the<br>appropriate variable.<br>If the student passed, then the amount the student passed by should be sent to the function that will draw the happy faces otherwise the amount the student failed<br>by should be sent to the function that displays sad faces.<br>

Extracted text: Language: Pyhon. Processing: Mode 3.54 (Jonathan Feinberg) Please post sketch fle code. Create a sketch named boston pass. This program will tell the user whether they passed a course or not Please read the entire question before starting. Create the following variables using an appropriate name and datatype (do not name them first variable, etc.) First variable: keeps track of the student mark (whole number) Second variable: keeps track of a Boolean value indicating if the student passed Third variable: keeps track of amount the student passed or failed by (whole number) Create the following functions using appropriate names (do not name them first function, etc.) First function: accepts one numeric value, purpose is to see if a student passed the course (50 or more), returns a true or false value. Second function: accepts one numeric value, purpose is to see how much more or less than 50 the student received, returns the amount higher or lower than 50. Third function: accepts one numeric value, purpose is to draw a number of happy faces (using built in drawing functions) based on supplied numeric value, returns nothing. This function draws a minimum of one happy face. Fourth function: accepts one numeric value, displays a number of sad face images based on supplied numeric value, returns nothing. For the sad face image, draw a sad face on a piece of paper or take a picture of yourself with a sad face. Transfer the picture to your computer to use for this function. Make sure to drag the picture onto your code so it becomes part of your program. Your class notes and the following links may be helpful: Plmage resize() Program Functionality: The program will start by asking the user/student for a mark between 0 and 100. This mark should be stored in the appropriate variable as declared above. If the student enters a mark outside the valid range(0-100) then they should be re-prompted to enter the mark again. Only when the valid mark is entered will the program continue. The student mark should then be sent to the appropriate function to see if the student passed. The result of the function should be stored in the appropriate variable, Next, the student mark should be sent to the appropriate function to see how much the student passed/failed by. The result of the function should be stored in the appropriate variable. If the student passed, then the amount the student passed by should be sent to the function that will draw the happy faces otherwise the amount the student failed by should be sent to the function that displays sad faces.
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here