CitiusTech
New Arts Commerce Science College Interview Questions and Answers
Q1. Word Frequency Counter
Given a string 'S' consisting of words, your task is to calculate how many times each word appears in the string. A word is a series of one or more non-space characters. In 'S', words can...read more
Q5. What is Context API in React
Context API in React is a way to pass data through the component tree without having to pass props down manually at every level.
Context API provides a way to share values like themes, user data, etc. across the component tree without having to pass props down manually.
It consists of three main parts: Provider, Consumer, and useContext hook.
Provider component allows the data to be passed down to the tree, Consumer component consumes the data, and useContext hook allows functio...read more
Q6. What is Redux in React
Redux is a predictable state container for JavaScript apps, commonly used with React for managing application state.
Redux helps manage the state of an application in a predictable way
It provides a single source of truth for the state of the application
Actions are dispatched to update the state in a predictable manner
Reducers specify how the state changes in response to actions
Redux is commonly used with React to manage the state of components
Q7. Count duplicate from int array
Count duplicates in an int array
Create a HashMap to store the count of each element in the array
Iterate through the array and update the count in the HashMap
Count the elements with count greater than 1 as duplicates
Q8. Explain Spring Boot
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot eliminates the need for manual configuration by providing defaults for most settings.
It allows for easy creation of stand-alone, production-grade Spring-based applications.
Spring Boot includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy applications.
It offers a wide range of plugins to enhance productivity, s...read more
Interview Process at New Arts Commerce Science College
Top Java Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month