i
Cerence
Filter interviews by
I applied via Naukri.com
Activity and Fragment have different life cycles in Android development.
Activity life cycle includes methods like onCreate, onStart, onResume, onPause, onStop, onDestroy.
Fragment life cycle includes methods like onAttach, onCreate, onCreateView, onActivityCreated, onStart, onResume, onPause, onStop, onDestroyView, onDestroy, onDetach.
Fragments can be added or removed dynamically during the activity life cycle.
Fragments...
Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by mocking dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
posted on 19 Dec 2024
I applied via Campus Placement
It was good 20 mcqs 3 coding questions
Data structure related question
To find the second highest integer in an array, sort the array in descending order and return the second element.
Sort the array in descending order
Return the second element in the sorted array
Handle edge cases like duplicates or small arrays
I applied via LinkedIn and was interviewed in Jun 2024. There were 4 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
Find the first non-repetitive character in a string.
Iterate through the string and count the occurrences of each character.
Return the first character with a count of 1.
Scenario based questions
I was interviewed in Jul 2024.
Create an API using Notepad to check if a string is a palindrome or not.
posted on 9 Jul 2024
Basic OOP questions for python programming language
Abstraction is the concept of hiding complex implementation details and showing only the necessary information to the user.
Abstraction allows users to focus on what an object does instead of how it does it
It helps in reducing complexity and improving efficiency in software development
Example: In object-oriented programming, abstract classes and interfaces are used to achieve abstraction
SQL databases are relational databases with structured data, while NoSQL databases are non-relational databases with flexible, unstructured data.
SQL databases use structured query language for defining and manipulating data, while NoSQL databases use different query languages or APIs.
SQL databases are table-based, with a predefined schema, while NoSQL databases are document, key-value, wide-column, or graph-based.
SQL d...
Reverse a linked list by changing the direction of pointers
Start with three pointers: current, prev, and next
Iterate through the linked list, updating pointers to reverse the direction
Update the head of the linked list to the last node after reversing
Binary search algorithm efficiently finds the target value in a sorted array.
Start by defining the low and high indices of the array.
Calculate the mid index and compare the target value with the value at mid.
If target is less than mid value, update high to mid-1; if greater, update low to mid+1.
Repeat until target is found or low is greater than high.
posted on 21 Aug 2024
I applied via LinkedIn and was interviewed in Feb 2024. There were 3 interview rounds.
A circular queue can be identified by checking if the rear pointer is one position behind the front pointer.
Check if rear pointer is one position behind front pointer
Check if front pointer is at index 0 and rear pointer is at index n-1 in an array of size n
Check if front pointer is at index rear+1 modulo n in an array of size n
Design a notification system for a software application.
Identify the types of notifications needed (e.g. email, SMS, in-app)
Consider the frequency and urgency of notifications
Implement a notification queue to handle multiple notifications
Include user preferences for notification settings
Utilize push notifications for real-time updates
Write multiple polyfills for array
I applied via Job Portal and was interviewed in Mar 2024. There were 2 interview rounds.
Know your resume and your basics
Know class diagrams. Very Huge for workday.
Software Engineer
124
salaries
| ₹6 L/yr - ₹18 L/yr |
Senior Software Engineer
101
salaries
| ₹12 L/yr - ₹30 L/yr |
Software Quality Assurance Engineer
57
salaries
| ₹7 L/yr - ₹14.3 L/yr |
Associate Software Engineer
28
salaries
| ₹4.4 L/yr - ₹8.9 L/yr |
Software Developer
24
salaries
| ₹7.7 L/yr - ₹22 L/yr |
TCS
Infosys
Wipro
HCLTech