Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumSoftware Testing @ OneStopTestingBeginners @ OneStopTesting

Message Icon Topic: Statement Coverage and Decision Coverage

Post Reply Post New Topic
Author Message
anju083
Newbie
Newbie


Joined: 25Sep2008
Location: India
Online Status: Offline
Posts: 1
Quote anju083 Replybullet Topic: Statement Coverage and Decision Coverage
    Posted: 19Jun2009 at 3:10am
1.Calculate Statement and Decision Coverage (Please Explain in detail)

(1.1) Read A
       Read B
          IF A > 0 THEN
           IF B = 0 THEN
            Print “No values”
           ELSE
             Print B
          IF A > 21 THEN
             Print A
           ENDIF
        ENDIF
        ENDIF
(1.2) Read A
        Read B
        IF A < 0 THEN
           Print “A negative”
           ELSE
           Print “A positive”
           ENDIF
              IF B < 0 THEN
                 Print “B negative”
              ELSE
                 Print “B positive”
           ENDIF
Thanks in Advance



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.313 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting