Created by, Tom Rebold, MPC FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.

Slides:



Advertisements
Similar presentations
CS 206 Introduction to Computer Science II 01 / 20 / 2009 Instructor: Michael Eckmann.
Advertisements

Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley An Introduction to Debugging To Err is Human lawrence snyder c h a p t e.
Chapter 7: Introduction to Debugging TECH Prof. Jeff Cheng.
Announcements Wednesday's test will be postponed until Thursday – July 7 th, See me if this won’t work for you. Project 1 will be due Monday – July.
The Information School of the University of Washington Oct 9fit debug1 Debugging and Troubleshooting INFO/CSE 100, Fall 2006 Fluency in Information.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 18, Slide 1 Chapter 18 Confidence Intervals for Proportions.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Chapter 24 (lecture 16) Click To Close: A Fluency Summary.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Copyright © 2008 Pearson Education, Inc. Chapter 1 Linear Functions Copyright © 2008 Pearson Education, Inc.
16-Jun-15 Exceptions. Errors and Exceptions An error is a bug in your program dividing by zero going outside the bounds of an array trying to use a null.
Section 2.4: Errors. Common errors ● Mismatched parentheses ● Omitting space after operator or between numbers ● Putting operator between operands.
Exceptions. Errors and Exceptions An error is a bug in your program –dividing by zero –going outside the bounds of an array –trying to use a null reference.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 7 To Err Is Human: An Introduction to Debugging.
Copyright © 2010 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
Copyright © 2003 Pearson Education Canada Inc. Slide 7-91 Chapter 8 Flexible Budgets, Variances, and Management Control: II.
Business Cards. Things to ask yourself... What is your type style saying about you? What colors are you using? Why? Are your colors readable? Does your.
Chapter 7 To Err Is Human: An Introduction to Debugging.
Learning Objectives Explain how ordinary precision differs from computing precision Describe the six-step strategy for debugging Explain the purpose of.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction to Computers CS Dr. Zhizhang Shen Chapter 7: What Went.
ICAPRG301A Week 4Buggy Programming ICAPRG301A Apply introductory programming techniques Program Bugs US Navy Admiral Grace Hopper is often credited with.
General Programming Introduction to Computing Science and Programming I.
Debugging & Troubleshooting “To err is human, but it takes a computer to really foul things up” © 2004 Lawrence Snyder.
Topic 11.  The material in this topic is tested any time you do a lab or calculation.  It is extremely important that you follow the rules explained.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 October 20, October 20, 2015October 20, 2015October 20,
Slide 6-1 Copyright © 2004 Pearson Education, Inc.
Algorithms CS139 – Aug 30, Problem Solving Your roommate, who is taking CS139, is in a panic. He is worried that he might lose his financial aid.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
Troubleshooting. Troubleshooting Steps 4 Gather Information by Using Good Communication Skills 4 Narrow Down the Scope of the Problem 4 Find a Solution.
Chapter 6 An Introduction to Debugging. Learning Objectives Explain how ordinary precision differs from computing precision Describe the six-step strategy.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
MAT 105 Spring  An identification number is a sequence of letters and/or numbers that identifies an object, person, place, or concept  The number.
BMTRY 789 Lecture 11: Debugging Readings – Chapter 10 (3 rd Ed) from “The Little SAS Book” Lab Problems – None Homework Due – None Final Project Presentations.
The Information School of the University of Washington 13-Oct-2004cse debug1 Debugging and Troubleshooting INFO/CSE 100, Spring 2005 Fluency in Information.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 From Randomness to Probability.
Copyright © 2009 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
Top Ten Reasons a Requisition May Be Rejected Presented by: Purchasing Department.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Debugging, Escape Command, More Math. It’s your birthday!  Write a program that asks the user for their name and their age.  Figure out what their birth.
Algorithms CS280 – 10/20/05. Announcement  Part 1 of project 2 due.  Read chapters 10, 7 for this unit  Tuesday we will also be in the classroom We.
The Hashemite University Computer Engineering Department
MVC COMP 401 Fall 2014 Lecture 19 10/30/2014. Classic MVC 2
Contact Information Leena Razzaq WVH 310B Office Hours: Monday 12:00 – 2:00 pm And by appointment.
5.01 Understand Different Types of Programming Errors
Introduction Chapter 1 1/22/16. Check zyBooks Completion Click on the boxes for each section.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
AVCE ICT – Unit 7 - Programming Session 12 - Debugging.
Copyright © 2014 Pearson Addison-Wesley. All rights reserved. Chapter 2 C++ Basics.
Introduction to Computing Systems and Programming Programming.
COMPUTER PROGRAMMING I SUMMER Understand Different Types of Programming Errors.
By : Jack Kelenjian. Is a career in computers right for me? To determine if a career in computers is right for someone you need to identify what makes.
Harvard Mark I Howard Aiken was a pioneer in computing and a creator of conceptual design for IBM in the 1940s. He envisioned an electro-mechanical computing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 21 More About Tests and Intervals.
5.01 Understand Different Types of Programming Errors
Accuracy and Precision
CSC 110 – Fluency in Information Technology Chapter 7: An Introduction to Debugging Dr. Curry Guinn.
Fluency with Information Technology
5.01 Understand Different Types of Programming Errors
Designing and Debugging Batch and Interactive COBOL Programs
Conditions and Ifs BIS1523 – Lecture 8.
To Err Is Human: An Introduction to Debugging
Debugging and Troubleshooting
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Debugging and Handling Exceptions
Presentation transcript:

Created by, Tom Rebold, MPC FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities

Created by, Tom Rebold, MPC Algorithms and Digitizing Information PART 2

Created by, Tom Rebold, MPC TO ERR IS HUMAN An Introduction to Debugging chapter 7 Precision and Ambiguity Debugging: Isolating the Problem HTML Debugging No Printer Output: A Classic Scenario To err is human, to really foul things up takes a computer

Copyright © 2003 Pearson Education, Inc. Slide 1-4 Figure 7.1. The Harvard Mark II logbook noting “First actual case of bug being found,” from the Smithsonian Institution.

5 Precision Problems How do you say ? Need to use “zero” instead of “oh” –Some computers can catch these errors or Fonts matter: or Why can’t computers flag these errors?

6 Lexical Structures When entering boxes on forms (field inputs), each field has rules about what is legal or not (lexical structure) What are some rules for –Entering grades? –Phone numbers? – addresses? Since case sometimes matters, when in doubt, be as exact as you possibly can

7 Debugging People troubleshoot all the time –Car doesn’t start –VCR doesn’t work –Find and repair a faulty part Sometimes there is a logical design error –System was designed incorrectly –You can’t always rely on a computer system Sometimes you settle for a work around

8 Debugging Principles Make sure you can reproduce the error Determine exactly what the problem is Eliminate the obvious causes Divide the process, separate parts that work from parts that don’t When stuck, ask where you may be making wrong assumptions Make predictions about what should happen if you try something

9 HTML Debugging

10 HTML Source Code (w/bugs) Japan Page Tokyo Kyoto Osaka Hiroshima Yokohama Fukuoka Sapporo Okinawa Onimichi Japan! In Japan people visit the temples and shrines for the perspective they give.

11 Debug Post-mortem Summarize changes made Summarized unnecessary changes Number of errors found—sometimes more than originally observed (hidden errors) Most errors are tiny (1 letter) –With huge effects

12 No Printer Output We can debug systems we don’t understand Reproduced error, understand problem, check obvious How to isolate the problem Finding the print queue