← Discussions Club

2

The hard question for testers

QAProvider QAProvider · il y a 5 ans · 2,081 vues

The question: When I was 4, my sister was 2. I am now 44. How old is my sister?

Developer answers: 44 - (4-2) = 42

What is your answer tester?

16 commentaires

0
R Roman · il y a 5 ans

if testers thought like developers they would be developers)))

QAProvider QAProvider · il y a 5 ans

Indeed.

But do you have other ideas on how to answer to this question?

Is 42 the right answer?

0
R Roman · il y a 5 ans

The two-year difference between me and my sister will continue throughout my life, so when me turns 44, my sister's age will be 42

QAProvider QAProvider · il y a 5 ans

Ok, lets imagine. One additional question that might help you think widely:

Do you have a birthday at the same day?

1
R Roman · il y a 5 ans

Then there are many options.My sister was born one day after my 2nd birthday.  On my 2nd birthday she was still unborn.  So by the time I am 44, she’s still 41.

QAProvider QAProvider · il y a 5 ans

Great! Do you have other ideas? :)

0
R Roman · il y a 5 ans

All factors

 seconds

minutes

clock

days

week

months

years

0
QAProvider QAProvider · il y a 5 ans

Let's get out from our real life. How about dramatic situations?

1
R Roman · il y a 5 ans

If my sister died when she was 2. I will be 44, my sister will be 2.

0
QAProvider QAProvider · il y a 5 ans

There are still other situations that can be assumed answering this question for the tester.

1
R Roman · il y a 5 ans

Suppose I was born on 29/02/1977 and my sister on 01/03/1979. Since 2021 is not a leap year my birthday will be moved to March 1st. Then my sister will be 42 and I will be 44.

QAProvider QAProvider · il y a 5 ans

Good idea to think about 29th of February! Anything else that might impact? :)

1
R Roman · il y a 5 ans

Depending on the nationality of the brother and sister, there may be different calendars. For example, the Muslim calendar is 29 days 12 hours 44 minutes 3.8 seconds, so in some months 29 days, and in others - 30. There will be another calculation).

QAProvider QAProvider · il y a 5 ans

Cool! How about astronauts?

0
R Roman · il y a 5 ans

I was thinking about it)

2
R Roman · il y a 5 ans

This is no longer a task to clarify the specification)

Connexion pour rejoindre la conversation.