Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.
Asynchronous programming allows tasks to run concurrently, but can lead to complex code and potential race conditions.
Difficult to debug due to non-linear flow of execution
Potential for race conditions when multiple tasks access shared resources
Complex error handling and callback hell can make code hard to read and maintain
Events are a higher-level concept that allows objects to communicate without knowing each other, while delegates are a type-safe function pointers.
Events are based on the observer design pattern, where an object (the publisher) maintains a list of other objects (subscribers) that are interested in being notified when a certain event occurs.
Delegates are similar to function pointers in C++, but with type safety and obje...
Program to check prime number and reverse a string
For checking prime number, iterate from 2 to n/2 and check if n is divisible by any number
For reversing a string, use a loop to iterate through the characters and build the reversed string
Singleton class ensures only one instance of a class is created and provides a global point of access to it.
Use a private static variable to hold the instance of the class.
Make the constructor private to prevent instantiation from outside the class.
Provide a static method to access the instance, creating it if necessary.
ref and out are keywords in C# used for passing arguments to methods by reference.
ref keyword is used to pass arguments by reference, allowing the method to modify the value of the argument
out keyword is similar to ref, but the argument does not have to be initialized before being passed to the method
Example: void UpdateValue(ref int num) { num = num * 2; }
Example: void GetValues(out int a, out int b) { a = 10; b = 20;
Top trending discussions
posted on 7 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
There are multiple ways to share data between apps, including using intents, content providers, broadcast receivers, and shared preferences.
Using Intents: Allows apps to send and receive data through an Intent object.
Content Providers: Enable apps to share data with other apps by exposing a structured set of data through a URI.
Broadcast Receivers: Apps can send broadcasts to other apps to share data or events.
Shared Pr...
The app lifecycle includes states like running in the background, onStop, and onRestart.
App running in the background: When the app is not visible but still running, it is in the background state.
onStop state: Occurs when the activity is no longer visible to the user.
onRestart state: Follows onStop and is called when the activity is being re-displayed to the user.
AIDL stands for Android Interface Definition Language, used for inter-process communication in Android development.
AIDL is a tool used to define the programming interface that clients and servers use to communicate with each other in Android.
It allows different Android components to communicate with each other across different processes.
AIDL files define the methods that can be called remotely, along with the data type
JNI stands for Java Native Interface, used to integrate Java code with native code written in languages like C/C++.
Experience in writing Java code that interacts with native code through JNI
Understanding of how to create and use JNI libraries
Knowledge of passing data between Java and native code using JNI functions
A service is a piece of code that performs specific tasks or functions to support the overall functionality of a software application.
Services are often used for tasks such as data processing, communication with external systems, or background tasks.
Examples of services include web services, REST APIs, and microservices.
Services can run independently of the user interface and can be accessed by multiple components with
Threads are independent sequences of execution within a process, while coroutines are cooperative routines that can pause and resume.
Threads are managed by the operating system, while coroutines are managed by the programmer.
Threads run concurrently and can execute in parallel on multiple cores, while coroutines are typically single-threaded.
Threads have their own stack and memory space, while coroutines share the same...
Background tasks in Android can be performed using services, AsyncTask, JobScheduler, or WorkManager.
Use Services for long-running tasks in the background
AsyncTask for short background tasks that need to interact with the UI
JobScheduler for deferrable background tasks that require network connectivity
WorkManager for tasks that need to run reliably across different Android versions
I applied via Campus Placement and was interviewed in Jul 2024. There were 2 interview rounds.
First Round was Aptitude and coding round. It consist 70 question, 30 aptitude question and 40 mcq type coding question
Find the one repeated number in an array using four different approaches.
Approach 1: Using a hash set to store unique elements and checking for duplicates
Approach 2: Sorting the array and checking adjacent elements for duplicates
Approach 3: Using XOR operation to find the repeated number
Approach 4: Using the sum formula to find the repeated number
I applied via campus placement at AMC Engineering College, Bangalore and was interviewed in Aug 2024. There were 2 interview rounds.
1 hour, 45 questions
I am a software developer with 5 years of experience in Java, Python, and SQL.
5 years of experience in Java, Python, and SQL
Strong problem-solving skills
Experience working in Agile development environment
Familiar with version control systems like Git
Passionate about learning new technologies
My strengths include problem-solving skills, attention to detail, and strong programming abilities.
Strong problem-solving skills - I am able to analyze complex problems and come up with effective solutions.
Attention to detail - I pay close attention to the details in my code to ensure accuracy and quality.
Strong programming abilities - I have a solid understanding of various programming languages and technologies.
Team ...
I have a strong background in software development, a passion for learning new technologies, and a proven track record of delivering high-quality code.
Extensive experience in software development
Passion for learning new technologies
Proven track record of delivering high-quality code
posted on 1 Nov 2023
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
JVM stands for Java Virtual Machine, which is responsible for running Java programs. JRE stands for Java Runtime Environment, which includes JVM along with libraries and other components necessary for running Java applications.
JVM is an abstract machine that provides a runtime environment in which Java bytecode can be executed.
JRE includes JVM, libraries, and other files necessary for running Java applications.
JVM is p...
posted on 31 Mar 2023
I applied via Naukri.com and was interviewed before Mar 2022. There were 2 interview rounds.
posted on 18 Mar 2024
I applied via Referral and was interviewed before Mar 2023. There was 1 interview round.
Sort and merge two linked lists
Traverse both linked lists simultaneously
Compare the values of nodes and merge them in sorted order
Handle cases where one list is longer than the other
I applied via Campus Placement and was interviewed in Jan 2024. There were 2 interview rounds.
I am proficient in coding in multiple languages including Java, Python, and JavaScript.
Java
Python
JavaScript
Data Structures and Algorithms topics commonly used in Java programming.
Arrays and ArrayLists
Linked Lists
Stacks and Queues
Trees and Graphs
Sorting and Searching algorithms
Dynamic Programming
Hashing and Hashmaps
Infinite loop can occur due to logical errors in the loop condition or the loop body.
Incorrect loop condition
Missing or incorrect loop termination condition
Infinite recursion
Deadlock or race condition
Hardware or software failure
Abend with -911 is a deadlock error. Identify the resources causing the deadlock and release them.
Check the application logs for more information on the error.
Identify the resources involved in the deadlock using system logs or monitoring tools.
Release the resources causing the deadlock by terminating the associated processes or transactions.
Modify the application code to prevent future deadlocks.
Varying parameters can be passed using arrays of strings in COBOL to stored procedures.
Define an array in COBOL to hold the parameters
Populate the array with the varying parameters
Pass the array as a parameter to the stored procedure
In the stored procedure, use the array to access the varying parameters
posted on 30 Oct 2023
I applied via campus placement at Indian Institute of Technology (IIT), Guwahati and was interviewed before Oct 2022. There were 3 interview rounds.
Interview experience
Senior Software Engineer
78
salaries
| ₹7.3 L/yr - ₹23 L/yr |
Manager
71
salaries
| ₹9.8 L/yr - ₹20 L/yr |
Software Engineer
58
salaries
| ₹4 L/yr - ₹12.4 L/yr |
Senior Manager
58
salaries
| ₹10.6 L/yr - ₹30 L/yr |
Service Advisor
55
salaries
| ₹1.2 L/yr - ₹4.5 L/yr |
Maruti Suzuki
Tata Motors
Mahindra & Mahindra
Hyundai Motor India Limited