Find Interview Questions for Top Companies
Source soft solutions pvt.ltd Interview Questions and Answers
Ques:- I was asked in an interview…”Suppose u have a field with UNIQUE KEY. can u leave two or more cells NULL in SQL Server 2005…If Yes then Why…if NOT then Why…..
Right Answer:
Yes, you can leave two or more cells NULL in a field with a UNIQUE KEY in SQL Server 2005. This is because NULL values are considered distinct from each other, allowing multiple NULLs in a column with a UNIQUE constraint.
Ques:- What is the difference between “procedure” and “function”?
Right Answer:
A procedure is a set of SQL statements that perform a specific task and can return multiple values or no value, while a function is a set of SQL statements that perform a specific task and must return a single value. Functions can be used in SQL expressions, whereas procedures cannot.
Ques:- What are your favorite and least favorite technology products, and why?
Right Answer:
Favorite technology product: Visual Studio - because it offers a powerful integrated development environment (IDE) with great debugging tools and support for multiple languages.

Least favorite technology product: Internet Explorer - due to its slower performance and lack of support for modern web standards compared to other browsers.
Ques:- What are the concepts of object oriented programming?Explain with an example.
Comments
Admin May 17, 2020

An Object creation of a class which can have the behaviour of Inheritance, Abstraction, Polymorphism, Encapsulation is the concept of object oriented programming

Ques:- what is differences between django, pyramid and flask?
Right Answer:
Django is a high-level web framework that follows the "batteries-included" philosophy, providing many built-in features like an ORM, admin panel, and authentication. Pyramid is a flexible framework that allows developers to choose components and is suitable for both small and large applications. Flask is a micro-framework that is lightweight and simple, focusing on minimalism and allowing developers to add extensions as needed.
Ques:- How are modules used in a python program ?
Right Answer:
Modules in a Python program are used to organize and reuse code. They allow you to group related functions, classes, and variables into a single file, which can then be imported into other Python scripts using the `import` statement. This helps in maintaining clean and manageable code.
Ques:- what is signals and how to use it? What are two important parameter in signals?
Right Answer:
In Django, signals are a way to allow certain senders to notify a set of receivers when some action has taken place. They are used to decouple applications by allowing different parts of an application to communicate without being tightly coupled.

To use signals, you typically connect a receiver function to a signal using the `@receiver` decorator or the `connect()` method.

Two important parameters in signals are:
1. `sender`: The model class that sends the signal.
2. `instance`: The actual instance of the model that triggered the signal.
Ques:- How can you revert a pushed commit?
Right Answer:

To revert a pushed commit, use the command:

“`
git revert <commit-hash>
“`

This creates a new commit that undoes the changes made by the specified commit. After that, push the changes with:

“`
git push
“`

AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users