Android Engineer Interview Questions

10,454 android engineer interview questions shared by candidates

1. Given an array with +ve and -ve numbers , how will you find the pair with sum close to 0 2. Given a sequence with 1?0?0 how will you get all combination with 0 and 1 , answer 11010 11000 10000 10010 Asked questions involving aidl , fragment, ipc , how to run one activity from other , service , how to make sure a process runs with a certain time interval even though the phone is rebooted .
avatar

Android Frameworks Engineer

Interviewed at Samsung Research America

3.4
May 26, 2016

1. Given an array with +ve and -ve numbers , how will you find the pair with sum close to 0 2. Given a sequence with 1?0?0 how will you get all combination with 0 and 1 , answer 11010 11000 10000 10010 Asked questions involving aidl , fragment, ipc , how to run one activity from other , service , how to make sure a process runs with a certain time interval even though the phone is rebooted .

Create a class hierarchy to classify numeric values with interface Number. Define subclasses WholeNumber and RealNumber. WholeNumber has subclasses EvenNumber and OddNumber. For each integer in the inclusive range 0 to 10 descending, create a new instance of the appropriate number subclass and add it to an STL structure that supports efficient insertion and retrieval. Efficiently iterate your container and print the numeric value and whether the object is an EvenNumber, OddNumber, or RealNumber for each object. Efficiently locate the object with the smallest value not less than 9.5 and print its value. All your interactions with objects should be through the Number interface.
avatar

Android Developer

Interviewed at Garmin

3.7
Jun 15, 2020

Create a class hierarchy to classify numeric values with interface Number. Define subclasses WholeNumber and RealNumber. WholeNumber has subclasses EvenNumber and OddNumber. For each integer in the inclusive range 0 to 10 descending, create a new instance of the appropriate number subclass and add it to an STL structure that supports efficient insertion and retrieval. Efficiently iterate your container and print the numeric value and whether the object is an EvenNumber, OddNumber, or RealNumber for each object. Efficiently locate the object with the smallest value not less than 9.5 and print its value. All your interactions with objects should be through the Number interface.

Viewing 1551 - 1560 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 10,454 interview questions and reports from Android engineer interviews. Prepare for your interview. Get hired. Love your job.