Add office photos
Engaged Employer

Gif Technologies

2.9
based on 45 Reviews
Filter interviews by

10+ Uday Corpsol Interview Questions and Answers

Updated 14 Nov 2024

Q1. What is difference between Delete and Truncate?

Ans.

Delete removes rows one by one and can be rolled back, while Truncate removes all rows at once and cannot be rolled back.

  • Delete is a DML command while Truncate is a DDL command.

  • Delete can be rolled back using a transaction, while Truncate cannot be rolled back.

  • Delete fires triggers on each row deletion, while Truncate does not fire triggers.

  • Delete is slower as it removes rows one by one, while Truncate is faster as it removes all rows at once.

  • Delete maintains the identity of ...read more

Add your answer

Q2. What is Clustered and Non clustered Index?

Ans.

Clustered index physically reorders the data in the table while non-clustered index creates a separate structure.

  • Clustered index determines the physical order of data rows in a table.

  • Non-clustered index creates a separate structure to store the index data.

  • A table can have only one clustered index but multiple non-clustered indexes.

  • Clustered index is faster for retrieval but slower for insert and update operations.

  • Non-clustered index is slower for retrieval but faster for inse...read more

Add your answer

Q3. What are access Modifiers? What are its types?

Ans.

Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and other members.

  • Types of access modifiers in C# are public, private, protected, internal, protected internal.

  • Public - accessible from any other class.

  • Private - accessible only within the same class.

  • Protected - accessible within the same class or derived classes.

  • Internal - accessible within the same assembly.

  • Protected Internal - accessible within the same assembly or der...read more

Add your answer

Q4. What is Garbage collection in C#?

Ans.

Garbage collection in C# is an automatic memory management process that deallocates memory that is 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 ensures efficient memory usage.

  • Garbage collection in C# is performed by the Common Language Runtime (CLR) and uses algorithms like Mark and Sweep, Reference Counting, and Generational Garba...read more

Add your answer
Discover Uday Corpsol interview dos and don'ts from real experiences

Q5. What is Ref and Out parameters?

Ans.

Ref and Out parameters are used in C# to pass arguments by reference instead of by value.

  • Ref parameters are used to pass arguments by reference, allowing the called method to modify the value of the argument.

  • Out parameters are similar to ref parameters, but they do not require the caller to initialize the parameter before calling the method.

  • Example: void CalculateArea(ref int length, int width) { length = length * width; }

  • Example: void GetUserInfo(out string name, out int age...read more

Add your answer

Q6. What is Equality and Equal in Sql?

Ans.

Equality in SQL refers to comparing two values to see if they are the same.

  • In SQL, equality is determined using the = operator.

  • It is used in WHERE clauses to filter data based on specific values.

  • Example: SELECT * FROM table WHERE column_name = 'value';

Add your answer
Are these interview questions helpful?

Q7. What are different types of Joins?

Ans.

Different types of joins are Inner Join, Left Join, Right Join, and Full Join.

  • Inner Join: Returns rows when there is a match in both tables.

  • Left Join: Returns all rows from the left table and the matched rows from the right table.

  • Right Join: Returns all rows from the right table and the matched rows from the left table.

  • Full Join: Returns rows when there is a match in one of the tables.

Add your answer

Q8. What is OOPs? What are its types?

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs focuses on creating objects that contain both data and methods to manipulate that data.

  • The four main principles of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.

  • Types of OOPs include Class-based and Prototype-based.

  • Examples of OOPs languages include Java, C++, and Python.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Difference between Abstract Class and Interface?

Ans.

Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

  • Abstract class can have constructor, fields, and methods, while interface cannot have any implementation.

  • A class can inherit only one abstract class but can implement multiple interfaces.

  • Abstract class is used to provide a common base for multiple derived classes, while interface is used to define a contract for classes to implement.

  • Example: Abstract class 'Shape' wi...read more

Add your answer

Q10. Difference between Stored Procedure and Function?

Ans.

Stored Procedure is a precompiled set of SQL statements while Function is a reusable code block that returns a value.

  • Stored Procedure can perform multiple operations and can return multiple values, while Function returns only one value.

  • Stored Procedure can have input and output parameters, while Function can only have input parameters.

  • Stored Procedure can call a Function, but a Function cannot call a Stored Procedure.

  • Stored Procedure is stored in the database and can be execu...read more

Add your answer

Q11. What is a Class?

Ans.

A class is a blueprint for creating objects in object-oriented programming.

  • Classes define the properties and behaviors of objects.

  • Objects are instances of classes.

  • Classes can inherit properties and behaviors from other classes.

  • Example: Class 'Car' may have properties like 'color' and 'model', and behaviors like 'drive' and 'stop'.

Add your answer

Q12. What is object?

Ans.

An object is a self-contained entity that consists of properties and methods to perform specific tasks.

  • Objects are instances of classes in object-oriented programming.

  • They have attributes (properties) and behaviors (methods).

  • Example: A car object can have properties like color, model, and methods like start(), stop().

Add your answer

Q13. What is Constructor?

Ans.

Constructor is a special type of method in a class that is automatically called when an object of that class is created.

  • Constructors have the same name as the class they belong to

  • They can be used to initialize the object's state or perform any necessary setup

  • Constructors can be parameterized to accept arguments during object creation

  • Example: public class Person { public Person(String name) { this.name = name; }}

Add your answer

Q14. What is Indexes?

Ans.

Indexes are data structures that improve the speed of data retrieval operations in databases.

  • Indexes are used to quickly locate data without having to search every row in a database table.

  • They are created on columns in a database table to speed up the data retrieval process.

  • Examples of indexes include primary keys, unique keys, and non-unique keys.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top DOT NET Developer Interview Questions from Similar Companies

4.3
 • 17 Interview Questions
4.8
 • 16 Interview Questions
5.0
 • 16 Interview Questions
3.7
 • 16 Interview Questions
3.6
 • 12 Interview Questions
3.5
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter