Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Given a black box description of the input to a program P1: integer X in [-10, -5] or [10, 15] what are the equivalence

a) Given a black box description of the input to a program P1:

integer X in [-10, -5] or [10, 15]

what are the equivalence classes for X?

b) Based on equivalence class partitioning, create a test set T1E for P1.

c) Based on boundary value analysis, create a test set T1B for P1.

d) Given a black box description of the input to a program P2:

floating point number X with a granularity of 0.1 and integer N:

Input X Output N

[0, 32.0) -1

[32.0, 100.0) 1

[100.0, 212.0] 2

what are the equivalence classes for X?

e) Based on equivalence class partitioning, create a test set T2E for P2.

f) Based on boundary value analysis, create a test set T2B for P2.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions