Question
In Python - Deliverable Research your programming environments debugging capabilities. 10 points submit screenshots of a break point being set and you in debug mode
In Python -
Deliverable
Research your programming environments debugging capabilities.
10 points submit screenshots of a break point being set and you in debug mode evaluating one of your assignment programs such as setting a break point running the program and completing a step over.
10 points submit a screenshot of a watch you added to evaluate as your debugging
Complete questions 7 Drivers License E xam and 11 Lo Shu Magic Square from your programming exercises. Follow the instructions in the book and complete the exercises.
7. Drivers License E xam
The local drivers license office has asked you to create an application that grades the written portion of the drivers license e xam. The e xam has 20 multiple-choice questions. Here are the correct answers: A C A A D B C A C B A D C A D C B B D A Your program should store these correct answers in a list. The program should read the students answers for each of the 20 questions from a text file and store the answers in another list. (Create your own text file to test the application.) After the students answers have been read from the file, the program should display a message indicating whether the student passed or failed the e xam. (A student must correctly answer 15 of the 20 questions to pass the e xam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers of the incorrectly answered questions.
11. Lo Shu Magic Square
The Lo Shu Magic Square is a grid with 3 rows and 3 columns, shown in Figure 7-18. The Lo Shu Magic Square has the following properties:
The grid contains the numbers 1 through 9 exactly.
The sum of each row, each column, and each diagonal all add up to the same number.
In a program you can simulate a magic square using a two-dimensional list. Write a function that accepts a two-dimensional list as an argument and determines whether the list is a Lo Shu Magic Square. Test the function in a program.
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