Upload Button Icon Add office photos

Filter interviews by

Code Vyasa Android Developer Interview Questions, Process, and Tips

Updated 19 Dec 2024

Code Vyasa Android Developer Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Nov 2024.

Round 1 - One-on-one 

(25 Questions)

  • Q1. What are the components of the Android App?
  • Ans. 

    The components of an Android app include activities, services, broadcast receivers, and content providers.

    • Activities: UI components that represent a single screen with a user interface.

    • Services: Background tasks that run independently of the UI.

    • Broadcast Receivers: Respond to system-wide broadcast announcements.

    • Content Providers: Manage a shared set of app data.

  • Answered by AI
  • Q2. Difference between Activity and Fragment.
  • Ans. 

    Activity is a single focused thing that user can do, while Fragment is a modular section of an activity.

    • Activity represents a single screen with a user interface, while Fragment represents a behavior or a portion of user interface in an Activity.

    • An Activity can contain multiple Fragments, but a Fragment cannot exist independently without an Activity.

    • Fragments have their own lifecycle, while they are dependent on the li...

  • Answered by AI
  • Q3. What is databinding?
  • Ans. 

    Databinding is a feature that allows you to bind UI components in your layout to data sources in your app.

    • Databinding eliminates the need for boilerplate code to update UI components with data.

    • It allows for easier communication between UI components and data sources.

    • Databinding can improve code readability and maintainability.

    • Example: Binding a TextView directly to a ViewModel property in an Android app.

  • Answered by AI
  • Q4. On which lifecycle event, the view is attached to the Fragment?
  • Ans. 

    The view is attached to the Fragment during the onAttach() lifecycle event.

    • The onAttach() method is called when the Fragment is associated with its host Activity.

    • This is the first lifecycle method called after the Fragment is created.

    • The onAttach() method receives the Activity as a parameter, allowing the Fragment to interact with its host.

  • Answered by AI
  • Q5. Can we have an activity without a view?
  • Ans. 

    Yes, an activity can exist without a view in Android.

    • An activity can perform background tasks without displaying any UI elements.

    • For example, a music player app may have an activity to handle playback controls in the background.

    • Activities without views are commonly used for tasks like data processing, network operations, or service handling.

  • Answered by AI
  • Q6. What is a broadcast receiver?
  • Ans. 

    A broadcast receiver is an Android component that allows the system to deliver events or messages to the app.

    • Broadcast receivers can be used to listen for system-wide broadcast announcements, such as when the device is booted or when the battery is low.

    • They can also be used to receive custom broadcast messages sent by other apps or components within the same app.

    • Broadcast receivers are registered in the AndroidManifest...

  • Answered by AI
  • Q7. LateInit vs Lazy.
  • Ans. 

    LateInit is used for non-nullable properties that are initialized later, while Lazy is used for properties that are initialized only once when accessed.

    • LateInit is used for non-nullable properties that are initialized later in the code.

    • Lazy is used for properties that are initialized only once when accessed, making it suitable for expensive operations.

    • LateInit properties must be initialized before accessing, while Lazy

  • Answered by AI
  • Q8. Have you worked with ViewPager2 and ListAdapter?
  • Ans. 

    Yes, I have experience working with ViewPager2 and ListAdapter.

    • Implemented ViewPager2 to create swipeable screens in Android apps.

    • Utilized ListAdapter to efficiently manage data for RecyclerViews.

    • Used ListAdapter's DiffUtil to efficiently update RecyclerView items.

  • Answered by AI
  • Q9. How can we do pagination?
  • Ans. 

    Pagination in Android can be achieved by using libraries like Paging Library or implementing custom pagination logic.

    • Use Paging Library provided by Android Architecture Components

    • Implement custom pagination logic by loading data in chunks

    • Update RecyclerView adapter with new data as user scrolls

  • Answered by AI
  • Q10. Explain some layouts you have worked on.
  • Ans. 

    I have worked on various layouts including linear, relative, grid, and constraint layouts.

    • Implemented linear layouts to arrange views in a single column or row.

    • Utilized relative layouts to position views relative to each other.

    • Used grid layouts for displaying data in a grid-like structure.

    • Implemented constraint layouts for creating complex and flexible UI designs.

  • Answered by AI
  • Q11. How to set the view in the middle in ContraintLayout?
  • Ans. 

    To set a view in the middle in ConstraintLayout, use layout_constraintStart_toStartOf, layout_constraintEnd_toEndOf, layout_constraintTop_toTopOf, and layout_constraintBottom_toBottomOf attributes.

    • Use layout_constraintStart_toStartOf and layout_constraintEnd_toEndOf to align horizontally in the middle.

    • Use layout_constraintTop_toTopOf and layout_constraintBottom_toBottomOf to align vertically in the middle.

    • Set both hori...

  • Answered by AI
  • Q12. What is the suspend function?
  • Ans. 

    A suspend function is a function that can be paused and resumed at a later time without blocking the main thread.

    • Suspend functions are used in Kotlin coroutines to perform asynchronous operations.

    • They are defined using the 'suspend' keyword in the function signature.

    • Suspend functions can only be called from within another suspend function or a coroutine builder like 'launch' or 'async'.

  • Answered by AI
  • Q13. How to launch coroutines?
  • Ans. 

    Coroutines in Android can be launched using the 'launch' function from the CoroutineScope.

    • Use the 'launch' function from the CoroutineScope to start a coroutine.

    • Specify the context in which the coroutine should run, such as Dispatchers.Main for the main thread.

    • Handle exceptions within the coroutine using try-catch blocks.

    • Example: CoroutineScope(Dispatchers.Main).launch { // coroutine code here }

  • Answered by AI
  • Q14. How to update UI in coroutine scope?
  • Ans. 

    Use runOnUiThread or withContext(Dispatchers.Main) to update UI in coroutine scope.

    • Use runOnUiThread to update UI from a background thread.

    • Use withContext(Dispatchers.Main) to switch to the main thread in coroutine scope.

    • Example: runOnUiThread { textView.text = "Updated text" }

    • Example: withContext(Dispatchers.Main) { textView.text = "Updated text" }

  • Answered by AI
  • Q15. HashMap vs LinkedHashMap.
  • Ans. 

    HashMap is unordered, LinkedHashMap maintains insertion order.

    • HashMap does not maintain insertion order, LinkedHashMap maintains insertion order.

    • HashMap allows one null key and multiple null values, LinkedHashMap allows one null key and multiple null values.

    • HashMap is faster for iteration, LinkedHashMap is slower due to maintaining order.

  • Answered by AI
  • Q16. Write syntax for HashMap in Kotlin and Java and put some values.
  • Ans. 

    Syntax for HashMap in Kotlin and Java with values.

    • In Kotlin:

    • val hashMap = hashMapOf<String, Int>()

    • hashMap.put("key1", 1)

    • hashMap.put("key2", 2)

    • In Java:

    • HashMap<String, Integer> hashMap = new HashMap<>();

    • hashMap.put("key1", 1);

    • hashMap.put("key2", 2);

  • Answered by AI
  • Q17. Val vs Var.
  • Ans. 

    Val is immutable, Var is mutable in Kotlin programming language.

    • Val is used for read-only variables, cannot be reassigned.

    • Var is used for mutable variables, can be reassigned.

    • Val is preferred for better code safety and readability.

    • Example: val name = "John" vs var age = 30

  • Answered by AI
  • Q18. Let and apply scoped function.
  • Ans. 

    Let and apply are scoped functions in Kotlin used for executing a block of code on an object.

    • Let function is used to execute a block of code on a non-null object and return the result.

    • Apply function is used to initialize an object and perform operations on it without explicitly returning a value.

  • Answered by AI
  • Q19. Project-related questions.
  • Q20. How to send data between two activities?
  • Ans. 

    Data can be sent between two activities in Android using Intent with putExtra() method.

    • Create an Intent object in the sending activity

    • Use putExtra() method to add data to the Intent

    • Start the second activity with startActivity() method, passing the Intent

    • Retrieve the data in the receiving activity using getIntent() and getExtra()

  • Answered by AI
  • Q21. What is Hot and Cold Flow?
  • Ans. 

    Hot and Cold Flow is a design pattern used in Android development to manage the flow of data between components.

    • Hot Flow refers to the flow of data that is actively being observed and updated in real-time.

    • Cold Flow refers to the flow of data that is not actively being observed and updated, but can be retrieved when needed.

    • Hot Flow is typically used for real-time updates, while Cold Flow is used for fetching data on dem

  • Answered by AI
  • Q22. RecyclerView vs ListView.
  • Ans. 

    RecyclerView is more efficient for displaying large datasets and supports various layout managers, while ListView is simpler and easier to implement.

    • RecyclerView is more efficient for displaying large datasets as it only creates enough views to fill the screen, while ListView creates all views at once.

    • RecyclerView supports various layout managers like LinearLayoutManager, GridLayoutManager, and StaggeredGridLayoutManag...

  • Answered by AI
  • Q23. What is sealed classes?
  • Ans. 

    Sealed classes are used to restrict inheritance in Kotlin, allowing a class to have a fixed set of subclasses.

    • Sealed classes are declared using the 'sealed' keyword.

    • They can only be extended within the same file where they are declared.

    • Sealed classes are often used in conjunction with when expressions for exhaustive checking.

  • Answered by AI
  • Q24. What is back stack?
  • Ans. 

    Back stack is a stack of activities in Android that keeps track of the navigation history.

    • Back stack is managed by the Android system to handle the navigation flow of activities.

    • When a new activity is started, it is pushed onto the back stack.

    • Pressing the back button pops the top activity off the stack and navigates to the previous activity.

    • Activities in the back stack can be brought to the foreground by using the appr

  • Answered by AI
  • Q25. Difference between hashcode, equals() and ==.
  • Ans. 

    Hashcode is a unique identifier for an object, equals() compares the content of two objects, and == checks if two references point to the same object.

    • Hashcode is an integer value generated by a hashing algorithm to uniquely identify an object.

    • equals() method is used to compare the content of two objects for equality.

    • == operator checks if two references point to the same object in memory.

    • Example: String class overrides ...

  • Answered by AI

Interview questions from similar companies

I applied via Company Website and was interviewed before Sep 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Logical Aptitude, Verbal, Numerical

Round 3 - Coding Test 

2 codes one small and easy , another big and medium difficultly

Round 4 - Behavioral 

(2 Questions)

  • Q1. Introduction , Academic Project,
  • Q2. Coding Questions, Company Related Questions

Interview Preparation Tips

Topics to prepare for TCS Software Developer interview:
  • Coding
Interview preparation tips for other job seekers - In aptitude focus on Logical and Verbal aptitude and work on projects and coding skills

Interview Questionnaire 

2 Questions

  • Q1. Python
  • Q2. Webdevelopment

Interview Questionnaire 

1 Question

  • Q1. Some basic programming and technical questions of python

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well ! :) All the best

I appeared for an interview before Jul 2021.

Round 1 - Aptitude Test 

This will be a general apptitude test where a questionnaire is consist of reasoning, English and Maths questions

Round 2 - One-on-one 

(3 Questions)

  • Q1. Tell us about yourself
  • Q2. What do you know about our company
  • Q3. Where do you see yourself in the next 5 years

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare yourself for general apptitude. And for interview one-on-one, Stay calm and focused. Just be yourself, know you gonna provide to the company

Interview Questionnaire 

1 Question

  • Q1. Design facebook
  • Ans. 

    Designing Facebook is a complex task involving various components and technologies.

    • Identify the core features of Facebook such as user profiles, news feed, messaging, and groups.

    • Choose appropriate technologies for each component such as PHP for backend, React for frontend, and MySQL for database.

    • Ensure scalability and performance by implementing caching, load balancing, and database sharding.

    • Implement security measures...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Database, logical reasoning

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. How to check Java version?
  • Ans. 

    To check Java version, use command prompt/terminal and type 'java -version'.

    • Open command prompt/terminal

    • Type 'java -version'

    • Press enter

    • The installed Java version will be displayed

  • Answered by AI
  • Q2. What is the syntax of the main method?
  • Ans. 

    The main method syntax is a standard entry point for Java programs.

    • The main method must be declared as public, static, and void.

    • The method name must be 'main'.

    • The method must accept an array of strings as an argument.

    • The method must be defined within a class.

    • Example: public static void main(String[] args) { }

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Go by yourself.
Look professional. Dress in a manner appropriate to the job.
Bring your sense of humor and smile🙂.
Maintain eye contact.
Display confidence during the interview .

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Are you willing to relocate?
  • Q2. Why should I hire you?

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical and Hr interview done at same place. It lasted about 40minutes. The interviewer test both my technical knowledge and communication skills. I tell most of the answer. They check patience level.He stressed on my final year project . Asking about range and specification of compotents which I heve used in my project. Finally ask some HR questions.

I appeared for an interview before Nov 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 180 Minutes
Round difficulty - Medium

The test was started in the evening 4pm approx.
It was flexible due to Corona so we gave the test from our home only.
It had listening skill activity too according to which we were marked .
Interviewer was very supportive because of which it was easier for us to open up easily .

  • Q1. 

    Arithmetic Expression Evaluation Problem Statement

    You are provided with a string expression consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic express...

  • Ans. 

    Evaluate arithmetic expressions in infix notation with given operators and precedence rules.

    • Parse the infix expression to postfix using a stack and then evaluate the postfix expression using another stack

    • Use a stack to keep track of operators and operands while parsing the expression

    • Handle operator precedence and associativity rules while converting to postfix and evaluating the expression

  • Answered by AI
  • Q2. 

    Valid Parentheses Problem Statement

    Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

    Input:

    The first line contains an...
  • Ans. 

    The task is to determine if a given string of parentheses is balanced or not.

    • Iterate through the characters of the string and use a stack to keep track of opening parentheses.

    • When encountering an opening parenthesis, push it onto the stack. When encountering a closing parenthesis, check if it matches the top of the stack.

    • If the stack is empty at the end or there are unmatched parentheses, the string is not balanced.

    • Exa...

  • Answered by AI
Round 2 - HR 

(1 Question)

Round duration - 20 Minutes
Round difficulty - Medium

Interview

  • Q1. 

    Reverse Number Problem Statement

    Ninja is exploring new challenges and desires to reverse a given number. Your task is to assist Ninja in reversing the number provided.

    Note:

    If a number has trailing ze...

  • Ans. 

    Implement a function to reverse a given number, omitting trailing zeros.

    • Create a function that takes an integer as input and reverses it while omitting trailing zeros

    • Use string manipulation to reverse the number and remove any trailing zeros

    • Handle test cases where the number has leading zeros as well

    • Ensure the reversed number is printed for each test case on a new line

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaCGPA above 6.5 and no active backlogsAccenture interview preparation:Topics to prepare for the interview - Oops, dmbs, rdbms, mysql, SDLC, projects, data structure and basic electronics.Time required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : confidence is the key.
Tip 2 : focus on communication skills.
Tip 3 : be honest and well prepared about your projects and trainings .

Application resume tips for other job seekers

Tip 1 : it should be to the point.
Tip 2 : be honest. And one should know everything that is written down there.

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Puzzles, Psychometric Test

Round 2 - One-on-one 

(1 Question)

  • Q1. Some water in 3 Jars question, you had to measure out 5L correctly

Interview Preparation Tips

Interview preparation tips for other job seekers - Make the interview interactive, I got this input from another Senior. Before i went into the interview room the volunteers were telling all those who goes into Room No 1 is screwed. I was praying i don't get room no 1. But fortunately for me I got room no 1 because when the interviewer gave me the puzzle and handed over pen and paper he went back to relax his posture and when i explained i will fill the 5L Jar first, he immediately came forward to listen to me, at that moment i knew i got the job because i felt the previous candidates never made their interview interactive and that's why he went back to relax his posture.

Code Vyasa Interview FAQs

How many rounds are there in Code Vyasa Android Developer interview?
Code Vyasa interview process usually has 1 rounds. The most common rounds in the Code Vyasa interview process are One-on-one Round.
How to prepare for Code Vyasa Android Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Code Vyasa. The most common topics and skills that interviewers at Code Vyasa expect are Android, Core Java and Kotlin.
What are the top questions asked in Code Vyasa Android Developer interview?

Some of the top questions asked at the Code Vyasa Android Developer interview -

  1. On which lifecycle event, the view is attached to the Fragme...read more
  2. How to set the view in the middle in ContraintLayo...read more
  3. What are the components of the Android A...read more

Tell us how to improve this page.

Code Vyasa Android Developer Interview Process

based on 1 interview

Interview experience

3
  
Average
View more
Software Engineer2
15 salaries
unlock blur

₹7.5 L/yr - ₹18 L/yr

Software Engineer
12 salaries
unlock blur

₹7.6 L/yr - ₹14 L/yr

Senior Software Engineer
11 salaries
unlock blur

₹6.3 L/yr - ₹17 L/yr

Product Designer
8 salaries
unlock blur

₹11 L/yr - ₹12.1 L/yr

Software Developer II
5 salaries
unlock blur

₹7.5 L/yr - ₹12 L/yr

Explore more salaries
Compare Code Vyasa with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview