Add office photos
Photon Interactive logo
Engaged Employer

Photon Interactive

Verified
4.0
based on 1.8k Reviews
Video summary
Filter interviews by
Senior Android Developer
Clear (1)

Photon Interactive Senior Android Developer Interview Questions and Answers

Updated 14 Apr 2024

Q1. Find the vowels in a string and convert that into upper case

Ans.

Convert vowels in a string to uppercase

  • Iterate through each character in the string

  • Check if the character is a vowel (a, e, i, o, u)

  • If it is a vowel, convert it to uppercase

Add your answer
right arrow

Q2. Explain about jet compose

Ans.

Jet Compose is a modern UI toolkit for building native Android apps using a declarative approach.

  • Jet Compose is a declarative UI framework for building Android apps.

  • It allows developers to create UI components using Kotlin code.

  • Jet Compose simplifies UI development by eliminating the need for XML layouts.

  • It provides a more flexible and efficient way to create dynamic UIs.

  • Jet Compose is part of the Jetpack libraries provided by Google.

Add your answer
right arrow

Q3. Sealed claa in kotlin

Ans.

Sealed classes in Kotlin are used to represent restricted class hierarchies.

  • Sealed classes can have a limited set of subclasses defined within the same file.

  • They are useful for representing a fixed set of types in a hierarchy.

  • Sealed classes are often used in when expressions for exhaustive checks.

Add your answer
right arrow

Q4. Extension function in kotlin

Ans.

Extension functions in Kotlin allow you to add new functions to existing classes without modifying their source code.

  • Extension functions are defined outside of the class they extend.

  • They can be called on instances of the class as if they were regular methods.

  • They can access the properties and methods of the class they extend.

  • Example: fun String.isEmailValid(): Boolean { ... }

  • Example: fun Int.isEven(): Boolean { ... }

Add your answer
right arrow
Discover Photon Interactive interview dos and don'ts from real experiences

Q5. Null safety in kotlin

Ans.

Null safety in Kotlin ensures that variables cannot hold null values unless explicitly specified.

  • Kotlin uses nullable and non-nullable types to enforce null safety.

  • The '?' operator is used to declare a variable as nullable.

  • Safe call operator '?.' is used to safely access properties or methods of nullable objects.

  • The '!!' operator is used for force unwrapping nullable types, but can lead to NullPointerExceptions.

Add your answer
right arrow

Q6. Room data base explanation

Ans.

Room database is a persistence library that provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.

  • Room database simplifies database interactions by providing compile-time verification of SQL queries.

  • It consists of three main components: Entity, DAO (Data Access Object), and Database.

  • Entities represent tables in the database, DAOs define methods to interact with the database, and Database is the main access...read more

Add your answer
right arrow

Q7. Explain about MVVM

Ans.

MVVM is an architectural pattern used in software development, particularly in Android apps, to separate the user interface from the business logic.

  • MVVM stands for Model-View-ViewModel

  • Model represents the data and business logic

  • View is the UI component that displays the data and interacts with the user

  • ViewModel acts as a mediator between the Model and View, handling user interactions and updating the Model

  • MVVM helps in separating concerns, making code more modular and easier ...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Photon Interactive Senior Android Developer

based on 3 interviews
Interview experience
4.3
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
CAMPUS PLACEMENT
Board of Technical Education (BTE)
CAMPUS PLACEMENT
Government Polytechnic, Rajkot
INTERVIEWS
Grasim Industries
No Interviews
INTERVIEWS
Photon Interactive
No Interviews
CAMPUS PLACEMENT
Sathyabama University
INTERVIEWS
Grasim Industries
5.6k top interview questions
INTERVIEWS
Photon Interactive
5.6k top interview questions
INTERVIEWS
Allstate
No Interviews
INTERVIEWS
Photon Interactive
No Interviews
INTERVIEWS
Kvell Infrastructure
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter