Welcome to CHOOLS FULL STACK JAVA ASSESSMENT (YOU HAVE ONLY 30 MINUTES TO COMPLETE THIS PART [20 Questions]) **** Wishing You All The Best **** Instructions : To start the quiz, please provide your name, email id and phone number. All questions are mandatory* Answering each question is required before going on to the next page of questions. Your response is subject to change at any time. After completed the quiz click the submit button. If, once the time is up, it will be automatically submitted. The report will be mailed to your email address after the quiz is finished. 1. What is the correct syntax for including a JSP page inside another JSP page?2. Which CSS property is used to control the stacking order of elements? stack-order z-index order stack3. What is the superclass of all exception classes in Java? Throwable Exception Error RuntimeException4. Which JSP action is used to forward the request from one JSP page to another?5. In JSP, which tag is used to declare a custom tag?6. Which module of the Spring Framework is used for transaction management? Spring Core Container Spring AOP Spring Data Spring Transaction7. Which of the following statements is true about the File class in Java? It is part of the java.io package. It is used to read and write text files. It is a final class and cannot be extended. It is used to represent a file or directory path name.8. Which attribute is used to specify the type of input field in HTML? type input field mode9. How do you write "Hello World" in an alert box using JavaScript? alertBox("Hello World"); msg("Hello World"); alert("Hello World"); msgBox("Hello World");10. Which tag is used to define the title of a document in HTML?11. How do you round the number 7.25 to the nearest integer in JavaScript? Math.round(7.25) round(7.25) Math.rnd(7.25) rnd(7.25)12. Which Hibernate feature is used to improve performance by reducing the number of SQL queries executed? Batch processing Lazy loading Fetching strategies Caching13. Which tag is used to define the footer of a document or section in HTML?14. Which method of the ResultSet interface is used to retrieve data from a specific column? getData() retrieveData() getObject() getColumn()15. Which of the following steps is not required to establish a connection to a database using JDBC? Load the JDBC driver Register the JDBC driver Create a database instance Open a connection to the database16. What will be the output of the following Java code snippet?public class Main {public static void main(String[] args) {String str1 = "Hello";String str2 = "World";System.out.println(str1 + str2);}} HelloWorld Hello World Hello+World Compilation error17. What does JSTL stand for? Java Server Tag Library Java Server Tools Library Java Server Pages Tag Library JavaServer Pages Standard Tag Library18. What is the purpose of the sleep() method in Java? It pauses the current thread for a specified amount of time. It terminates the current thread. It waits for another thread to finish. It restarts the current thread.19. What is the purpose of Hibernate's @Version annotation? To define the version number of an entity To specify the fetch type of an entity To define a unique constraint on an entity To define the cascade type of an entity20. Which Java EE technology is used for asynchronous messaging? JMS JPA EJB JDBC21. Which of the following is true about the final keyword in Java? It is used to define a constant. It is used to prevent inheritance. It is used to prevent method overriding. All of the above22. Which attribute is used to specify the width of a table in HTML? width size length style23. What is the purpose of the Java EE Security API? To provide encryption for data stored in databases. To secure communication between client and server in web applications. To manage user authentication and authorization in Java EE applications. To prevent SQL injection attacks in Java applications.24. Which tag is used to create a hyperlink that opens in a new window or tab in HTML?25. Which of the following is true about JSP (JavaServer Pages)? JSP pages are precompiled into servlets before being executed. JSP pages are executed directly by the web server without any intermediate steps. JSP pages are used only for client-side scripting. JSP pages are not suitable for creating dynamic web content.26. Which attribute is used to specify the width of an image in HTML? width w size style27. Which JSTL tag is used to conditionally include content in JSP?28. Which of the following is NOT a valid Java EE component type? EJB JSP Servlet JPA29. Which of the following is not a primitive data type in Java? int float string char30. Which implicit object represents the request object in a JSP page? request response session application31. What is the purpose of the "throw" keyword in Java? It is used to declare that a method may throw an exception. It is used to handle exceptions in a method. It is used to create custom exceptions. It is used to explicitly throw an exception.32. In JSP, which method is used to send data to the server without reloading the entire page? GET POST PUT AJAX33. Which of the following is NOT a valid inheritance mapping strategy in Hibernate? TABLE_PER_CLASS JOINED SINGLE_TABLE MULTI_TABLE34. Which of the following is NOT a valid scope for a Spring bean? singleton prototype request global35. What will be the output of the following Java code snippet?public class Main {public static void main(String[] args) {int x = 5;int y = 2;System.out.println(x * y);}} 10 7 5 Compilation error36. How do you declare a JavaScript function named "myFunction"? function = myFunction()function = myFunction() function myFunction() function:myFunction() function myFunction{}37. Which of the following is true about deadlock in multithreading? It occurs when a thread is waiting indefinitely for a resource held by another thread. It occurs when two or more threads are waiting for each other to release resources, resulting in a deadlock. It can be avoided by using synchronization. All of the above38. Which tag is used to create a hyperlink in HTML?39. What is the purpose of the instanceof operator in Java? It is used to compare two objects. It is used to check if an object is of a particular class type. It is used to create a new instance of a class. It is used to access the instance variables of an object.40. What is the correct way to declare a method that does not return any value in Java? void methodName() methodName() : void int methodName() None of the above41. What is the purpose of the synchronized keyword in Java? It is used to define a method that cannot be overridden. It is used to prevent a method from being accessed by multiple threads simultaneously. It is used to define a method that can be accessed by multiple threads simultaneously. It is used to define a method that can only be accessed by a single thread.42. What is the purpose of the DatabaseMetaData interface in JDBC? It is used to retrieve metadata about a database It is used to retrieve metadata about a ResultSet object It is used to retrieve metadata about a Statement object None of the above43. What is the result of 10 / 3 in Java? 3.33 3 4 Compilation Error44. Which of the following is not a valid Java identifier? _variableName 123variable $variableName variableName12345. Which CSS property is used to set the background image of an element? background-image image bg-image image-source46. Which keyword is used to prevent a method from being overridden in a subclass? final static abstract private47. Which of the following best describes inheritance in Java? It is a mechanism where a new class can acquire the properties and behaviors of an existing class. It is a way to achieve data hiding. It is a way to define multiple methods with the same name but different parameters. It is a way to create objects based on a template.48. What is the purpose of the File.separator property in Java? It represents the file extension separator. It represents the path separator. It represents the directory separator. It represents the line separator.49. Which of the following is true about the "super" keyword in Java? It is used to call the superclass constructor. It is used to access the superclass's methods and fields. It is used to prevent a class from being inherited. It is used to create an instance of a class.50. Which of the following is NOT a valid Hibernate mapping type? @ManyToOne @OneToOne @ManyToMany @OneToManyToOne