iRobot Mock Interview

Practice 28 iRobot interview questions covering robotics, product innovation, and consumer technology.

Question 7 of 28

If hired here at iRobot to develop iOS and Android software, when would you use a fragment rather than an activity?

  • How to Answer

  • Example Answer

  • Community Answers

Ryan Brunner
Ryan Brunner

Ryan Brunner has over ten years of experience recruiting, interviewing, and hiring candidates in the healthcare, public service, and private manufacturing/distribution industries.

In the development of apps for both iOS and Android, using code to create an activity versus a fragment is a highly debated topic to this day. For this question, your interviewer is looking to hear that you understand what the differences between the two are and when you feel that using a fragment is the proper direction to go. Make sure to speak to the high level overview of what an activity does to an app versus fragments.