Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
useState and useEffect are hooks in React for managing state and side effects in functional components.
useState is a hook that allows functional components to have stateful logic.
useEffect is a hook that allows functional components to perform side effects.
useState example: const [count, setCount] = useState(0);
useEffect example: useEffect(() => { console.log('Component mounted'); }, []);
Created a todo application using React Js
Used React components to create the UI
Implemented state management for adding, deleting, and updating todos
Utilized local storage to persist todo data
Styled the application using CSS or a CSS framework
General discussion on random topic
I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.
ReactJs is a JavaScript library for building user interfaces.
ReactJs is developed and maintained by Facebook.
It uses a component-based architecture for building reusable UI components.
ReactJs uses a virtual DOM for efficient rendering of components.
It allows developers to create interactive and dynamic web applications.
ReactJs can be used with other libraries and frameworks like Redux for state management.
React JS is a popular JavaScript library for building user interfaces.
Component-based architecture
Virtual DOM for efficient updates
JSX syntax for writing components
One-way data binding
Reusable components
React Native for mobile app development
UseEffect and UseState are React hooks used for managing state and side effects in functional components.
UseEffect is used to perform side effects in functional components, similar to componentDidMount and componentDidUpdate in class components.
UseState is used to manage state in functional components, allowing for re-rendering when the state changes.
Example: const [count, setCount] = useState(0); useEffect(() => { doc
Yes, I use Redux Toolkit for state management in my frontend projects.
I use Redux Toolkit to simplify the process of managing state in my applications.
It provides a set of tools and best practices for managing state in a predictable way.
I find it helpful for handling complex state logic and data flow in my projects.
Redux Toolkit is an official, opinionated, batteries-included toolset for efficient Redux development.
Official toolset for Redux
Opinionated and batteries-included
Helps with common Redux tasks like store setup, reducer logic, and actions
Reducer is a function in Redux that specifies how the application's state changes in response to actions.
Reducer functions take the current state and an action as arguments, and return the new state.
Reducers are pure functions, meaning they do not modify the current state, but return a new state object.
Redux uses reducers to manage the state of the application in a predictable way.
createSlice is a function in Redux Toolkit that simplifies the process of creating Redux slices.
createSlice is a function provided by Redux Toolkit for creating Redux slices with less boilerplate code.
It allows developers to define a slice of the Redux state, including initial state, reducers, and action creators.
createSlice automatically generates action types and action creators based on the defined reducers.
It is co...
Props and state are two important concepts in React for managing and passing data.
Props are read-only data passed from a parent component to a child component.
State is mutable data managed within a component.
Props are used to pass data down the component tree, while state is used for managing data within a component.
Props are passed as attributes in JSX, while state is managed using setState method.
Example: props are u...
Yes, we can send the state from a child component to a parent component in React.
Use callback functions to pass data from child to parent
Parent component can pass a function as a prop to child component
Child component can call this function with the data to update parent's state
React Query is a library for managing server state in React applications.
React Query is used for fetching, caching, synchronizing and updating server state in React applications.
It provides hooks like useQuery and useMutation to interact with server data.
React Query helps in handling loading, error and stale data states efficiently.
Example: const { data, isLoading, isError } = useQuery('todos', fetchTodos)
React Query is used for managing server state and caching data in React applications.
Provides a powerful and flexible way to fetch, cache, and update data from APIs
Automatically handles caching, background refetching, and stale data management
Improves performance by reducing unnecessary network requests
Simplifies data fetching and updating logic in React components
useQuery is for fetching data from the server, useMutation is for making changes to the server data.
useQuery is used for fetching data from the server, while useMutation is used for making changes to the server data.
useQuery is read-only and does not modify data on the server, while useMutation is used for updating, creating, or deleting data on the server.
useQuery is typically used for GET requests, while useMutation ...
Yes, custom hooks are reusable functions in React that allow you to extract component logic into separate functions.
Custom hooks are created by prefixing the function name with 'use' and can be used to share logic between components.
They can be used to manage state, side effects, and other features in functional components.
For example, a custom hook can be created to fetch data from an API and handle loading and error ...
I applied via Internshala and was interviewed in Jun 2023. There were 3 interview rounds.
Questions answers regarding hiring
Talent Acquisition is crucial for finding and attracting the right talent to drive organizational success.
Talent Acquisition helps identify and hire top performers
It ensures a diverse and inclusive workforce
Effective Talent Acquisition reduces turnover and improves employee retention
It plays a key role in employer branding and reputation
Talent Acquisition helps align talent with organizational goals and culture
CA Monk interview questions for popular designations
Multithreading is the ability of a program to perform multiple tasks concurrently.
Multithreading allows for better utilization of CPU resources
It can improve program performance and responsiveness
Examples include running multiple downloads simultaneously or updating a GUI while performing a background task
Synchronization is important to prevent race conditions and ensure thread safety
Multithreading in Java allows concurrent execution of multiple threads.
Java provides built-in support for multithreading through the java.lang.Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
The start() method is used to start a new thread, which calls the run() method.
Synchronization mechanisms like synchronized blocks and locks can be used to control access to ...
No, Java does not support multiple inheritance. However, interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes.
This is because multiple inheritance can lead to ambiguity and conflicts.
However, a class can implement multiple interfaces in Java.
An interface can extend multiple interfaces, allowing for inheritance of multiple interfaces.
This is known as interface inheritan
DO-WHILE loop executes the code block at least once, while WHILE loop executes only if the condition is true.
DO-WHILE loop checks the condition at the end of the loop
WHILE loop checks the condition at the beginning of the loop
DO-WHILE loop executes the code block at least once
WHILE loop may not execute the code block at all if the condition is false
I would rate myself as an 8 on a scale of 1-10.
I have a strong understanding of software development principles and practices.
I have experience working with multiple programming languages and frameworks.
I am skilled in problem-solving and debugging.
I have successfully delivered complex software projects in the past.
I continuously strive to learn and improve my skills.
Display data of two tables by joining them using a common column.
Use SQL JOIN statement to combine data from two tables based on a common column.
Choose the appropriate type of JOIN based on the relationship between the tables.
Specify the columns to be displayed in the SELECT statement.
Use aliases to differentiate between columns with the same name in both tables.
Apply any necessary filters or sorting to the result set.
Networking refers to the process of connecting devices and systems to share information and resources.
Networking involves the use of hardware and software to connect devices and systems.
It allows for the sharing of information and resources such as files, printers, and internet access.
Networking can be done through wired or wireless connections.
Examples of networking technologies include Ethernet, Wi-Fi, and Bluetooth.
...
A router is a networking device that forwards data packets between computer networks.
A router operates at the network layer of the OSI model.
It uses routing tables to determine the best path for data packets to reach their destination.
Routers can connect multiple networks together, such as LANs and WANs.
They provide network address translation (NAT) to allow multiple devices to share a single public IP address.
Routers ...
Subnetting is the process of dividing a network into smaller subnetworks, called subnets, to improve network efficiency and security.
Subnetting allows for better utilization of IP addresses by dividing a network into smaller segments.
It helps in improving network performance by reducing network congestion.
Subnetting enhances network security by isolating different departments or devices within a network.
It enables effi...
Protocols are a set of rules and guidelines that govern the communication between devices or systems.
Protocols define the format and order of messages exchanged between devices.
They ensure reliable and efficient communication by specifying error detection and correction mechanisms.
Examples of protocols include TCP/IP, HTTP, SMTP, and FTP.
Protocols can operate at different layers of the network stack, such as the applic
Static protocols are fixed and do not change, while dynamic protocols can adapt to changing network conditions.
Static protocols are typically used in simple networks with predictable traffic patterns.
Dynamic protocols are used in complex networks with varying traffic patterns.
Examples of static protocols include ARP and RARP.
Examples of dynamic protocols include OSPF and BGP.
TCS is a leading global IT services company with a strong reputation and diverse opportunities for growth.
TCS has a strong reputation in the IT industry for delivering high-quality services and solutions.
TCS offers diverse opportunities for growth and career development.
TCS has a global presence, providing exposure to different cultures and working environments.
TCS values innovation and encourages employees to think cr...
I expect to receive proper training and support to transition into the IT field successfully.
I expect to be provided with relevant training and resources to learn the necessary skills for the role.
I hope for guidance and mentorship from experienced IT professionals within the company.
I am eager to contribute my non-IT skills and knowledge to the team, bringing a fresh perspective.
I am committed to putting in the effort...
Multithreading is the ability of a program to perform multiple tasks concurrently.
Multithreading allows for better utilization of CPU resources
It can improve program performance and responsiveness
Examples include running multiple downloads simultaneously or updating a GUI while performing a background task
Synchronization is important to prevent race conditions and ensure thread safety
Java supports multithreading through the java.lang.Thread class and java.util.concurrent package.
Java threads are created by extending the Thread class or implementing the Runnable interface.
Threads can be started using the start() method.
Synchronization can be achieved using synchronized keyword or locks.
Java provides several classes and interfaces to support concurrent programming such as Executor, ExecutorService, F...
Java does not support multiple inheritance, but interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes, but it can implement multiple interfaces.
Interfaces can inherit from multiple interfaces using the 'extends' keyword.
For example, interface C can extend interfaces A and B: 'interface C extends A, B {}'
Do-While loop executes the code block once before checking the condition, while loop checks the condition first.
Do-While loop is used when the code block needs to be executed at least once.
While loop is used when the code block may not need to be executed at all.
Do-While loop is less efficient than While loop as it always executes the code block at least once.
Example of Do-While loop: do { //code block } while (conditi...
Join the tables on a common column and display the combined data.
Identify the common column in both tables
Use JOIN statement to combine the tables
Select the columns to display
Apply any necessary filters or sorting
Display the data in a table or list format
Primary key uniquely identifies a record in a table, while unique key ensures uniqueness of a column.
Primary key cannot have null values, while unique key can have one null value.
A table can have only one primary key, but multiple unique keys.
Primary key is used as a foreign key in other tables, while unique key is not.
Example: Employee ID can be a primary key, while email address can be a unique key.
I have a strong background in software development, excellent problem-solving skills, and a passion for learning new technologies.
Extensive experience in programming languages such as Java, Python, and C++
Proven track record of delivering high-quality software solutions on time and within budget
Strong analytical and problem-solving skills, with the ability to quickly adapt to new technologies and frameworks
Excellent co...
My hobbies include coding, reading, and playing video games. My strengths are problem-solving, attention to detail, and teamwork. My weaknesses are impatience and a tendency to overthink.
Hobbies: Coding, reading, playing video games
Strengths: Problem-solving, attention to detail, teamwork
Weaknesses: Impatience, tendency to overthink
I am a software developer with experience in Java and Python.
Graduated with a degree in Computer Science
Worked on multiple projects using Java and Python
Familiar with Agile methodology
Strong problem-solving skills
Constantly learning and improving
Multithreading is the ability of a CPU to execute multiple threads concurrently.
Multithreading improves performance by utilizing idle CPU time.
Threads share the same memory space, allowing for efficient communication.
Examples include web servers handling multiple requests and video games rendering graphics while processing user input.
The question is asking about how a specific implementation is done in Java.
Explain the implementation details of the specific feature or functionality in Java
Provide code examples if applicable
Discuss any relevant libraries or frameworks used in the implementation
While loop executes only if the condition is true, do-while loop executes at least once before checking the condition.
While loop checks the condition first, then executes the code block
Do-while loop executes the code block first, then checks the condition
While loop may not execute at all if the condition is false initially
Do-while loop always executes at least once before checking the condition
No, Java does not support multiple inheritance. However, interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes, which is known as multiple inheritance.
However, a class can implement multiple interfaces, which is known as multiple interface inheritance.
By implementing multiple interfaces, a class can inherit the abstract methods defined in those interfaces.
For example, c...
To display data of two tables, we can use JOIN operation in SQL.
Identify the common column(s) between the two tables.
Use JOIN operation to combine the data from both tables based on the common column(s).
Choose the appropriate type of JOIN operation (INNER, LEFT, RIGHT, FULL) based on the requirement.
Use SELECT statement to display the required columns from the combined table.
Example: SELECT t1.column1, t2.column2 FROM ...
Primary key uniquely identifies a record in a table, while unique key ensures uniqueness of a column.
Primary key is a column or set of columns that uniquely identifies each record in a table
Primary key cannot have null values
A table can have only one primary key
Unique key ensures that a column or set of columns have unique values
Unique key can have null values
A table can have multiple unique keys
I would rate myself as an 8 on a scale of 1-10.
I have a strong understanding of software development principles and practices.
I have experience working with multiple programming languages and frameworks.
I am skilled in problem-solving and debugging.
I have successfully delivered complex software projects in the past.
I continuously strive to learn and improve my skills.
based on 4 interviews
Interview experience
Associate Talent Acquisition
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Sri Sri Tattva
Patanjali Ayurved
Dabur
Himalaya Wellness