Question: Write a program in Python and Pseudocode You will have 2 0 assignment statements to initialize the correct answer array. Normally we would not hard
Write a program in Python and Pseudocode
You will have assignment statements to initialize the correct answer array. Normally we would not "hard code" the answers into the program like
this, but at this point that's all we know how to do You can use a single comment to cover all lines.
Your program must use one or more loops for prompting the user for answers and check their answers. You may not copy, paste, and tweak twenty
input statements for this.
You can assume that the user will always enter a single letter for each answer. Remember that upper and lowercase are both acceptable.
You will need two parallel arrays for this assignment. Screenshot
Here's an example of what your program should look like:
Notes
This assignment is more difficult than the previous ones. Please plan accordingly.
You can use the "copy & paste" method to enter test data. This makes testing easier. Do not copypaste several lines of input into Mu there is a bug in Mu Instead use the Thonny tool w which is free and available on both Mac and Windows.
Remember that you cannot use global variables in this class. Do not declare your array outside of main See the coding standards circ for a list of things from chapter that you are not allowed to use.
Don't forget that you are not allowed to use break, continue, or System. exit in this class. You may also not use return inside of the main procedure which is essentially the same as an exit See the coding standards circ for a list of things from chapter that you are not allowed to use.
Your for loops must use in range not just in Your while loops must use a Boolean condition True or False and may not use in See the coding standards overbracecirc for a list of things from chapter that you are not allowed to use.
Remember that you must always access an array with a subscript, and that arrays are fixed in size and you must never do anything that changes the size of an array. See the coding standards circ for a list of things from chapter that you are not allowed to use.
I suggest you write this program as one big main procedure. Do not use other procedures or functions. I know this is at odds with the best practices of modular programming chapters and but in this case you will avoid the problems by reference variables and passing arrays as parameters.
What to Turn In
For this assignment you need to turn in:
The pseudocode program file named Homeworkgad
The Python program file named Homeworkpy
James Shoe
What is the answer for question : Z
What is the answer for question : C
What is the answer for question : D
What is the answer for question : A
What is the answer for question : C
What is the answer for question : c
What is the answer for question : c
What is the answer for question : b
What is the answer for question : d
What is the answer for question : b
What is the answer for question : b
What is the answer for question : d
What is the answer for question : a
What is the answer for question : a
What is the answer for question : b
What is the answer for question : A
What is the answer for question : B
What is the answer for question : A
What is the answer for question : C
What is the answer for question : A
PASSED
Number correct:
Number incorrect:
You got the following questions wrong:
Question Correct
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
