🧪 JDBC MCQ Quiz Hub

JDBC Mcq Set 2

Choose a topic to test your knowledge and improve your JDBC skills

1. When destroy() method of a filter is called?




2. Which of the following is true about servlets?




3. How is the dynamic interception of requests and responses to transform the information done?




4. Which are the session tracking techniques? i. URL rewriting ii. Using session object iii.Using response object iv. Using hidden fields v. Using cookies vi. Using servlet object




5. Which page directive should be used in JSP to generate a PDF page?




6. Which tag should be used to pass information from JSP to included JSP?




7. Application is instance of which class?




8. _jspService() method of HttpJspPage class should not be overridden.




9. Default value of autoFlush attribute is?




10. Which one is the correct order of phases in JSP life cycle?




11. “request” is instance of which one of the following classes?




12. Which is mandatory in <jsp:useBean /> tag?




13. Which one of the following is correct for directive in JSP?




14. Which of the following action variable is used to include a file in JSP?




15. Which attribute uniquely identification element?




16. “out” is implicit object of which class?




17. Which object stores references to the request and response objects?




18. What temporarily redirects response to the browser?




19. Which tag is used to set a value of a JavaBean?




20. Can <!–comment–> and <%–comment–%> be used alternatively in JSP?




21. Java code is embedded under which tag in JSP?




22. Which of the following is not a directive in JSP?




23. Which of the following is not an Enterprise Beans type?




24. Which of the following is not true about Java beans?




25. Which of the following is correct error when loading JAR file with duplicate name?




26. Java Beans are extremely secured?




27. Which of the following is not a feature of Beans?




28. What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?




29. Which attribute is used to specify initialization method?




30. Which attribute is used to specify destroy method?




31. How to specify autowiring by name?




32. Servlet are used to program which component in a web application?




33. Which component can be used for sending messages from one application to another?




34. How are java web applications packaged?




35. How can we connect to database in a web application?




36. How can we take input text from user in HTML page?




37. Which of the below is not a javascript framework for UI?




38. Which of the below can be used to debug front end of a web application?




39. What type of protocol is HTTP?




40. What does MIME stand for?




41. What is the storage capacity of single cookie?




42. Which of below is not a dependency management tool?




43. Which of the following is not a maven goal?




44. Which file is used to define dependency in maven?




45. Which file is used to specify the packaging cycle?




46. Which environment variable is used to specify the path to maven?




47. Which of the below is a source code management tool?




48. Can we run Junits as a part of Jenkins job?




49. Which command can be used to check maven version?




50. Which of the following is not true for Ant?