Skip to main content

Open the debug_lab.py file in Spyder.

Project Directions
Download the Mini-Lab documentation here 
In this Mini-Lab, you will need to complete the following: 
1. Debugging in Spyder.
      • Open the debug_lab.py file in Spyder. 
      • Remove all existing variables.  Use the debugger to explore all of the breakpoints in the file.
      • Use the fast forward (>>) button to get to the breakpoint in line 24.  Use the step button to execute the code.  A value should now be assigned to the tot variable.  Pause at line 25.  While the program is paused, assign a new value to tot to see how you can edit the code here.
2. Debug the debug.py functions.
      • Download the debug.py file. 
      • Run the program to identify errors and to debug the prorgram.   
      • Fix the errors and get the code to operate properly.
      • Save the program
3. Provide an explanation of the errors and how you fixed them.
      • In a Microsoft Word document, describe the errors you found in the program
      • Also describe how you fixed the errors
      • Save the document as debug_explanations.docx
Project Notes
    • You can gain experience and knowledge of the Python Programming interface in the Unit 3 and 4 Lab sections or through the examples in the textbook(s)
    • This assignment is worth 5 points and, combined with the first Mini-Lab, will be worth 1% of your overall grade
Submission Requirements
Your submission should include the following two files, uploaded in a single ZIP file:
    • debug.py
    • debug_explanations.docx
Instructions for Submitting Your Project
    • Create one (1) ZIP file that includes all of your project documents and files
    • Use the following naming convention Your_Name-Assignment_Name-Date with the ZIP file extension
      • Example: Instructor-Mini_Lab2-May_12_2016.zip
    • Upload the single ZIP file below. Your project file must be fully uploaded before the deadline published in the course.
    • If your coursework is submitted on time and correctly, the name of the uploaded file will be shown.
Note: Submitting more than one file will overwrite (delete) the previously submitted fileYou may use a different program than Microsoft Word to describe the errors and fixes, but make sure to save the file with the .doc or .docx extension.

Comments

Popular posts from this blog

Should pit bull terriers be banned in my community

 Discussion Forum: Counterarguments (Should pit bull terriers be banned in my community) You created a question about the topic for your W6 Rough Draft. For this discussion, you will give an answer to that question in the form of a thesis statement. "Dieting Makes People Fat" Main Post: Share your thesis statement with your classmates. Please note: As with last week’s discussion, nothing here is set in stone. Be open to changing everything about your topic, including your position and audience, as you research it and get feedback from your classmates. Topic + Position/Purpose + Supporting Points =Thesis Statement Example: Suppose the question you posed in the Week 5 discussion was something like, “Should pit bull terriers be banned in my community?” After doing some preliminary research, you have concluded that pit bulls, if raised properly, are no more dangerous than other breeds of dogs. Your thesis statement can be something like, “Pitbulls should not be banned

CYBER SECURITY and how it can impact today's healthcare system and the future

 Start by reading and following these instructions: Create your Assignment submission and be sure to cite your sources, use APA style as required, and check your spelling. Assignment: Recommendations Document Due Week 6 (100 pts) Main Assignment Recommendations Document The 1250 to 1500-word deliverable for this week is an initial draft of your recommendations. Note that this is a working document and may be modified based on insights gained in module eight and your professor's feedback. This document should contain the following elements: Summary of your problem or opportunity definition A list of possible recommendation alternatives. In this section, you are not yet at the point of suggesting the best set of recommendations but you are trying to be creative and explore all the different ways that the problem or opportunity might best be addressed. The end result here will be a list of alternatives among which you will choose your final recom

Do violent video games encourage players to become violent in real life?

 Write an outline for Speech 3, the persuasive belief speech, following the outline guidelines and formatting requirements (Do violent video games encourage players to become violent in real life?).  1000-1200 WORDS https://virtualspeech.com/blog/persuasive-speech-outline-structure-delivery Topics: https://blog.prepscholar.com/good-persuasive-speech-topics Do violent video games encourage players to become violent in real life? https://www.youtube.com/watch?v=YKKWOx43pIY WE HAVE DONE THIS ASSIGNMENT BEFORE, WE CAN ALSO DO IT FOR YOU GET SOLUTION FOR THIS ASSIGNMENT,  Get Impressive Scores in Your Class CLICK HERE TO MAKE YOUR ORDER   on Do violent video games encourage players to become violent in real life? Are You looking for Assignment and Homework Writing help?  We Provide High-Quality Academic Papers at Affordable Rates. No Plagiarism. TO BE RE-WRITTEN FROM THE SCRATCH