i
Northcorp Software
Filter interviews by
An activity in Android is a single screen with a user interface where users can interact with the app.
Activities are the building blocks of an Android app.
Each activity is a subclass of the Activity class.
Activities can be started, paused, resumed, and stopped based on user interactions.
Examples: Login screen, Settings screen, Main screen.
Dependency injection is a design pattern where components are given their dependencies rather than creating them internally.
Dependency injection helps in achieving loose coupling between classes.
It allows for easier testing and maintenance of code.
There are three types of dependency injection - constructor injection, setter injection, and interface injection.
Example: Instead of creating an instance of a class within an...
Injecting dependencies allows for better flexibility, testability, and maintainability in code.
Injecting dependencies means passing objects that a class needs rather than creating them within the class.
This allows for easier testing by mocking dependencies and swapping them out for different implementations.
Dependency injection frameworks like Unity, Ninject, or Autofac can help manage dependencies.
Example: Instead of ...
Async is used to define a method that can be run asynchronously, while await is used to pause the execution of an async method until a task is complete.
Async is used to define a method that can be run asynchronously.
Await is used to pause the execution of an async method until a task is complete.
Async methods can be called using the await keyword to run them asynchronously.
Async and await are used in C# to simplify asy
async defines, await pauses execution in asynchronous programming in C#.
async keyword is used to define a method as asynchronous in C#.
await keyword is used to pause the execution of an asynchronous method until the awaited task completes.
Asynchronous programming allows non-blocking execution of code, improving performance and responsiveness.
Example: async Task<int> GetDataAsync() { await Task.Delay(1000); return
Garbage collection in .NET is an automatic memory management process that helps in reclaiming memory occupied by objects that are no longer in use.
Garbage collection is a process where the runtime environment automatically deallocates memory that is no longer needed by the program.
It helps in preventing memory leaks and improving the performance of the application.
Garbage collection in .NET uses generations to categori...
Northcorp Software interview questions for popular designations
A simple program to determine if a number is even or odd.
Use the modulo operator (%) to check if the number divided by 2 leaves a remainder
If the remainder is 0, the number is even. Otherwise, it is odd
Example: num = 6, 6 % 2 = 0 (even); num = 7, 7 % 2 = 1 (odd)
A number is even if it is divisible by 2, otherwise it is odd.
Use the modulo operator (%) to check if a number is divisible by 2.
If number % 2 == 0, then the number is even.
For example, 4 % 2 == 0, so 4 is even; 5 % 2 != 0, so 5 is odd.
Get interview-ready with Top Northcorp Software Interview Questions
In Java, == compares memory addresses while .equals() compares the actual values of objects.
== compares memory addresses of objects
.equals() compares the actual values of objects
Use == for comparing primitive data types
Use .equals() for comparing objects like Strings
The '==' operator compares memory addresses of objects, while the .equals() method compares the content or value of objects.
Use '==' for comparing memory addresses of objects.
Use .equals() for comparing the content or value of objects.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will return false, but str1.equals(str2) will return true.
Java program to check if a number is prime
Create a function that takes an integer as input
Check if the number is less than 2, return false
Iterate from 2 to the square root of the number, check for divisibility
If the number is divisible by any number, return false
Otherwise, return true
A prime number is a number greater than 1 that can only be divided by 1 and itself.
Prime numbers are integers greater than 1
They have only two factors: 1 and the number itself
Examples of prime numbers: 2, 3, 5, 7, 11, 13
Full stack development involves working on both the front-end and back-end of a web application.
Full stack developers are proficient in both front-end technologies like HTML, CSS, and JavaScript, as well as back-end technologies like Node.js, Python, or Java.
They are able to work on databases, server-side logic, client-side logic, and user interfaces.
Examples of full stack development frameworks include MEAN stack (Mon...
D/W array is a dynamic array in .Net that can grow or shrink in size. ArrayList is a collection class that can store objects of any type.
D/W array is a resizable array that automatically adjusts its size as elements are added or removed.
ArrayList is a collection class that can store objects of any type, allowing for flexibility in data storage.
Example: D/W array - string[] myArray = new string[5]; ArrayList - ArrayList
The final keyword in Java is used to restrict the user from changing the value of a variable, making a method not overrideable, or preventing a class from being subclassed.
Final variables cannot be reassigned once initialized
Final methods cannot be overridden in subclasses
Final classes cannot be subclassed
Final parameters in a method cannot be modified within the method
Top trending discussions
Some of the top questions asked at the Northcorp Software interview -
based on 116 interviews
Interview experience
based on 332 reviews
Rating in categories
5-7 Yrs
Not Disclosed
3-8 Yrs
Not Disclosed
Software Developer
10
salaries
| ₹0 L/yr - ₹0 L/yr |
Devops Engineer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Scientist
8
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Java Developer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
TCS
Wipro
HCLTech