Software Design and Development

Slides:



Advertisements
Similar presentations
Chapter 15 Debugging. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display Debugging with High Level Languages.
Advertisements

Programming Types of Testing.
Lecture Roger Sutton CO331 Visual programming 15: Debugging 1.
Computers: Tools for an Information Age
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 2: Input, Processing, and Output
Chapter 16 Programming and Languages: Telling the Computer What to Do.
COBOL for the 21 st Century Stern, Stern, Ley Chapter 1 INTRODUCTION TO STRUCTURED PROGRAM DESIGN IN COBOL.
PRE-PROGRAMMING PHASE
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
Structured COBOL Programming, Stern & Stern, 9th edition
1 Shawlands Academy Higher Computing Software Development Unit.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
Programming Translators.
Programming Lifecycle
1 The Software Development Process  Systems analysis  Systems design  Implementation  Testing  Documentation  Evaluation  Maintenance.
Java Chapter 1 Problem solving: 1. Understanding the problem. 2. Breaking the problem into manageable pieces. 3. Designing a solution. 4. Considering alternatives.
2_Testing Testing techniques. Testing Crucial stage in the software development process. Significant portion of your time on testing for each programming.
Software Development Cycle What is Software? Instructions (computer programs) that when executed provide desired function and performance Data structures.
Testing. 2 Overview Testing and debugging are important activities in software development. Techniques and tools are introduced. Material borrowed here.
VB – Debugging Tools Appendix D. Why do we need debugging? Every program has errors, and the process of finding these errors is debugging Types of errors.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
The Software Development Process
Basic Programming Lingo. A program is also known as a  Sequence of instructions  Application  App  Binary  Executable.
Design - programming Cmpe 450 Fall Dynamic Analysis Software quality Design carefully from the start Simple and clean Fewer errors Finding errors.
Program Development Cycle
How to Program? -- Part 1 Part 1: Problem Solving –Analyze a problem –Decide what steps need to be taken to solve it. –Take into consideration any special.
School of Computer Science & Information Technology G6DICP - Lecture 6 Errors, bugs and debugging.
 Programming - the process of creating computer programs.
ERRORS. Types of errors: Syntax errors Logical errors.
Debugging 1/6/2016. Debugging 1/6/2016 Debugging  Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a program.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
5.01 Understand Different Types of Programming Errors
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
An introduction to the debugger And jGrasp editor-syncrasies (ideosyncrasies)
Chapter 7 What’s Wrong with It? (Syntax and Logic Errors) Clearly Visual Basic: Programming with Visual Basic nd Edition.
COMPUTER PROGRAMMING I SUMMER Understand Different Types of Programming Errors.
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
MOOR ERROR HANDLING Types of error How to test your code for errors How to detect errors How to recover from errors.
ICS 3UI - Introduction to Computer Science
Component 1.6.
5.01 Understand Different Types of Programming Errors
CSCI-235 Micro-Computer Applications
Chapter 2: Input, Processing, and Output
The Software Development Cycle
Debugging CMSC 202.
2_Testing Testing techniques.
Testing Key Revision Points.
Understand the Programming Process
Programming, Data & Testing
TRANSLATORS AND IDEs Key Revision Points.
5.01 Understand Different Types of Programming Errors
Unit 1: Introduction Lesson 1: PArts of a java program
Understand the Programming Process
Software Development Process
ICT Gaming Lesson 2.
An Introduction to Debugging
Chapter 2: Input, Processing, and Output
Learning Intention I will learn about the different types of programming errors.
1.7 Errors Compile-time error: A violation of the programming language rules that is detected by the compiler Example: System.ou.println("Hello, World!);
Review of Previous Lesson
Chapter 15 Debugging.
WJEC GCSE Computer Science
The Software Development Cycle
Chapter 15 Debugging.
Presentation transcript:

Software Design and Development Computing Science Software Design and Development Testing and Documenting Solutions

Learning Objectives By the end of this topic you will be able to: construct a test plan; explain the difference between syntax, execution and logic errors; understand how dry runs, trace tables, trace tools and breakpoints are used in the debugging process.

Test plans A test plan is a set of test data that will systematically and comprehensively test a piece of software It is used to ensure that the software meets the original specification The test plan should be created in the design stage

Test plans Test plans should include Original software specification Testing schedule Aspects to be tested The test data and expected resultssting

Types of errors Syntax error - the "grammatical" rules of the language have been broken. It is normally detected spotted by a compiler or interpreter. Logic error - the program runs but does not do what the programmer intended. Execution error - the program crashes when it is run

Debugging methods Dry run – a manual (pencil and paper) run through of the program, Trace table – used in dry runs to keep a note of the values of variables as you go through the program Breakpoints – setting a point in the code where it will stop and the value of variables can be examined Trace tools – allows programmer to see what lines of code are being executed and what variables are changing