Question
PYTHON HELP! This link leads to my project overview for reference. I just need to answer some questions about it that are below! Can someone
PYTHON HELP! This link leads to my project overview for reference. I just need to answer some questions about it that are below! Can someone please help answer the following?
https://www.chegg.com/homework-help/questions-and-answers/python-help-final-project-decided-create-quiz-example-using-capital-cities-displays-outcom-q25014901
INPUT DATA FILE
1. What information is stored in data file for this project?
2. Are all the data lines treated in exactly the same way?
3. If not, then how are the different parts of the file distinguished from each other?
4. Will the entire file be input to the program at first, or periodically through the execution of the program?
KEYBOARD INTERACTION
5. What sorts of input will be expected from a user in this program?
6. What response would the program provide for each input?
7. Does any user input determine when the program stops running?
8. Provide at least two illustrations of what the user interface looks like.
PROBLEM ANALYSIS
9. Would the Python dictionary (dict) be helpful? If so, what would be used as a search key?
10. Would the Python list be helpful?
11. Do the Python libraries have other functions and methods that would assist in this problem? You can find out from online help, such as "help(str)" for strings.
DATA STRUCTURE DESIGN
12. If any dictionary is used, what would be the search key, and what associated data would be retrieved from it?
13. If any list is used, what would be stored in that list?
14.Will the data structures be initialized within the program code, or from data in an input file, or will they be created and filled in while the program is running?
FUNCTIONAL DESIGN(For this phase, list the functions that will need to be implemented to complete the program For each function, list all of the following)
15. A meaningful name for the function
16. One or two sentences summarizing what the function must do. (If one or two sentences are not enough, consider whether it needs to be divided into more functions)
17. A list of the parameters to the function, including:
a. the name of the parameter
b. the type of the parameter (list, string, integer, etc.)
c. whether the function is expected to modify the parameter
18. A description of the return value(s) from the function, if any. (Ideally, a function that modifies a parameter will not have any other return value)
19. Which other functions in the list that will be called by this function.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started