Sportz Interactive
Alstrong Enterprises Interview Questions and Answers
Q1. 1.what is sql server 2.what is procedure 3.what is CTE table 4. Difference between cte and table variable in sql 5. Difference between function and procedure. 6.type of indexes 7.what is unique index.
SQL Server is a relational database management system developed by Microsoft.
SQL Server is a software product used to manage and store data in a relational database.
It provides a platform for creating, managing, and querying databases.
SQL Server supports SQL (Structured Query Language) for interacting with the database.
It offers various features like data storage, data retrieval, data manipulation, and data security.
SQL Server can be used for developing and deploying database...read more
Q2. What is object oriented programming
Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data.
Objects are instances of classes, which define the structure and behavior of the objects.
Encapsulation is a key principle, where data is kept private within the object and only accessible through methods.
Inheritance allows classes to inherit attributes and methods from other classes.
Polymorphism allows objects of different classes to b...read more
Q3. What is static Constructor?
Static constructor is a special type of constructor in a class that is called only once when the class is loaded into memory.
Static constructor is used to initialize static data members of a class.
It is automatically called by the .NET Framework when the class is first loaded.
Static constructor does not take any parameters and cannot be called explicitly.
Example: public class MyClass { static MyClass() { // initialization code } }
Q4. What are solid Principles
SOLID principles are a set of five design principles that help make software designs more understandable, flexible, and maintainable.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with objects of its subclasses without affecting the functionality.
Inter...read more
Q5. What is dependency injection
Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Commonly used in frameworks like Spring in Java
Q6. 1 what is view 2 difference between union and union all. 3.what is indexes 4.difference between primary and unique key. 5.what is composit key.
A view is a virtual table that is based on the result of a query. It is used to simplify complex queries and provide a logical representation of data.
Views are created by selecting columns from one or more tables and can be used like a table in queries.
They do not store any data themselves but provide a way to access and manipulate data from underlying tables.
Views can be used to restrict access to certain columns or rows of a table.
They can also be used to combine data from ...read more
Q7. Given a string, find the number of unique characters in the string. (all characters are in lower case) For eg: Input : "i love india" Output: 7 Explaination: unique characters are, [l,o,v,e,n,d,a]
The task is to find the number of unique characters in a given string.
Create an empty array to store unique characters.
Iterate through each character in the string.
If the character is not already present in the array, add it.
Finally, return the length of the array as the number of unique characters.
Interview Process at Alstrong Enterprises
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month