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. Which tag is used to create a radio button in HTML?2. What is the purpose of the Statement interface in JDBC? It is used to execute SQL queries It is used to retrieve data from the database It is used to update data in the database All of the above3. Which of the following statements is true about the "finally" block in Java? It is always executed, whether an exception is thrown or not. It is optional and may be omitted. It is used to catch exceptions. It is used to re-throw exceptions.4. Which tag is used to create a textarea in HTML?5. Which tag is used to create an ordered list in HTML?6. What is the output of the following code snippet? 20 30 10 Compilation Error7. Which of the following is true about method overloading in Java? It allows a subclass to provide a specific implementation of a method that is already provided by one of its parent classes. It allows a class to have multiple methods with the same name but different parameters. It is a way to achieve runtime polymorphism. It is used to hide the internal implementation details of a class.8. Which module of the Spring Framework is used for transaction management? Spring Core Container Spring AOP Spring Data Spring Transaction9. Which of the following is NOT a valid fetch type in Hibernate? EAGER LAZY AUTO NONE10. What does JDBC stand for? Java Database Connection Java Database Connectivity Java Database Control Java Database Command11. What is the purpose of the FileOutputStream class in Java? It is used to read from a file. It is used to write to a file. It is used to create a new file. It is used to delete a file.12. What is the purpose of the BatchUpdateException class in JDBC? It is used to handle exceptions related to batch processing It is used to handle exceptions related to database connections It is used to handle exceptions related to SQL queries None of the above13. What is Hibernate? A programming language An open-source Java persistence framework A database management system An application server14. Which of the following is not a valid Java identifier? _variableName 123variable $variableName variableName12315. What is the purpose of Hibernate's Criteria API? To execute native SQL queries provide a type-safe way to construct queries To manage database transactions To define the database schema16. What is the purpose of Hibernate's @JoinColumn annotation? To specify the name of the join column in a many-to-many relationship To specify the name of the join column in a one-to-many relationship To specify the name of the foreign key column in a one-to-many relationship To specify the name of the primary key column in a many-to-one relationship17. How do you declare a JavaScript function named "myFunction"? function = myFunction()function = myFunction() function myFunction() function:myFunction() function myFunction{}18. Which CSS property is used to change the font weight of an element? font-weight weight bold font-style19. Which of the following is true about the wait() method in Java? It is used to wait for a specific amount of time. It is used to release the lock on an object's monitor. It is used to wait indefinitely until another thread notifies it. It is used to terminate the current thread.20. How do you declare a JavaScript array? var colors = ["red", "green", "blue"]; var colors = "red, green, blue"; var colors = { "red", "green", "blue" }; var colors = new Array("red", "green", "blue");21. Which Hibernate annotation is used to define a one-to-many relationship? @OneToMany @ManyToOne @OneToOne @ManyToMany22. Which CSS property is used to change the display behavior of an element? display visible show appearance23. Which attribute is used to specify the width of an image in HTML? width w size style24. Which annotation is used to define the primary key in Hibernate? @Id @PrimaryKey @Key @Primary25. What is the output of the following code snippet?String str1 = "Hello";String str2 = "Hello";System.out.println(str1 == str2); true false Compilation Error Runtime Error26. Which tag is used to create a checkbox in HTML?27. 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.28. What will be the output of the following Java code snippet?public class Main {public static void main(String[] args) {int[] arr = {1, 2, 3, 4, 5};System.out.println(arr[2]);}} 1 2 3 429. Which attribute is used to specify the alternative text for an image in HTML? alt src title description30. What is the purpose of the super keyword in Java? It refers to the current instance of the class. It refers to the parent class instance. It refers to the current method. It refers to the current class.31. In JSP, which method is used to send data to the server without reloading the entire page? GET POST PUT AJAX32. Which attribute is used to specify the alignment of content in a table cell in HTML? align position center valign33. Which of the following is NOT a valid inheritance mapping strategy in Hibernate? TABLE_PER_CLASS JOINED SINGLE_TABLE MULTI_TABLE34. Which method of the DriverManager class is used to establish a connection to a database? getConnection() openConnection() connect() createConnection()35. Which CSS property is used to set the background color of an element? bg-color background-color color bg36. What is the purpose of Hibernate's Criteria API? To execute native SQL queries To provide a type-safe way to construct queries To manage database transactions To define the database schema37. What is the purpose of Hibernate's @Temporal annotation? To define the data type of a temporal field To specify the mapping of a temporal field To define the fetch type of a temporal field To define the cascade type of a temporal field38. 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.39. 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.40. Which CSS property is used to set the height of an element? height size length height-size41. Which of the following is true about the static keyword in Java? It is used to create instances of a class. It is used to define a constant. It is used to access class variables and methods. It is used to declare a method that cannot be overridden.42. Which of the following is true about the StringBuilder class in Java? It is immutable. It is synchronized. It is not thread-safe. It is part of the java.lang package.43. What is the output of the following code snippet?String str = "Hello";str = str + " World";System.out.println(str); Hello World Hello World Compilation Error44. What is the concept of binding a method call to the method body called? Polymorphism Inheritance Encapsulation Abstraction45. Which CSS property is used to set the width of an element? width size length width-size46. 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.47. Which of the following is true about batch processing in JDBC? It allows multiple SQL statements to be executed as a batch It is faster than executing each SQL statement individually It reduces network overhead All of the above48. What is the correct JavaScript syntax to change the content of the HTML element below?<p id="demo">This is a demonstration.</p> document.getElementByName("p").innerHTML = "Hello World!"; document.getElementById("demo").innerHTML = "Hello World!"; document.getElement("p").innerHTML = "Hello World!"; document.getElement("demo").innerHTML = "Hello World!";49. Which Java EE technology is used for managing database connections and executing SQL queries? JPA JMS JDBC EJB50. Which JSP directive is used to import a Java class into a JSP page?