This Python program was designed to gather opinions and information on NBA positions relating to skill, really focusing on NBA positions importance compared to other positions and their evolution over time. Some questions involved in this survey were linear scale, multiple choice, and open ended questions. Participants provide insights on positions they feel are most crucial, most important, and how they have emerged in the NBA.
This program is relevant because in my google site project I talk about how NBA positions have evolved significantly due to changes in playstyles, improvement of shooting, and player versatility. By collecting responses, this program I created helps identify trends in how people perceive these roles, providing data that will contribute to the ideas of player development.
General Solution: General Solution: This program will include the use of different variables such as strings and integers. These will be used to ask a survey of questions about NBA positions. These questions will be linear scale, multiple choice, and open ended. There will be feedback for invalid answers and linear scale questions. For multiple choice questions, only the options provided will be accepted as a answer. If a question is answered incorrectly, there will be a error message at the end of the survey. The variables will be used throughout the program. Boolean flags will be uses, such as age_valid..etc.. There will be output variables as well. This program overall uses a combination of string variables for user input, integer variables when storing numerical responses, and Boolean flags when indicating if an input is valid or not. These variables will be used to ensure the survey runs properly and outputs valid data. The operators being used are as and, or, and not. Other operators such as (=), and (+) will be used (==). The program will then output these operators using a print statement.
Expected Output: I expect my program to output survey questions consisting of linear scale, multiple choice, and open ended questions. If a invalid input is entered, I expect for the survey to continue and when the survey is completed for a error message to occur. If a user enters a number outside of possible answers I expect a error message to occur. My output should include the date and time, the title, as well as the answers the user submitted into my survey.