Lecture.
We are going to understand example three of boundary value analysis but let's see the question first
question is quite simple.
An input field takes the year of birth between 1 9 0 0 and 2 0 0 4 the boundary value.
For testing these fields are these are the boundary values which they have given you.
So now you have to find out which is the correct answer.
Hugh first we have to analyze the question.
And here you can see the boundary quite clearly.
So this is going to be a boundary 1 9 0 0 and 2 0 0 4.
There is a catch here and that is why I have provided you discussion.
So when we analyze we will come to know that.
So this diagram we will use for analysing the options.
So this is valid range in value.
And this is invalid.
So now let's see the region.
These are the different areas where we have to put our values and now we will analyze the option with
that diagram which we have gone by seeing the question
so these are the four different categories let's start with option e option is his first value is 0
4 0 will be somewhere here then comes 1 9 0 0 1 9 0 0 will be in the line 2 0 0 4 2 0 0 4 will be somewhere
here and then comes to the 0 5 4 2 0 0 5 will be here.
If you see this these two are in the boundary but this is 0 and this is 1 9 0 0 I believe it should
be 1 8 9 9 but this is quite far from the boundary so that is the reason option is not our answer No
let's look for option b when we enter an option be the first where Lewis 1 9 0 0 and other 1 is 2 0
0 4 they both are on the boundary itself what about the invalid very tedious we are not covering the
invalid option here and that's the reason we cannot see option B is correct.
So now we'll move to Option C options he is 1 8 9 9.
That's really good value because for Option C 1 8 9 9 will come here next value is 1 9 0 0 which will
be on the line if you see this one this is what invalid and this is for valid value next to 1 year 2004
and 2005 so 2004 will be on the line and 2005 will be here no biasing Option C you must be thinking
this is down to because you got one in value then you got valid then you got invalid and then you got
so you got value value and then you got invalid value but now let us look into option D when you are
in option B 1 8 9 9 1 8 9 and will come here then 1 9 0 0 which will come online next Ray Lewis 1 9
0 1 which will come just after that then.
2003 2003 will be just before 2004.
So this is 2003 then 2004 and 2005.
So this will be 2004 and this will be 2005.
So option C represents two point boundary value analysis and option B represents three point boundary
value analysis both done so correct.
But which option you have to select things in the question.
It was not mentioned that you have to go ask a three point boundary value analysis by default.
You have to select two point boundary value analysis and in that case option C is going to be your answer.
I hope this is clear.
If it is mentioned in the cushion that go for three point boundary value analysis then only go for it.
And the other scenario could be.
So both options is not there.
Instead of that something else is that which is not the correct answer then you have Option B then you
have to select this one but if you have two point three one then you have to prioritize 2.0 over that.
This is clear to you and this I ending this lecture and I will see the next one underlined.
Happy to see.