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 of the following blocks is used to handle exceptions in Java? try catch finally All of the above2. Which Java EE technology is used for asynchronous messaging? JMS JPA EJB JDBC3. Which CSS property is used to set the width of an element? width size length width-size4. Which implicit object represents the request object in a JSP page? request response session application5. Which method of the PreparedStatement interface is used to set a parameter value? setParameter() set() setValue() setXXX()6. Which CSS property is used to set the background color of an element? bg-color background-color color bg7. Which tag is used to define a paragraph in HTML?8. Which Java EE technology is used for managing persistence in enterprise applications? JMS JPA JDBC JSP9. What is the process of providing a single interface to represent the properties and behaviors of unrelated classes called? Polymorphism Inheritance Encapsulation10. 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.11. 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 above12. 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 above13. Which CSS property is used to scale an element? scale transform resize zoom14. What is the purpose of Hibernate's @Transient annotation? To mark a property as transient, which means it will not be persisted To specify the fetch type of a property To define a custom fetch strategy for a property To specify the cascade type for a property15. What is the purpose of the ResultSetMetaData interface in JDBC? It is used to retrieve metadata about a ResultSet object It is used to retrieve metadata about a database It is used to retrieve metadata about a Statement object None of the above16. 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);}} 3 7 2 Compilation error17. Which tag is used to create a hyperlink that opens in a new window or tab in HTML?18. 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.19. Which attribute is used to specify the source of an image in HTML? src source image file20. Which CSS property is used to create a shadow effect around an element? shadow text-shadow box-shadow element-shadow21. Which of the following is NOT a valid fetch type in Hibernate? EAGER LAZY AUTO NONE22. 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.23. Which tag is used to create a textarea in HTML?24. Which of the following is a valid mapping type in Hibernate? @MappedSuperclass @MappedEntity @PersistentClass @EntityMapping25. Which tag is used to define a form in HTML?26. Which of the following is NOT a valid Hibernate query language? HQL (Hibernate Query Language) SQL (Structured Query Language) Criteria API QBE (Query By Example)27. Which CSS property is used to control the spacing between lines of text? line-height text-spacing line-spacing spacing28. Which tag is used to create a button in HTML?29. Which of the following is true about the "this" keyword in Java? It refers to the current class instance. It refers to the current method. It refers to the current object. It refers to the current variable.30. Which of the following is NOT a valid mapping association in Hibernate? Many-to-many One-to-many One-to-one One-to-all31. Which method of the DriverManager class is used to establish a connection to a database? getConnection() openConnection() connect() createConnection()32. How do you add a comment in JavaScript? //This is a comment /This is a comment/ 'This is a comment'33. Which CSS property is used to set the background position of an element? position background-position bg-position image-position34. Which method of the ResultSet interface is used to retrieve data from a specific column? getData() retrieveData() getObject() getColumn()35. What is the result of 10 % 3 in Java? 1 2 33.3 Compilation Error36. Which CSS property is used to change the font weight of an element? font-weight weight bold font-style37. Which CSS property is used to control the appearance of an element when it is being selected? select selection :selected selected38. Which of the following methods is used to read data from a file in Java? read() readLine() readAllLines() All of the above39. 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 field40. What is the purpose of Hibernate's @Embeddable annotation? To define a component class that can be embedded within an entity To define an embedded query To define a composite primary key To define a custom fetch strategy41. Which attribute is used to specify the background color of an element in HTML? bgcolor color background style42. What will the following code output?var x = 10;var y = "5";var z = x + y;console.log(z); 15 "105" "10" "5"43. Which Java EE component is used for processing requests in a web application? Servlet EJB JSP JMS44. Which CSS property is used to change the display behavior of an element? display visible show appearance45. Which of the following is true about 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.46. Which of the following is a valid association mapping type in Hibernate? @ManyToOne @OneToOneToOne @OneToManyToOne @ManyToManyToMany47. What is the result of 10 / 3 in Java? 3.33 3 4 Compilation Error48. Which tag is used to create an image in HTML?49. What is the process of a subclass providing a specific implementation of a method that is already provided by one of its parent classes called? Encapsulation Abstraction Inheritance Method Overriding50. Which of the following is true about abstract classes in Java? They cannot have any abstract methods They can be instantiated. They can have both abstract and concrete methods. They are used to create objects directly.