Important Web & Java Topics - Question List
HTML & Web Basics
1. What are the basic HTML tags used in webpage development?
2. How do you create a table using HTML?
3. Explain the structure and purpose of the <body> tag in HTML.
Servlet & Web Concepts
4. What is a Servlet? Explain with its advantages.
5. Explain the life cycle of a Servlet with methods.
6. What is HTTP request and response in Servlets?
7. How is session tracking done in Servlets?
JavaScript
8. What is the difference between var, let, and const in JavaScript?
9. What is an object in JavaScript? Give an example.
10. How do you validate an email using JavaScript code?
11. Write a JavaScript program to add two numbers using a form.
12. Write a JavaScript program to find prime numbers between two given numbers.
13. What are events in JavaScript? Give examples.
14. How are functions declared and used in JavaScript?
Java vs JavaScript
15. What is the difference between Java and JavaScript?
Spring Framework & Spring Boot
16. What are the key features of the Spring Framework?
17. What are the advantages and disadvantages of Spring Boot?
18. What is the difference between constructor injection and setter injection in Spring?
19. Explain the lifecycle of a Spring Bean.
20. What is a REST API? How are GET, POST, PUT, and DELETE implemented in Spring Boot?