Sail E0 Webinar

MCQs

Total Questions : 40 | Page 2 of 4 pages
Question 11. Which JDBC driver Type(s) can you use in a three-tier architecture and if the Web server and the DBMS are running on the same machine?
  1.    Type 1 only
  2.    Type 2 only
  3.    Both Type 3 and Type 4
  4.    All of Type 1, Type 2, Type 3 and Type 4
 Discuss Question
Answer: Option D. -> All of Type 1, Type 2, Type 3 and Type 4
Question 12. What servlet processor was developed by Apache Foundation and Sun?
  1.    Apache Tomcat
  2.    Apache Web server
  3.    Sun servlet processor
  4.    None of the above is correct
 Discuss Question
Answer: Option A. -> Apache Tomcat
Question 13. What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
  1.    VBScript only
  2.    Jscript only
  3.    Java only
  4.    All of the above are supported
 Discuss Question
Answer: Option C. -> Java only
Question 14. What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?
  1.    A Java application
  2.    A Java applet
  3.    A Java servlet
  4.    None of the above is correct
 Discuss Question
Answer: Option C. -> A Java servlet
Question 15. What is bytecode?
  1.    Machine-specific code
  2.    Java code
  3.    Machine-independent code
  4.    None of the above is correct
 Discuss Question
Answer: Option C. -> Machine-independent code
Question 16. Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
  1.    Type 1
  2.    Type 2
  3.    Type 3
  4.    Type 4
 Discuss Question
Answer: Option A. -> Type 1
Question 17. How many copies of a JSP page can be in memory at a time?
  1.    One
  2.    Two
  3.    Three
  4.    Unlimited
 Discuss Question
Answer: Option A. -> One
Question 18. Which JDBC driver Types are for use over communications networks?
  1.    Type 3 only
  2.    Type 4 only
  3.    Both Type 3 and Type 4
  4.    Neither Type 3 nor Type 4
 Discuss Question
Answer: Option C. -> Both Type 3 and Type 4
Question 19. How does Tomcat execute a JSP?
  1.    As a CGI script
  2.    As an independent process
  3.    By one of Tomcat's threads
  4.    None of the above is correct
 Discuss Question
Answer: Option C. -> By one of Tomcat's threads
Question 20. JDBC stands for:
  1.    Java Database Connectivity
  2.    Java Database Components
  3.    Java Database Control
  4.    None of the above is correct
 Discuss Question
Answer: Option A. -> Java Database Connectivity

Latest Videos

Latest Test Papers