Where is my error?.

Slides:



Advertisements
Similar presentations
In the top left corner of the page, click on Pages & Files. Click on the If Then Statements folder to select it. Click New – Create a Page. You can also.
Advertisements

Lab 1: Excel as Calculator. Let’s get started! Open a new Excel spreadsheet. If necessary, hit to maximize the sheet. You may need to move the top bar.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
How to install the Zelle graphics package
Chapter Sixteen Starting the Data Analysis Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
Excel Masters Which Cursor and Function should I use? Enter if you dare...
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Vector NTI. Go Herd! Download your sequence and open the file Click your name on my web page on the class genes page
Designing and Debugging Batch and Interactive COBOL Programs Chapter 5.
← Select Exchange Once logged in. ↓ click Join Course Icon.
1  To Highlight a whole column Click on the column heading, hold down the shift and click on the data in the column so that it is all selected Click on.
Region 3 Playbook for Website Friday, October 14, 2011 Rose Buchanan Hardin Construction Company Region 3 Webmaster Greater Orlando Chapter 73.
Testing and Debugging Version 1.0. All kinds of things can go wrong when you are developing a program. The compiler discovers syntax errors in your code.
Control Structures II Repetition (Loops). Why Is Repetition Needed? How can you solve the following problem: What is the sum of all the numbers from 1.
HOW TO FILL OUT A PARSCORE FORM Genius 40% of ALL Students make errors on their ParScore Forms DON’T BE AN ERROR VICTIM!
CS320n –Visual Programming More LabVIEW Foundations.
GRAPHICS MODULE 14 STUDY BOOK. Graphic commands SCREEN - puts the screen into graphics mode WINDOW - allows scaling of the screen LINE - 3 formats –LINE.
IDLE An IDE for Python bundled with the program release Click on IDLE (Python GUI) in the Start menu under the Python program group  Get the IDLE Python.
Debuggers in Python. The Debugger Every programming IDE has a tool called a debugger. This application does NOT locate or fix your bugs for you! It slows.
 Columns  Rows  Cells  Ranges  Cell addresses  Column headers  Row headers  Formulas  Spreadsheet.
Editing Data Next This tutorial deals with changing and editing data and worksheets.
Example 7 U.S. Executions Chapter 1.2 The table gives the number of executions in the United States for selected years from 1984 to (Source: “The.
AVCE ICT – Unit 7 - Programming Session 12 - Debugging.
Home Screen Grade Book Setup Before setting up the grade book, we need to setup the preferences. Select Preferences.
Making Histograms with the TI-83 Plus Procedure Reference:
How to graph your stock project performance vs. the 3 major indexes.
Microsoft ® Office Word 2010 Introduction Creating your First Basic Document.
How to Create & Edit a Company Page Sorry that this presentation is 9 slides, but it only takes 2 minutes to do this, at the most!
MS-EXCEL PART 3. Use data validation in Excel to make sure that users enter certain values into a cell. Data Validation Example In this example, we restrict.
Learning to use a ‘For Loop’ and a ‘Variable’. Learning Objective To use a ‘For’ loop to build shapes within your program Use a variable to detect input.
Potential NEALP candidates Where is the data input site?
Orders – Create Responses Boeing Supply Chain Platform (BSCP) Detailed Training July 2016.
Google Calendar How to create and embed it into your team page or any website.
FINESSE AGENT DESKTOP TRAINING.
Introduction to Programming
Data Types Variables are used in programs to store items of data e.g a name, a high score, an exam mark. The data stored in a variable is entered from.
Introduction to Programming
Eclipse Navigation & Usage.
If, else, elif.
Here is a puzzle I found on a t-shirt
Shelly Cashman: Microsoft Excel 2016
Systems of 3 variable Equations
Learning to Program in Python
Introduction to Programming
Which Cursor and Function should I use?
Which Cursor and Function should I use?
To have your National or Local Organization’s logo appear automatically on every new slide, follow the instructions below. Click on View-> Master -> Slide.
Introduction to Programming
Press login Icon to log into Qualcomm unit.
Tab printing on your new Sharp Multifunction Printer
Debugging Taken from notes by Dr. Neil Moore
Göster Kendini10FingerApplication
Prepared by: Arlene N. Baratang, Ph.D.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Here is how you find MS Visual C on the Engineering
Which Cursor and Function should I use?
Debugging Taken from notes by Dr. Neil Moore
Introduction to Programming
Chapter 1: Programming Basics, Python History and Program Components
Running a Java Program using Blue Jay.
Importing Opera Notes.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Which Cursor and Function should I use?
One of these things is not like the other
Starter Activities GCSE Python.
Running Chi-Square in Excel
Creating PowerPoint Presentations
One of these things is not like the other
One of these things is not like the other
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Presentation transcript:

Where is my error?

The IDE will show an error message for syntax errors In both IDEs there will be some indication of a syntax error found in your code These indications happen ONLY when the code is being executed So if your code has 2 or more branches, do not assume there are no syntax errors just because it ran correctly ONE time. Make sure your tests go through all possible paths to make sure you have no syntax errors.

For IDLE Some syntax errors are indicated with a little box that says Syntax Error. To find where it thinks the error is, look back at your source code. There will be a line (or less!) highlighted. That is the location of the error, according to the interpreter. If you want to know what line number that is on, (since IDLE does not show the line numbers like WingIDE), look at the lower right corner of the source or edit window, you’ll see the row and column the cursor is on.

According to the interpreter? Sometimes the interpreter is not right in the location of the error! It IS correct that there is an error, but it may not be on the line that the interpreter indicates. Where to look then? Look at the line indicated, and 2-3 lines above (lesser numbered lines) that location. The error could be there, but the interpreter didn’t understand it was an error until it had seen the next line. There is no point looking after (below) that location (higher numbered lines) . There may be errors down there but they are not the cause of the current error indicator.