EbixCash Limited
10+ Sree Metaliks Interview Questions and Answers
Q1. In your Project, How did you connected your application with Database?
I used Entity Framework to connect the application with the database.
Utilized Entity Framework for ORM mapping
Configured connection string in the application's configuration file
Used LINQ queries to interact with the database
Q2. What is Compile time binding and Runtime Binding?
Compile time binding occurs during compilation while runtime binding occurs during execution.
Compile time binding is also known as early binding, where the method to be called is determined at compile time based on the type of the object.
Runtime binding is also known as late binding, where the method to be called is determined at runtime based on the actual type of the object.
Compile time binding is faster as it is done during compilation, while runtime binding is slower as i...read more
Q3. What is Inheritance and Types of Inheritance?
Inheritance is a mechanism in OOP where a class inherits properties and behaviors from another class.
Inheritance allows a class to reuse code from another class.
Types of inheritance include single inheritance, multiple inheritance, multilevel inheritance, hierarchical inheritance, and hybrid inheritance.
Example: Class B inheriting from Class A - B is a subclass of A.
Q4. Coding Question: Count the number of words "My Name is Nikhil"
Count the number of words 'My Name is Nikhil'
Split the sentence into individual words
Count the number of words in the sentence
Q5. Examples of Server side session Management? Types of Session State?
Server side session management involves storing user data on the server to maintain state. Types include in-process, out-of-process, and database.
In-process session state: Data stored in memory on the same server as the application.
Out-of-process session state: Data stored in a separate server or service, such as a state server or Redis cache.
Database session state: Data stored in a database, such as SQL Server or MySQL.
Examples: ASP.NET session state, PHP session management,...read more
Q6. What is Asp.Net Page Life Cycle?
ASP.NET Page Life Cycle is the series of events that occur from the time a page is requested to the time the page is fully rendered and sent to the client.
Page Request: When a page is requested by a user, ASP.NET creates an instance of the page class.
Page Initialization: The page's properties are set and controls on the page are initialized.
Page Load: The page's controls are loaded with data and events are handled.
Postback Event Handling: If the page is posted back, the event...read more
Q7. What is Abstract Class and Interface?
Abstract class is a class that cannot be instantiated and may contain abstract methods. Interface is a contract that defines methods that a class must implement.
Abstract class can have abstract methods as well as concrete methods.
Interface can only have method signatures, no method bodies.
A class can implement multiple interfaces but can inherit from only one abstract class.
Example: Abstract class - Animal with abstract method 'eat'. Interface - IShape with method signatures ...read more
Q8. How view is created from Model?
A view is created from a model by using a view engine to render the model data into HTML markup.
Use a view engine like Razor in ASP.NET to create views from models
Pass the model data from the controller to the view using ViewBag or strongly-typed models
Use HTML helpers to display model data in the view
Q9. What is ViewBag, ViewData and TempData?
ViewBag, ViewData, and TempData are used to pass data from controller to view in ASP.NET MVC.
ViewBag is a dynamic property that allows you to pass data from controller to view.
ViewData is a dictionary object that allows you to pass data from controller to view.
TempData is a dictionary object that allows you to pass data from one controller action to another.
Q10. What is Overloading and Overriding?
Overloading is having multiple methods in the same class with the same name but different parameters. Overriding is implementing a method in a subclass that is already defined in the parent class.
Overloading allows a class to have multiple methods with the same name but different parameters.
Overriding is when a subclass provides a specific implementation of a method that is already defined in its parent class.
Example of overloading: having multiple methods named 'calculate' w...read more
Q11. How to Debug Stored Procedures?
Debugging stored procedures involves using tools like SQL Server Management Studio, setting breakpoints, and analyzing query execution.
Use SQL Server Management Studio to debug stored procedures
Set breakpoints in the stored procedure code to pause execution at specific points
Analyze query execution using tools like SQL Profiler to identify issues
Use PRINT or SELECT statements to output intermediate results for debugging
Check for errors in the stored procedure code and fix the...read more
Q12. What is ActionResult and ViewResult?
ActionResult and ViewResult are classes in ASP.NET MVC used to return responses to client requests.
ActionResult is a base class for action results in ASP.NET MVC.
ViewResult is a type of ActionResult that returns a view to the client.
ViewResult inherits from ViewResultBase class.
ActionResult can be used to return different types of responses like JSON, File, Redirect, etc.
Example: return View();
Q13. What is Common Term Expression?
Common Term Expression is a standardized vocabulary used in healthcare to describe medical concepts.
Common Term Expression (CTE) is used to ensure consistency and accuracy in medical coding and billing.
CTE helps healthcare providers communicate effectively with insurance companies and government agencies.
Examples of CTE include ICD-10 codes for diagnoses and CPT codes for procedures.
Q14. What is Static Keyword?
Static keyword is used to declare a member that belongs to the class itself, rather than to instances of the class.
Static keyword can be applied to variables, methods, properties, and constructors.
Static members are accessed using the class name, not an instance of the class.
Static variables retain their values for the entire duration of the program.
Static methods can be called without creating an instance of the class.
Example: public static int count = 0; // static variable
Q15. What is Sealed Classes?
Sealed classes are classes that cannot be inherited or used as a base class.
Sealed classes are used to restrict inheritance for security or optimization reasons.
They are marked with the 'sealed' keyword.
Example: 'sealed class MyClass {}'
Q16. What is ViewModel?
ViewModel is a class that is responsible for preparing data to be displayed in a view.
ViewModel separates the logic of data preparation from the view itself.
It helps in keeping the views lightweight and focused on display.
ViewModels are commonly used in MVVM (Model-View-ViewModel) architecture.
Example: In an e-commerce website, a ProductViewModel may contain product details for display.
Q17. Calculate sum of digits
Calculate sum of digits in a given number
Iterate through each digit in the number and add them together
Use modulus operator to extract each digit
Convert the number to a string to easily access individual digits
Interview Process at Sree Metaliks
Top DOT NET Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month