What is Structural Testing?

Size: px
Start display at page:

Download "What is Structural Testing?"

Transcription

1 Structural Testing

2 What is Structural Testing? Based on Source Code Examine the internal structure of the program Test cases are derived from an examination of program s logic Do not pay any attention to specification. The knowledge to the internal structure of code can be used to find the number of test cases required to guarantee a given level of test coverage.

3 Why Structural Testing is Required? Part of code not fully exercised. Section of code may be surplus to the requirements. Errors may be missed by functional requirements.

4 Levels of Coverage 1. Statement (Line) coverage 2. Decision (Branch) coverage 3. Condition coverage 4. Decision/Condition coverage 5. Multiple Condition coverage 6. Loop coverage 7. Path coverage

5 Levels of Coverage Statement Coverage

6 Levels of Coverage Branch Coverage

7 Levels of Coverage Branch Coverage

8 Levels of Coverage Condition Coverage Condition coverage reports the true or false outcome of each boolean sub-expression, separated by logical-and and logical-or if they occur. Condition coverage measures the sub-expressions independently of each other.

9 Levels of Coverage Decision/Condition Coverage A hybrid metric composed by the union of condition coverage and decision coverage

10 Levels of Coverage Levels of Coverage Multiple Condition Coverage

11 Levels of Coverage Loop Coverage This metric reports whether you executed each loop body zero times, exactly once, and more than once.

12 Path Testing(1) Group of test techniques based on judicious selecting a set of test paths through the program Most applicable to new software for module testing or unit testing The effectiveness of path testing rapidly deteriorates as the size of the software under test increases.

13 Path Testing(2) This type of testing involves: Generating a set of paths that will cover every branch in the program. Finding the set of test cases that will execute every path in this set of program paths. Steps Involved in Path testing: Generate flow graph of a program. Generate DD path graph. Identify independent paths

14 Path Testing Flow Graph (1) Used to analysis the control flow of a program Definition: Given a program written in a programming language, its program graph is a directed graph in which nodes are statement fragments, and edges represent flow of control. If I and J are nodes in the program graph, an edge exists from node I to node J if the statement fragment corresponding to node J can be executed immediately after the statement fragment corresponding to node I.

15 Path Testing Flow Graph (2) Sequence If then else Repeat until loop While loop Case

16 Path Testing Flow Graph (3) Example: 1. Triangle (a, b, c: Integer): String 4 2. IsATriangle: Boolean 3. begin 4. if (a<=b+c 5 or b<=a+c 6or c<=b+c) 5. then IsATriangle := true 6. else IsATriangle 7:= false ; 7. if (IsATriangle) 8. then 9. if (a=b 9 and b=c) then return Equilateral 11. else if (a b and 12 a c and b c) 13. then return Scalene 14. else 13 return Equilateral 14 ; 15. else return Not a triangle ; 16. end begin 4. (a<=b+c or b<=a+c or c<=b+c)? yes no 5. IsATriangle := true 6. IsATriangle := false 7. IsATriangle? yes no 9. (a=b and b=c)? 15. Not a triangle yes no 10. Equilateral 12. (a b and a c and b c)? yes no 13. Scalene 14. Equilateral 16. end

17 Path Testing DD Path Graph (1) Decision to decision path graph. DD path graph is a directed graph in which nodes are sequences of statements and edges represent control flow between node. Used to find independent path

18 Path Testing DD Path Graph (2) A Example: 14 B C D E F G H I J K L

19 Path Testing Independent Path (1) An independent path is any path through the program that introduces at least one new set of processing statements or a new condition. When stated in terms of a flow graph, an independent path must move along at least one edge that has not been traversed before the path is defined.

20 Path Testing Independent Path (2) C A B Independent paths are: ABGOQRS E H D F G O ABGOPRS ABCDFGOQRS ABCDEFGOPRS J I L K M P Q ABGHIJNRS ABGHIKLNRS N R ABGHIKMNRS S

21 Path Testing Computation of cyclomatic complexity (1) Structural Complexity. Given by McCabe. Used to find number of independent paths through the program. Provides an upper bound on the number of tests that must be conducted to ensure that all statements have been executed at lest once.

22 Path Testing Computation of cyclomatic complexity (2) Cyclomatic complexity has a foundation in graph theory and is computed in the following ways: 1. V(G) = E N + 2P E: number of edges N: number of nodes 2. V(G) = P + 1 P: number of predicate nodes 3. V(G)= number of region

23 Path Testing Computation of cyclomatic complexity (3) 1. V(G)= E N+2=? 2. V(G)= P + 1=? 3. V(G)= No regions=?

24 Path Testing Example Consider the program for the classification of a triangle (pages 399) Compute cyclomatic complexity based on the graph that presented in page 401 Determine independent Generate test cases which are coverage independent path

25 Data Flow Testing (1) Data flow testing focuses on the points at which variables receive values and the points at which these values are used (or referenced). It detects improper use of data values due to coding errors.

26 Data Flow Testing (2) Flow graph used as basic for data flow testing Data flow analyses centered on a set of faults that are known as define/reference anomalies. A variable that is defined but never used (referenced) A variable that is used but never defined A variable that is defined twice before it is used

27 Data Flow Testing (3) Definitions The definitions refer to a program P that has a program graph G(P) and set of program variables V. The graph G(P) has a single entry node and a single exit node. The set of all paths in P is PATHS(P)

28 Data Flow Testing (3) Definitions DEF(v, n): node n in G(P) is a defining node of variable v in V, iff the value of variable v is defined at the statement fragment corresponding to node n. USE(v, n): node n in G(P) is a usage node of variable v in V, iff the value of variable v is used at the statement fragment corresponding to node n. du-path: a definition-use path (du-path) with respect to variable v is a path in PATH S(P) such that, for some v in V, there are defined and usage nodes DEF(v, m) and USE(v, n) such that m and n are initial and final nodes of the path. dc-path: a definition-clear path with respect to a variable v is a du-path with initial and final node such that no other node in the path is defining node of v.

29 Data Flow Testing (4) Steps for Data Flow Testing Draw the program Flow graph Find the DD path graph Prepare the table for Def/Use status of all variable Find all du-path Identify du-path that are not dc-path Generate test cases to test all du-path at least one. If we cannot test all du-paths, we have to test all du-paths that are not dc-path.

30 Data Flow Testing (5) Example Consider example 8.20 (page 411)

Software Testing. 1. Testing is the process of demonstrating that errors are not present.

Software Testing. 1. Testing is the process of demonstrating that errors are not present. What is Testing? Software Testing Many people understand many definitions of testing :. Testing is the process of demonstrating that errors are not present.. The purpose of testing is to show that a program

More information

CSCE 747 Software Testing and Quality Assurance

CSCE 747 Software Testing and Quality Assurance CSCE 747 Software Testing and Quality Assurance Lecture 07 Dataflow Testing 1 Lec 07 Dataflow Testing 1 9/1/2013 CSCE 747 Fall 2013 Last Time Lecture 06 Slides 1 19 covered last time Case Study Question

More information

Testing Theory. Agenda - What will you learn today? A Software Life-cycle Model Which part will we talk about today? Theory Lecture Plan

Testing Theory. Agenda - What will you learn today? A Software Life-cycle Model Which part will we talk about today? Theory Lecture Plan heory Lecture Plan 2 esting heory Lecture 8 Software Engineering DDC88/DDC93 autumn 28 Department of Computer and Information Science Linköping University, Sweden L - Course Introduction and Overview L2

More information

MSc Software Testing MSc Prófun hugbúnaðar

MSc Software Testing MSc Prófun hugbúnaðar MSc Software Testing MSc Prófun hugbúnaðar Fyrirlestrar 7 & 8 Structural Testing White-box tests. 29/8/27 Dr Andy Brooks 1 Case Study Dæmisaga Reference Structural Testing of Programs, A Survey, A A Omar

More information

Testing Methods: White Box Testing II

Testing Methods: White Box Testing II Testing Methods: White Box Testing II Outline Today we continue our look at white box testing with more code coverage methods, and a data coverage method We ll look at : - code coverage testing - decision

More information

Darshan Institute of Engineering & Technology for Diploma Studies

Darshan Institute of Engineering & Technology for Diploma Studies CODING Good software development organizations normally require their programmers to follow some welldefined and standard style of coding called coding standards. Most software development organizations

More information

Software Testing: A Craftsman s Approach, 4 th Edition. Chapter 16 Software Complexity

Software Testing: A Craftsman s Approach, 4 th Edition. Chapter 16 Software Complexity Chapter 16 Software Complexity Levels of Software Complexity Unit Level Topological (cyclomatic) complexity, based on a program graph Decisional complexity, a refinement of topological complexity, based

More information

MSc Software Testing and Maintenance MSc Prófun og viðhald hugbúnaðar

MSc Software Testing and Maintenance MSc Prófun og viðhald hugbúnaðar MSc Software Testing and Maintenance MSc Prófun og viðhald hugbúnaðar Fyrirlestrar 31 & 32 Structural Testing White-box tests. 27/1/25 Dr Andy Brooks 1 Case Study Dæmisaga Reference Structural Testing

More information

Dataflow Testing. Definitions 2

Dataflow Testing. Definitions 2 Dataflow Testing Dataflow Analysis Can reveal interesting bugs Dataflow Testing Chapter 9 Testing All-Nodes and All-Edges in a control flow graph may miss significant test cases Testing All-Paths in a

More information

Dataflow Testing. Dataflow Testing. Dataflow Analysis. Definitions. Definitions 2. Definitions 3

Dataflow Testing. Dataflow Testing. Dataflow Analysis. Definitions. Definitions 2. Definitions 3 Dataflow Testing Dataflow Testing Testing All-Nodes and All-Edges in a control flow graph may miss significant test cases Testing All-Paths in a control flow graph is often too timeconsuming Chapter 9

More information

Software Testing Fundamentals. Software Testing Techniques. Information Flow in Testing. Testing Objectives

Software Testing Fundamentals. Software Testing Techniques. Information Flow in Testing. Testing Objectives Software Testing Fundamentals Software Testing Techniques Peter Lo Software Testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding.

More information

Dataflow Testing. Chapter 9!

Dataflow Testing. Chapter 9! Dataflow Testing Chapter 9! Dataflow Testing Testing All-Nodes and All-Edges in a control flow graph may miss significant test cases! Testing All-Paths in a control flow graph is often too timeconsuming!

More information

Software Testing Prof. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur. Lecture 13 Path Testing

Software Testing Prof. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur. Lecture 13 Path Testing Software Testing Prof. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 13 Path Testing Welcome to this session and we will discuss about path

More information

Name. 6b, Triangles. 1. A bridge contains beams that form triangles, as shown below.

Name. 6b, Triangles. 1. A bridge contains beams that form triangles, as shown below. Name 6b, Triangles 1. A bridge contains beams that form triangles, as shown below. Which of the following best describes the triangle with the given measures? acute scalene triangle obtuse scalene triangle

More information

Dataflow Testing. Chapter 10!

Dataflow Testing. Chapter 10! Dataflow Testing Chapter 10! Dataflow Testing Testing All-Nodes and All-Edges in a control flow graph may miss significant test cases! Testing All-Paths in a control flow graph is often too timeconsuming!

More information

INTRODUCTION TO SOFTWARE ENGINEERING

INTRODUCTION TO SOFTWARE ENGINEERING INTRODUCTION TO SOFTWARE ENGINEERING Structural Testing d_sinnig@cs.concordia.ca Department for Computer Science and Software Engineering Introduction Testing is simple all a tester needs to do is find

More information

MTAT : Software Testing

MTAT : Software Testing MTAT.03.159: Software Testing Lecture 03: White-Box Testing (Textbook Ch. 5) Dietmar Pfahl Spring 2017 email: dietmar.pfahl@ut.ee Lecture Chapter 5 White-box testing techniques (Lab 3) Structure of Lecture

More information

Functional Testing (Black Box Testing)

Functional Testing (Black Box Testing) Functional Testing (Black Box Testing) In black box testing, program is treated as a black box. Implementation details do not matter. Takes a user point of view. Functional testing verifies that each function

More information

MTAT : Software Testing

MTAT : Software Testing MTAT.03.159: Software Testing Lecture 03: White-Box Testing (Textbook Ch. 5) Dietmar Pfahl Spring 2016 email: dietmar.pfahl@ut.ee Lecture Chapter 5 White-box testing techniques (Lab 3) Structure of Lecture

More information

LECTURE 11 TEST DESIGN TECHNIQUES IV

LECTURE 11 TEST DESIGN TECHNIQUES IV Code Coverage Testing 1. Statement coverage testing 2. Branch coverage testing 3. Conditional coverage testing LECTURE 11 TEST DESIGN TECHNIQUES IV Code Complexity Testing 1. Cyclomatic Complexity s V

More information

CSCE 747 Software Testing and Quality Assurance

CSCE 747 Software Testing and Quality Assurance CSCE 747 Software Testing and Quality Assurance Lecture 06 Path Testing 1 Lec 06 Path Testing 1 9/11/2013 CSCE 747 Fall 2013 Last Time Wrapup Functional Testing Ch 8 pp 117 127 Testing Effort Testing Efficiency

More information

SE Notes Mr. D. K. Bhawnani, Lect (CSE) BIT

SE Notes Mr. D. K. Bhawnani, Lect (CSE) BIT 1 Unit 4 Software Testing Introduction Once the source code has been developed, testing is required to uncover the errors before it is implemented. In order to perform software testing a series of test

More information

Software Verification and Validation. Prof. Lionel Briand Ph.D., IEEE Fellow

Software Verification and Validation. Prof. Lionel Briand Ph.D., IEEE Fellow Software Verification and Validation Prof. Lionel Briand Ph.D., IEEE Fellow 1 White-Box Testing 2 White-Box vs. Black-BoxTesting: Reminder Software Representation (Model) Associated Criteria Test cases

More information

Path Testing + Coverage. Chapter 8

Path Testing + Coverage. Chapter 8 Path Testing + Coverage Chapter 8 Structural Testing n Also known as glass/white/open box testing n A software testing technique whereby explicit knowledge of the internal workings of the item being tested

More information

Introduction to Software Engineering

Introduction to Software Engineering Introduction to Software Engineering (CS350) Lecture 17 Jongmoon Baik Testing Conventional Applications 2 Testability Operability it operates cleanly Observability the results of each test case are readily

More information

Subject Software Testing Structural Testing

Subject Software Testing Structural Testing Subject Software Testing Structural Testing Objective: 1. Understand Concept of structural testing 2. How structural (code-based or glass-box) testing complements functional (black-box) testing 3. Recognize

More information

Software technology 7. Testing (2) BSc Course Dr. Katalin Balla

Software technology 7. Testing (2) BSc Course Dr. Katalin Balla Software technology 7. Testing (2) BSc Course Dr. Katalin Balla Contents Testing techniques Static testing techniques Dynamic testing Black box testing White-box testing Testing in the agile environment

More information

PESIT Bangalore South Campus SOLUTION

PESIT Bangalore South Campus SOLUTION USN 1 P E PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Information Science & Engineering INTERNAL ASSESSMENT TEST 2 Date : 02/04/2018 Max Marks: 40

More information

EECS 4313 Software Engineering Testing. Topic 05: Equivalence Class Testing Zhen Ming (Jack) Jiang

EECS 4313 Software Engineering Testing. Topic 05: Equivalence Class Testing Zhen Ming (Jack) Jiang EECS 4313 Software Engineering Testing Topic 05: Equivalence Class Testing Zhen Ming (Jack) Jiang Relevant Readings [Jorgensen] chapter 6 Introduction Boundary Value Testing derives test cases with Massive

More information

White-Box Testing Techniques

White-Box Testing Techniques T-76.5613 Software Testing and Quality Assurance Lecture 3, 18.9.2006 White-Box Testing Techniques SoberIT Content What are white-box testing techniques Control flow testing Statement coverage Branch coverage

More information

UNIVERSITY OF MUMBAI T.Y.B.Sc. INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER 2014 SOFTWARE TESTING Seat No. : Max.

UNIVERSITY OF MUMBAI T.Y.B.Sc. INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER 2014 SOFTWARE TESTING Seat No. : Max. T.Y.B.Sc. INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER 14 1. Design the test cases for Boundary Value analysis of the following. Consider a program that prompts the user to input

More information

CS 520 Theory and Practice of Software Engineering Fall 2018

CS 520 Theory and Practice of Software Engineering Fall 2018 Today CS 52 Theory and Practice of Software Engineering Fall 218 Software testing October 11, 218 Introduction to software testing Blackbox vs. whitebox testing Unit testing (vs. integration vs. system

More information

Code Coverage Metrics And How to Use Them

Code Coverage Metrics And How to Use Them Code Coverage Metrics And How to Use Them int main(int argc, char* argv[]) { long int i, n=0; ubcd pp, p, c; if (argc > 1) { } else { } if (n < 0) { } else { } n = atol(argv[1]); cout

More information

EXERCISES (Software Engineering)

EXERCISES (Software Engineering) Chapter 1 1. What is Software Engineering? 2. What is Requirement Engineering? EXERCISES (Software Engineering) 3. What are the Different types of Architectures in Software Engineering? 4. How many subdisciplines

More information

Introduction. Easy to get started, based on description of the inputs

Introduction. Easy to get started, based on description of the inputs Introduction Testing is about choosing elements from input domain. The input domain of a program consists of all possible inputs that could be taken by the program. Easy to get started, based on description

More information

CS 4387/5387 SOFTWARE V&V LECTURE 4 BLACK-BOX TESTING

CS 4387/5387 SOFTWARE V&V LECTURE 4 BLACK-BOX TESTING 1 CS 4387/5387 SOFTWARE V&V LECTURE 4 BLACK-BOX TESTING Outline 2 Quiz Black-Box Testing Equivalence Class Testing (Equivalence Partitioning) Boundary value analysis Decision Table Testing 1 3 Quiz - 1

More information

MTAT : Software Testing

MTAT : Software Testing MTAT.03.159: Software Testing Lecture 03: White-Box Testing (Textbook Ch. 5) Spring 2013 Dietmar Pfahl email: dietmar.pfahl@ut.ee Lecture Chapter 5 White-box testing techniques (Lab 3) Structure of Lecture

More information

Aerospace Software Engineering

Aerospace Software Engineering 16.35 Aerospace Software Engineering Verification & Validation Prof. Kristina Lundqvist Dept. of Aero/Astro, MIT Would You...... trust a completely-automated nuclear power plant?... trust a completely-automated

More information

CMPSCI 521/621 Homework 2 Solutions

CMPSCI 521/621 Homework 2 Solutions CMPSCI 521/621 Homework 2 Solutions Problem 1 Direct data dependencies: 3 is directly data dependent on 1 and 5 5 is directly data dependent on 1,3, and 5 7 is directly data dependent on 1,3, and 5 Note,

More information

Lecture 26: Testing. Software Engineering ITCS 3155 Fall Dr. Jamie Payton

Lecture 26: Testing. Software Engineering ITCS 3155 Fall Dr. Jamie Payton Lecture 26: Testing Software Engineering ITCS 3155 Fall 2008 Dr. Jamie Payton Department of Computer Science University of North Carolina at Charlotte Dec. 9, 2008 Verification vs validation Verification:

More information

Specification-based test design

Specification-based test design Software and Systems Verification (VIMIMA01) Specification-based test design Zoltan Micskei, Istvan Majzik Budapest University of Technology and Economics Fault Tolerant Systems Research Group Budapest

More information

Question Bank. Unit 1: Perspective on Testing, Examples. Chapter 1 & 2 from Dr. Paul C. Jorgensen

Question Bank. Unit 1: Perspective on Testing, Examples. Chapter 1 & 2 from Dr. Paul C. Jorgensen Unit 1: Perspective on Testing, Examples Chapter 1 & 2 from Dr. Paul C. Jorgensen Sl no Question Description 1. Make a Venn Diagram that reflects a part of the following statement: we have left undone

More information

ABSTRACT I. INTRODUCTION

ABSTRACT I. INTRODUCTION International Journal of Scientific Research in Computer Science, Engineering and Information Technology 2017 IJSRCSEIT Volume 2 Issue 6 ISSN : 2456-3307 Covering All White Box Tests Using Basis Path Test

More information

Programming Embedded Systems

Programming Embedded Systems Programming Embedded Systems Lecture 8 Overview of software testing Wednesday Feb 8, 2012 Philipp Rümmer Uppsala University Philipp.Ruemmer@it.uu.se 1/53 Lecture outline Testing in general Unit testing

More information

Software Testing part II (white box) Lecturer: Giuseppe Santucci

Software Testing part II (white box) Lecturer: Giuseppe Santucci Software Testing part II (white box) Lecturer: Giuseppe Santucci 4. White box testing White-box (or Glass-box) testing: general characteristics Statement coverage Decision coverage Condition coverage Decision

More information

Test s in i g n III Week 16

Test s in i g n III Week 16 Testing III Week 16 Agenda (Lecture) White box testing Condition coverage Loop coverage Path coverage Agenda (Lab) Implementation Review of SRS/SDD documents Submit a weekly project progress report at

More information

Decision Tables - Wikipedia Decision Table-Based Testing

Decision Tables - Wikipedia Decision Table-Based Testing Decision ables Wikipedia Decision ablebased esting Chapter A precise yet compact way to model complicated logic Associate conditions with actions to perform Can associate many independent conditions with

More information

1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake

1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake Sample ISTQB examination 1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake 2 Regression testing should

More information

Testing: Test design and testing process

Testing: Test design and testing process Testing: Test design and testing process Zoltán Micskei Based on István Majzik s slides Dept. of Measurement and Information Systems Budapest University of Technology and Economics Department of Measurement

More information

Measuring Complexity

Measuring Complexity Measuring Complexity outline why should we measure the complexity of a software system? what might we want to measure? complexity of the source code within a code module between code modules complexity

More information

MTAT : Software Testing

MTAT : Software Testing MTAT.03.159: Software Testing Lecture 02: Basic Black-Box and White-Box Testing Techniques (Textbook Ch. 4 & 5) Spring 2018 Dietmar Pfahl email: dietmar.pfahl@ut.ee Structure of Lecture 2 Black-Box vs.

More information

Lesson 5: Identical Triangles

Lesson 5: Identical Triangles NS COMMON CORE MATHEMATICS CURRICULUM Lesson 5 7 6 Classwork Opening When studying triangles, it is essential to be able to communicate about the parts of a triangle without any confusion. The following

More information

Advanced Software Testing Understanding Code Coverage

Advanced Software Testing Understanding Code Coverage Advanced Software Testing Understanding Code Coverage Advanced Software Testing A series of webinars, this one excerpted from Advanced Software Testing: V3, a book for technical test analysts, programmers,

More information

Equivalence Class Partitioning. Equivalence Partitioning. Definition and Example. Example set of classes

Equivalence Class Partitioning. Equivalence Partitioning. Definition and Example. Example set of classes Equivalence Class Partitioning Equivalence Partitioning From S. Somé, A. Williams 1 Suppose that we were going to test a method that implements the absolute value function for integers. Definition public

More information

Coverage Metrics for Functional Validation of Hardware Designs

Coverage Metrics for Functional Validation of Hardware Designs Coverage Metrics for Functional Validation of Hardware Designs Serdar Tasiran, Kurt Keutzer IEEE, Design & Test of Computers,2001 Presenter Guang-Pau Lin What s the problem? What can ensure optimal use

More information

Input Space Partitioning

Input Space Partitioning Input Space Partitioning Instructor : Ali Sharifara CSE 5321/4321 Summer 2017 CSE 5321/4321, Ali Sharifara, UTA 1 Input Space Partitioning Introduction Equivalence Partitioning Boundary-Value Analysis

More information

Software Testing: A Craftsman s Approach, 4 th Edition. Chapter 13 Integration Testing

Software Testing: A Craftsman s Approach, 4 th Edition. Chapter 13 Integration Testing Chapter 13 Integration Testing The Mars Climate Orbiter Mission mission failed in September 1999 completed successful flight: 416,000,000 miles (665.600.600 km) 41 weeks flight duration lost at beginning

More information

Lesson 23: Base Angles of Isosceles Triangles Day 1

Lesson 23: Base Angles of Isosceles Triangles Day 1 Lesson 23: Base Angles of Isosceles Triangles Day 1 Learning Targets I can examine two different proof techniques via a familiar theorem. I can complete proofs involving properties of an isosceles triangle.

More information

8.1 Polynomial-Time Reductions

8.1 Polynomial-Time Reductions 8.1 Polynomial-Time Reductions Classify Problems According to Computational Requirements Q. Which problems will we be able to solve in practice? A working definition. Those with polynomial-time algorithms.

More information

1) Make the flow graph of the whole program on. Test cases are always designed according to the

1) Make the flow graph of the whole program on. Test cases are always designed according to the [Rana, 3(7: July, 2014] ISSN: 2277-9655 (ISRA, Impact Factor: 1.52 IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY A Comparative Study of Basis Path Testing and Graph Matrices

More information

A triangle ( ) is the union of three segments determined by three noncollinear points.

A triangle ( ) is the union of three segments determined by three noncollinear points. Chapter 6 Triangles A triangle ( ) is the union of three segments determined by three noncollinear points. C Each of the three points, A, B and C is a vertex of the triangle. A B AB, BC, and AC are called

More information

not to be republished NCERT CONSTRUCTIONS CHAPTER 10 (A) Main Concepts and Results (B) Multiple Choice Questions

not to be republished NCERT CONSTRUCTIONS CHAPTER 10 (A) Main Concepts and Results (B) Multiple Choice Questions CONSTRUCTIONS CHAPTER 10 (A) Main Concepts and Results Division of a line segment internally in a given ratio. Construction of a triangle similar to a given triangle as per given scale factor which may

More information

Structural Testing. (c) 2007 Mauro Pezzè & Michal Young Ch 12, slide 1

Structural Testing. (c) 2007 Mauro Pezzè & Michal Young Ch 12, slide 1 Structural Testing (c) 2007 Mauro Pezzè & Michal Young Ch 12, slide 1 Learning objectives Understand rationale for structural testing How structural (code-based or glass-box) testing complements functional

More information

7. Testing and Debugging Concurrent Programs

7. Testing and Debugging Concurrent Programs 7. Testing and Debugging Concurrent Programs The purpose of testing is to find program failures => A successful test is a test that causes a program to fail. Ideally, tests are designed before the program

More information

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur School of Computing, Department of IT 1 School of Computing, Department 2 SOFTWARE TESTING

More information

Importance of Predicatebased. Predicate-based Testing. Terms Defined. Terms Defined (2) Terms Defined (3) Assumptions. Thorough testing of C used to

Importance of Predicatebased. Predicate-based Testing. Terms Defined. Terms Defined (2) Terms Defined (3) Assumptions. Thorough testing of C used to Predicate-based Testing Predicates are conditions Divides the input domain into partitions Define the paths of the program Program P Input X; Predicate C If outcome of C is incorrect, Either C is incorrect,

More information

MTAT : Software Testing

MTAT : Software Testing MTAT.03.159: Software Testing Lecture 02: Basic Black-Box and White-Box Testing Techniques (Textbook Ch. 4 & 5) Spring 2018 Dietmar Pfahl email: dietmar.pfahl@ut.ee Structure of Lecture 2 Black-Box vs.

More information

Keywords Test case prioritization, TCP, software testing, Basic path testing, Source code analysis

Keywords Test case prioritization, TCP, software testing, Basic path testing, Source code analysis Volume 5, Issue 4, 2015 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com A Unit Test Case Prioritization

More information

Data Flow Analysis. CSCE Lecture 9-02/15/2018

Data Flow Analysis. CSCE Lecture 9-02/15/2018 Data Flow Analysis CSCE 747 - Lecture 9-02/15/2018 Data Flow Another view - program statements compute and transform data So, look at how that data is passed through the program. Reason about data dependence

More information

UNIT-4 Black Box & White Box Testing

UNIT-4 Black Box & White Box Testing Black Box & White Box Testing Black Box Testing (Functional testing) o Equivalence Partitioning o Boundary Value Analysis o Cause Effect Graphing White Box Testing (Structural testing) o Coverage Testing

More information

Question 1: Given here are some figures: Exercise 3.1 Classify each of them on the basis of the following: (a) Simple curve (b) Simple closed curve (c) Polygon (d) Convex polygon (e) Concave polygon Answer

More information

Class VIII Chapter 3 Understanding Quadrilaterals Maths. Exercise 3.1

Class VIII Chapter 3 Understanding Quadrilaterals Maths. Exercise 3.1 Question 1: Given here are some figures. Exercise 3.1 (1) (2) (3) (4) (5) (6) (7) (8) Classify each of them on the basis of the following. (a) Simple curve (b) Simple closed curve (c) Polygon (d) Convex

More information

Finite Models. Learning objectives

Finite Models. Learning objectives Finite Models 資科系 林偉川 1 Learning objectives Understand goals and implications of finite state abstraction Learn how to model program control flow with graphs Learn how to model the software system structure

More information

Sets 1. The things in a set are called the elements of it. If x is an element of the set S, we say

Sets 1. The things in a set are called the elements of it. If x is an element of the set S, we say Sets 1 Where does mathematics start? What are the ideas which come first, in a logical sense, and form the foundation for everything else? Can we get a very small number of basic ideas? Can we reduce it

More information

For Exercises 1 4, follow these directions. Use the given side lengths.

For Exercises 1 4, follow these directions. Use the given side lengths. A C E Applications Connections Extensions Applications For Exercises 1 4, follow these directions. Use the given side lengths. If possible, build a triangle with the side lengths. Sketch your triangle.

More information

UNIT-4 Black Box & White Box Testing

UNIT-4 Black Box & White Box Testing Black Box & White Box Testing Black Box Testing (Functional testing) o Equivalence Partitioning o Boundary Value Analysis o Cause Effect Graphing White Box Testing (Structural testing) o Coverage Testing

More information

GEOMETRY POSTULATES AND THEOREMS. Postulate 1: Through any two points, there is exactly one line.

GEOMETRY POSTULATES AND THEOREMS. Postulate 1: Through any two points, there is exactly one line. GEOMETRY POSTULATES AND THEOREMS Postulate 1: Through any two points, there is exactly one line. Postulate 2: The measure of any line segment is a unique positive number. The measure (or length) of AB

More information

Formal Systems Tutorial Hybrid System Modeling, Program Analysis

Formal Systems Tutorial Hybrid System Modeling, Program Analysis Formal Systems Tutorial Hybrid System Modeling, Program Analysis Department of Computer Science & Engineering, Indian Institute of Technology, Kharagpur 1. There are three taps in the system, namely Tap-1

More information

Computer Science and Software Engineering University of Wisconsin - Platteville 9-Software Testing, Verification and Validation

Computer Science and Software Engineering University of Wisconsin - Platteville 9-Software Testing, Verification and Validation Computer Science and Software Engineering University of Wisconsin - Platteville 9-Software Testing, Verification and Validation Yan Shi SE 2730 Lecture Notes Verification and Validation Verification: Are

More information

Topic: Software Verification, Validation and Testing Software Engineering. Faculty of Computing Universiti Teknologi Malaysia

Topic: Software Verification, Validation and Testing Software Engineering. Faculty of Computing Universiti Teknologi Malaysia Topic: Software Verification, Validation and Testing Software Engineering Faculty of Computing Universiti Teknologi Malaysia 2016 Software Engineering 2 Recap on SDLC Phases & Artefacts Domain Analysis

More information

Lesson 10: Parts and Types of Triangles

Lesson 10: Parts and Types of Triangles Lesson 10: Parts and Types of Triangles Learning Target: I can find the unknown angles and cite geometric justifications regarding angles in a triangle I can identify different types of triangles based

More information

Live Variable Analysis. Work List Iterative Algorithm Rehashed

Live Variable Analysis. Work List Iterative Algorithm Rehashed Putting Data Flow Analysis to Work Last Time Iterative Worklist Algorithm via Reaching Definitions Why it terminates. What it computes. Why it works. How fast it goes. Today Live Variable Analysis (backward

More information

MATH 113 Section 8.2: Two-Dimensional Figures

MATH 113 Section 8.2: Two-Dimensional Figures MATH 113 Section 8.2: Two-Dimensional Figures Prof. Jonathan Duncan Walla Walla University Winter Quarter, 2008 Outline 1 Classifying Two-Dimensional Shapes 2 Polygons Triangles Quadrilaterals 3 Other

More information

Math 311. Trees Name: A Candel CSUN Math

Math 311. Trees Name: A Candel CSUN Math 1. A simple path in a graph is a path with no repeated edges. A simple circuit is a circuit without repeated edges. 2. Trees are special kinds of graphs. A tree is a connected graph with no simple circuits.

More information

Logic Gates and Boolean Algebra ENT263

Logic Gates and Boolean Algebra ENT263 Logic Gates and Boolean Algebra ENT263 Logic Gates and Boolean Algebra Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels make

More information

An Introduction to Systematic Software Testing. Robert France CSU

An Introduction to Systematic Software Testing. Robert France CSU An Introduction to Systematic Software Testing Robert France CSU Why do we need to systematically test software? Poor quality products can Inconvenience direct and indirect users Result in severe financial

More information

Geometry: general information, symbols, and theorems

Geometry: general information, symbols, and theorems Foundations of Mathematics 11 Chapter 2 Geometry seems like it s full of rules. They do need to be in your head, but not really by memorizing them. It s more a case of understanding them. In this section,

More information

Discovery Activity & Practice

Discovery Activity & Practice Discovery Activity & Practice For the inquiry activity, there are two options. Choose the 2- page version (pages 12-13) for students who need more workspace and extra guidance. For Warm-Up B, choose

More information

White-Box Testing Techniques III

White-Box Testing Techniques III White-Box Testing Techniques III Software Testing and Verification Lecture 9 Prepared by Stephen M. Thebaut, Ph.D. University of Florida White-Box Testing Topics Logic coverage (lecture I) Dataflow coverage

More information

Fachgebiet Softwaretechnik, Heinz Nixdorf Institut, Universität Paderborn. 4. Testing

Fachgebiet Softwaretechnik, Heinz Nixdorf Institut, Universität Paderborn. 4. Testing 4. vs. Model Checking (usually) means checking the correctness of source code Model Checking means verifying the properties of a model given in some formal (not program code) notation Attention: things

More information

Type of Triangle Definition Drawing. Name the triangles below, and list the # of congruent sides and angles:

Type of Triangle Definition Drawing. Name the triangles below, and list the # of congruent sides and angles: Name: Triangles Test Type of Triangle Definition Drawing Right Obtuse Acute Scalene Isosceles Equilateral Number of congruent angles = Congruent sides are of the congruent angles Name the triangles below,

More information

Guided Problem Solving

Guided Problem Solving -1 Guided Problem Solving GPS Student Page 57, Exercises 1 1: Match each rule with the correct translation. A. (x, y) (x, y 1 ) I. P(, 1) P (3, ) B. (x, y) (x 1 3, y) II. Q(3, 0) Q (3, ) C. (x, y) (x 1,

More information

Properties of a Triangle Student Activity Sheet 1; use with Overview

Properties of a Triangle Student Activity Sheet 1; use with Overview Student: Class: Date: Properties of a Triangle Student Activity Sheet 1; use with Overview 1. REEVVI IEEW Suppose points A, B, and C are collinear, where B is between A and C. If AB = 2x + 3, BC = 6x 5,

More information

STRUCTURAL TESTING. AKA White Box Testing. Thanks go to Andreas Zeller for allowing incorporation of his materials. F. Tip and M.

STRUCTURAL TESTING. AKA White Box Testing. Thanks go to Andreas Zeller for allowing incorporation of his materials. F. Tip and M. F. Tip and M. Weintraub STRUCTURAL TESTING AKA White Box Testing Thanks go to Andreas Zeller for allowing incorporation of his materials STRUCTURAL TESTING Testing based on the structure of the code Test

More information

MC/DC Automatic Test Input Data Generation

MC/DC Automatic Test Input Data Generation MC/DC Automatic Test Input Data Generation Zeina Awedikian, Kamel Ayari, Giuliano Antoniol SOCCER Lab (SOftware Cost-effective Change and Evolution Research) Ecole Polytechnique de Montreal 2009 Introduction

More information

COMP 3705 Advanced Software Engineering: Software Testing

COMP 3705 Advanced Software Engineering: Software Testing COMP 3705 Advanced Software Engineering: Software Testing Prof. Matt Rutherford For Next Week Readings For Midterm: Chapter 1 and Sections 2.1-2.6, 3.1 3.5 New material: Chapter 4 Homework #5 http://mjrutherford.org/teaching/2009/winter/comp3705/homeworks

More information

A Theorem of Ramsey- Ramsey s Number

A Theorem of Ramsey- Ramsey s Number A Theorem of Ramsey- Ramsey s Number A simple instance Of 6 (or more) people, either there are 3 each pair of whom are acquainted or there are 3 each pair of whom are unacquainted Can we explain this without

More information

Polygons, Congruence, Similarity Long-Term Memory Review Grade 8 Review 1

Polygons, Congruence, Similarity Long-Term Memory Review Grade 8 Review 1 Review 1 1. In the diagram below, XYZ is congruent to CDE XYZ CDE. Y D E X Z C Complete the following statements: a) C b) XZ c) CDE d) YZ e) Z f) DC 2. In the diagram below, ABC is similar to DEF ABC DEF.

More information

! Greed. O(n log n) interval scheduling. ! Divide-and-conquer. O(n log n) FFT. ! Dynamic programming. O(n 2 ) edit distance.

! Greed. O(n log n) interval scheduling. ! Divide-and-conquer. O(n log n) FFT. ! Dynamic programming. O(n 2 ) edit distance. Algorithm Design Patterns and Anti-Patterns Chapter 8 NP and Computational Intractability Algorithm design patterns. Ex.! Greed. O(n log n) interval scheduling.! Divide-and-conquer. O(n log n) FFT.! Dynamic

More information

Introduction to Dynamic Analysis

Introduction to Dynamic Analysis Introduction to Dynamic Analysis Reading assignment Gary T. Leavens, Yoonsik Cheon, "Design by Contract with JML," draft paper, http://www.eecs.ucf.edu/~leavens/jml//jmldbc.pdf G. Kudrjavets, N. Nagappan,

More information