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 process of hiding the internal implementation details of a class and only exposing the necessary features called? Inheritance Polymorphism Encapsulation Abstraction2. Which CSS property is used to set the width of an element? width size length width-size3. Which JSP action is used to include the content of another resource in a JSP page?4. Which method is used to wait for a thread to finish its execution in Java? join() wait() sleep() yield()5. How do you write a conditional statement in JavaScript? if i = 5 then if (i == 5) if i == 5 if i = 56. Which method is used to check if a file exists in Java? fileExists() exists() isFileExists() fileIsPresent()7. Which method of the PreparedStatement interface is used to set a parameter value? setParameter() set() setValue() setXXX()8. Which of the following is NOT a core interface in Hibernate? Session Transaction Criteria Entity Manager9. What is the purpose of the ResultSet interface in JDBC? It is used to retrieve data from a database after executing a query It is used to update data in a database It is used to establish a connection to a database None of the above10. Which CSS property is used to create a shadow effect around an element? shadow text-shadow box-shadow element-shadow11. In JSP, which method is used to send data to the server without reloading the entire page? GET POST PUT AJAX12. 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.13. 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.14. Which of the following is not a valid method signature in Java? void methodName(int x, String y) int methodName(float x) void methodName(int[] arr) int[] methodName(int x, int y)15. Which of the following is true about the default constructor in Java? It is automatically provided by the compiler if no constructor is defined in the class. It is used to create a new instance of a class. It is always a parameterized constructor. It cannot be overridden in a subclass.16. Which of the following blocks is used to handle exceptions in Java? try catch finally All of the above17. Which tag is used to create a line break in HTML?18. What is the result of 10 / 3 in Java? 3.33 3 4 Compilation Error19. 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. Which tag is used to define the title of a document in HTML?21. Which of the following is not a primitive data type in Java? int float string char22. Which CSS property is used to rotate an element? rotate transform rotation rotate-element23. Which of the following is true about prepared statements in JDBC? They are used to execute parameterized SQL queries They are faster than regular statements They prevent SQL injection attacks All of the above24. Which Hibernate annotation is used to define a one-to-many relationship? @OneToMany @ManyToOne @OneToOne @ManyToMany25. 26. Which Hibernate annotation is used to define a many-to-many relationship? @ManyToMany @ManyToOne @OneToOne @OneToMany27. Which CSS property is used to set the background color of an element? bg-color background-color color bg28. What is the correct way to create 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");29. Which of the following is a checked exception in Java? NullPointerException ArrayIndexOutOfBoundsException IOException ArithmeticException30. What does JDBC stand for? Java Database Connection Java Database Connectivity Java Database Control Java Database Command31. What is the difference between a process and a thread in Java? A process is a lightweight unit of execution, while a thread is a heavyweight unit of execution. A process has its own memory space, while threads share the same memory space. A process can run on multiple CPUs, while a thread can only run on a single CPU. A process is managed by the operating system, while threads are managed by the Java Virtual Machine (JVM).32. Which tag is used to create a heading in HTML?33. Which of the following is NOT a valid scope for a Spring bean? singleton prototype request global34. Which keyword is used to prevent a method from being overridden in a subclass? final static abstract private35. What does the super keyword refer to 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.36. What does the break statement do in Java? Exits the switch statement or loop Skips the current iteration of the loop Terminates the program None of the above37. Which tag is used to define an unordered list in HTML?38. What is the primary benefit of using multithreading in Java? Improved memory management Better utilization of CPU resources Simplified code structure Easier debugging39. How do you call a function named "myFunction"? call myFunction() call function myFunction() myFunction() function myFunction()40. Which of the following is not a valid Java identifier? _variableName 123variable $variableName variableName12341. What is the process of providing a single interface to represent the properties and behaviors of unrelated classes called? Polymorphism Inheritance Encapsulation42. What is the result of the following code snippet?int x = 10;int y = (x == 10) ? 20 : 30;System.out.println(y); 20 30 10 Compilation Error43. Which of the following is a valid mapping type in Hibernate? @MappedSuperclass @MappedEntity @PersistentClass @EntityMapping44. Which of the following is true about Java EE (Enterprise Edition)? It is a programming language used for developing web applications. It is a set of specifications, APIs, and runtime environments that extend the Java SE platform for large-scale applications. It is primarily used for developing standalone desktop applications. It is a version of Java designed for mobile application development.45. Which tag is used to create a hyperlink that links to an email address in HTML? Email me a href="mailto:example@example.com">Click here to email me46. Which CSS property is used to change the text color of an element? text-color color font-color text-style47. Which attribute is used to specify the width of an image in HTML? width w size style48. Which of the following is NOT a core module of the Spring Framework? Spring Core Container Spring AOP (Aspect-Oriented Programming) Spring MVC (Model-View-Controller) Spring Boot49. Which tag is used to define a table in HTML?50. Which of the following is NOT a valid Java EE component type? EJB JSP Servlet JPA