369 views
1 votes
1 votes

1 Answer

Best answer
1 votes
1 votes

This might work assuming initially power of bot was 0 and power is not increasing in between transitions except the ones mentioned in question.

From level 0, with i/p  as 0 (power) the bot will hit any one amongst 3 obstacles leading to o/p power= -1. [reaches 1st level]

Since bot was not successful, so it has to cross another obstacle in level 2.

Now, while making transitions to 2nd level the bot will cross 2 other obstacles of 1st level, it will gain +2 power, but will also loose -1 on being hit by new obstacle in 2nd level.Total o/p power=-1(from previous level) +2(gain) -1(2nd level obstacle)=0

Finally, while transitioning from second level to last level, it will gain +1 for crossing alternate obstacle of level 2, o/p power=0+1=1

selected by

Related questions

0 votes
0 votes
1 answer
1
SPluto asked May 2, 2019
585 views
Let L1 and L2 be 2 languages which are not regular. Which of these is true?The union of L1 and L2 is not regular.The intersection of L1 and L2 is not regular.Both I and I...
0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4
paditya26 asked Mar 19
106 views
GATE 2024 CS Score 822 Rank 206 Category General What should be the preference order ? How to prepare for interviews and written tests for admissions as well as P...