← Клуб обсуждений

2

The hard question for testers

QAProvider QAProvider · 5 лет назад · 2,079 просмотров

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 комментариев

0
R Roman · 5 лет назад

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

QAProvider QAProvider · 5 лет назад

Indeed.

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

Is 42 the right answer?

0
R Roman · 5 лет назад

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 · 5 лет назад

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

Do you have a birthday at the same day?

1
R Roman · 5 лет назад

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 · 5 лет назад

Great! Do you have other ideas? :)

0
R Roman · 5 лет назад

All factors

 seconds

minutes

clock

days

week

months

years

0
QAProvider QAProvider · 5 лет назад

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

1
R Roman · 5 лет назад

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

0
QAProvider QAProvider · 5 лет назад

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

1
R Roman · 5 лет назад

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 · 5 лет назад

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

1
R Roman · 5 лет назад

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 · 5 лет назад

Cool! How about astronauts?

0
R Roman · 5 лет назад

I was thinking about it)

2
R Roman · 5 лет назад

This is no longer a task to clarify the specification)

Войти чтобы присоединиться к разговору.