Java Full Stack with React Online Assessment Questions & Answers
40 questions for the online assessment stage — 20 easy, 20 medium.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Java Full Stack with React concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
Create a scheduled job that runs every night at 2 AM in Spring Boot.
Show answer
What changed when moving from Spring Boot 2 to Spring Boot 3?
Show answer
Fetch a list of products from an API and show loading and error states.
Show answer
When would you use Flexbox and when CSS Grid?
Show answer
When would you use the Context API and when a state library like Redux Toolkit or Zustand?
Show answer
What are fail-fast and fail-safe iterators?
Show answer
What is the difference between Comparable and Comparator?
Show answer
What is Spring Boot and how is it different from the Spring Framework?
Show answer
What are the entity lifecycle states in JPA?
Show answer
What is the difference between controlled and uncontrolled components?
Show answer
Write a query to find duplicate email addresses in a users table and delete the extra rows.
Show answer
Compare promises and async/await.
Show answer
Write global exception handling for a REST API in Spring Boot.
Show answer
What is the difference between checked and unchecked exceptions?
Show answer
What is the difference between List, Set and Map?
Show answer
How do you store user passwords securely in Spring Boot? Show the code.
Show answer
What is a custom hook and why would you write one?
Show answer
What is normalization? Explain 1NF, 2NF and 3NF.
Show answer
How does the useEffect dependency array work?
Show answer
What is the difference between var, let and const?
Show answer
Find employees who earn more than their managers.
Show answer
Find the second highest salary from a list of employees using streams.
Show answer
Write a unit test for a service method using JUnit 5 and Mockito.
Show answer
What is the difference between == and equals() in Java?
Show answer
In a bidirectional @OneToMany relationship, what does mappedBy mean?
Show answer
You need to store unique usernames and always display them in alphabetical order. Which collection do you pick?
Show answer
Your React app gets 403 Forbidden on POST requests to Spring Boot, but GET works. What is the likely cause?
Show answer
What is the difference between a clustered and a non-clustered index?
Show answer
What are intermediate and terminal operations in Java Streams?
Show answer
What is the difference between authentication and authorization?
Show answer
Write a query to find the second highest salary from an employees table.
Show answer
Why is String immutable in Java?
Show answer
Write a JPA entity for a Product with an auto-generated ID and basic constraints.
Show answer
Explain the CSS box model.
Show answer
When should you use useMemo and useCallback?
Show answer
Explain the different types of SQL joins.
Show answer
Compare String, StringBuilder and StringBuffer.
Show answer
What is the contract between equals() and hashCode()?
Show answer
Implement a cart counter using useReducer.
Show answer
Frequently asked questions
What happens in the Java Full Stack with React online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Java Full Stack with React concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.