Find Interview Questions for Top Companies
Ttp Interview Questions and Answers
Ques:- Difference between visibility:hidden and display:none in css?
Right Answer:
`visibility: hidden;` hides the element but still takes up space in the layout, while `display: none;` removes the element from the layout entirely, so it does not take up any space.
Ques:- WHAT IS HADOOP?
Right Answer:
Hadoop is an open-source framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from a single server to thousands of machines, each offering local computation and storage.
Ques:- What you mean by pseudo classes in CSS?
Right Answer:
Pseudo-classes in CSS are special keywords added to selectors that specify a special state of an element. They allow you to style elements based on their state, such as `:hover` for when a user hovers over an element, or `:focus` for when an element is selected.
Ques:- what is interface ?
Right Answer:
In JavaScript, an interface is a defined structure that specifies a contract for objects, outlining the methods and properties they must implement, but it does not provide the actual implementation. JavaScript does not have built-in support for interfaces like some other languages, but you can simulate them using conventions or TypeScript.
Comments
Admin May 17, 2020

interface having all abstract methods and doesnt have imp;ementation

Admin May 17, 2020

interface has only declaration part only not definition part
is not there,

Ques:- how can we use java script message alert with asp.net with useing vb.net coding show full process with its coading
Comments
Admin May 17, 2020

To work with javascript in ASP.NET, the best way to do it,
is using the Page.ClientScript object at some point.
For instance, if you want to show an alert box when the
page is finished loading, use this:
string javascript = "alert('Finished loading!');"
Page.ClientScript.RegisterStartupScript(typeof
(string), "key", javascript,true);
The ClientScript object has other methods, like
RegisterClientScriptBlock, RegisterClientScriptInclude,
RegisterExpandoAttribute and so on, which all allow you to
add javascript to the page in different ways.

Ques:- What are React props?
Right Answer:
React props are short for "properties" and are used to pass data from a parent component to a child component in React. They allow components to be dynamic and reusable by providing them with different values.
Comments
Admin Feb 3, 2020

props are used to pass data to a component. They can hold single or multiple sets of values to pass to a component. They are mainly used to pass data to a component and to trigger any state changes.

Ques:- Why immutability in important in React?
Right Answer:
Immutability in React is important because it helps to optimize performance by allowing React to quickly determine when to re-render components. When data is immutable, React can easily compare previous and current states, leading to efficient updates and minimizing unnecessary renders.
Comments
Admin Feb 3, 2020

There are generally two approaches to changing data. The first approach is to mutate the data by directly changing the data’s values. The second approach is to replace the data with a new copy which has the desired changes.

Ques:- What are controlled and uncontrolled components in React?
Right Answer:
Controlled components are React components that derive their form data from the component's state, meaning the component controls the input values. Uncontrolled components, on the other hand, manage their own state internally, and you access the input values using refs instead of state.
Comments
Admin Feb 3, 2020

<p id="de26" class="graf graf--p graf-after--p">This relates to stateful DOM components (form elements) and the difference:</p>

<ul class="postList">
<li id="e12c" class="graf graf--li graf-after--p">A <strong class="markup--strong markup--li-strong">Controlled Component</strong> is one that takes its current value through props and notifies changes through callbacks like onChange. A parent component “controls” it by handling the callback and managing its own state and passing the new values as props to the controlled component. You could also call this a “dumb component”.</li>
<li id="dee2" class="graf graf--li graf-after--li">A Uncontrolled Component is one that stores its own state internally, and you query the DOM using a ref to find its current value when you need it. This is a bit more like traditional HTML.</li>
</ul>
<p id="f500" class="graf graf--p graf-after--li">In most (or all) cases we should use controlled components.</p>

Ques:- How does ‘setState’ function work?
Right Answer:
The `setState` function in React is used to update the component's state. It takes an object or a function as an argument and schedules a re-render of the component with the new state. When called, it merges the new state with the current state and triggers a re-render of the component to reflect the changes.
Comments
Admin Feb 3, 2020

‘setState’ function is used to update the state of a react component. If the UI of the component is dependent on the value we are updating, it will re-render the UI. For example :

setState({message : 'Hello'})

Ques:- What is a higher order component?
Right Answer:
A higher-order component (HOC) is a function in React that takes a component and returns a new component, allowing for code reuse and the ability to add additional functionality or props to the wrapped component.
Comments
Admin Feb 3, 2020

A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API. They are a pattern that emerges from React’s compositional nature.

A higher-order component is a function that takes a component and returns a new component.

HOC’s allow you to reuse code, logic and bootstrap abstraction. HOCs are common in third-party React libraries. The most common is probably Redux’s connect function. Beyond simply sharing utility libraries and simple composition, HOCs are the best way to share behavior between React Components. If you find yourself writing a lot of code in different places that does the same thing, you may be able to refactor that code into a reusable HOC.

Ques:- Can you describe a time when you had to quickly adapt to a significant change at work
Right Answer:
In my previous job, our team had to switch to a new project management tool with little notice. I quickly learned the new software by attending training sessions and exploring its features. I also helped my teammates by sharing tips and creating a guide, which helped us transition smoothly and maintain our productivity.
Ques:- What steps do you take to ensure that you can pivot quickly when necessary
Right Answer:
To ensure I can pivot quickly when necessary, I take the following steps:

1. Stay informed about industry trends and changes.
2. Maintain flexibility in my plans and strategies.
3. Foster open communication with my team to share insights and feedback.
4. Regularly assess and review project progress and outcomes.
5. Develop a mindset that embraces change and encourages innovation.
Ques:- How do you manage stress or frustration when changes disrupt your usual workflow
Right Answer:
I manage stress or frustration by taking a moment to pause and assess the situation. I prioritize tasks, break them down into smaller steps, and focus on what I can control. I also communicate with my team to share concerns and seek support, and I practice stress-relief techniques like deep breathing or short breaks to maintain my focus and productivity.
Ques:- Tell us about a time when you successfully led a team through a period of change
Right Answer:
In my previous role, our company underwent a major software transition. I led a team of five through this change by first organizing a meeting to discuss the new system and address concerns. I created a training schedule to ensure everyone felt comfortable with the new tools. I encouraged open communication, allowing team members to share their challenges and successes. As a result, we successfully implemented the new software on time, and team productivity improved by 20% within the first month.
Ques:- What does adaptability mean to you in a professional setting
Right Answer:
Adaptability in a professional setting means being open to change, adjusting to new situations, and being flexible in response to challenges or shifting priorities while maintaining productivity and effectiveness.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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