Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 6 results
  • https://eng.libretexts.org/Courses/Delta_College/Introduction_to_Programming_Concepts_-_Python/10%3A_Tuples/10.09%3A_Debugging
    in this chapter we are starting to see compound data structures, like lists of tuples, and dictionaries that contain tuples as keys and lists as values. Compound data structures are useful, but they a...in this chapter we are starting to see compound data structures, like lists of tuples, and dictionaries that contain tuples as keys and lists as values. Compound data structures are useful, but they are prone to what I call shape errors; that is, errors caused when a data structure has the wrong type, size, or composition, or perhaps you write some code and forget the shape of your data and introduce an error.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/Physical_Modeling_in_MATLAB_(Downey)/03%3A_Loops/3.01%3A_Updating_Variables
    The text discusses a problem in writing a program for a bike-share system with bikes moving between Boston and Cambridge. It highlights an error in updating bike counts when new values for one locatio...The text discusses a problem in writing a program for a bike-share system with bikes moving between Boston and Cambridge. It highlights an error in updating bike counts when new values for one location are used before updating the other, violating the Principle of Conservation of Bikes. The solution involves using temporary variables to ensure simultaneous updates or an alternative method simplifying calculations while maintaining correct total bike counts.
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/08%3A_User-defined_Functions_of_Vectors/8.03%3A_Debugging_in_Four_Acts/8.3.01%3A_Debugging_Theorems_all_in_1_Place
    Here are the Theorems of Debugging all in one place: The First Theorem of Debugging: (1.3: A Glorified Calculator) The Second Theorem of Debugging: (1.4: MATLAB User Interface) The Third Theorem of De...Here are the Theorems of Debugging all in one place: The First Theorem of Debugging: (1.3: A Glorified Calculator) The Second Theorem of Debugging: (1.4: MATLAB User Interface) The Third Theorem of Debugging: (2.5: The Fibonacci Sequence) Be sure that the code you are running is the code you think you are running. The best kind of debugging is the kind you don’t have to do. The Eighth Theorem of Debugging: (8.3: Debugging in Four Acts)
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.13%3A_Chapter_14
    This page covers file handling in Python, discussing reading, writing, and managing files. It emphasizes the importance of file locations, operational modes (read, write, append), and path management....This page covers file handling in Python, discussing reading, writing, and managing files. It emphasizes the importance of file locations, operational modes (read, write, append), and path management. The text also addresses common errors and the significance of exception handling to avoid crashes during file operations.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_for_Everybody_(Severance)/10%3A_Tuples/10.09%3A_Debugging
    in this chapter we are starting to see compound data structures, like lists of tuples, and dictionaries that contain tuples as keys and lists as values. Compound data structures are useful, but they a...in this chapter we are starting to see compound data structures, like lists of tuples, and dictionaries that contain tuples as keys and lists as values. Compound data structures are useful, but they are prone to what I call shape errors; that is, errors caused when a data structure has the wrong type, size, or composition, or perhaps you write some code and forget the shape of your data and introduce an error.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/06%3A_Functions/6.03%3A_Variable_Scope
    This page discusses variable scope in programming, distinguishing between global and local scope. It highlights the implications of shared variable names and emphasizes limiting scope for better debug...This page discusses variable scope in programming, distinguishing between global and local scope. It highlights the implications of shared variable names and emphasizes limiting scope for better debugging and maintenance. The section includes practical exercises on global and local variables and concludes with a challenge to create a user-input game program based on these concepts.

Support Center

How can we help?