JDBC, Java Server Pages, and MySQL Questions and Answers

Practice Mode
Showing 10 of 20 questions
Q11
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?
  • A Type 1 only
  • B Type 2 only
  • C Both Type 3 and Type 4
  • D All of Type 1, Type 2, Type 3 and Type 4
Answer: Option D
Q12
What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
  • A VBScript only
  • B Jscript only
  • C Java only
  • D All of the above are supported
Answer: Option C
Q13
What servlet processor was developed by Apache Foundation and Sun?
  • A Apache Tomcat
  • B Apache Web server
  • C Sun servlet processor
  • D None of the above is correct.
Answer: Option A
Q14
What is bytecode?
  • A Machine-specific code
  • B Java code
  • C Machine-independent code
  • D None of the above is correct.
Answer: Option C
Q15
What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?
  • A A Java application
  • B A Java applet
  • C A Java servlet
  • D None of the above is correct.
Answer: Option C
Q16
Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
  • A Type 1
  • B Type 2
  • C Type 3
  • D Type 4
Answer: Option A
Q17
How many copies of a JSP page can be in memory at a time?
  • A One
  • B Two
  • C Three
  • D Unlimited
Answer: Option A
Q18
Which JDBC driver Types are for use over communications networks?
  • A Type 3 only
  • B Type 4 only
  • C Both Type 3 and Type 4
  • D Neither Type 3 nor Type 4
Answer: Option C
Q19
JDBC stands for:
  • A Java Database Connectivity
  • B Java Database Components
  • C Java Database Control
  • D None of the above is correct.
Answer: Option A
Q20
 JDBC stands for:
  • A Java Database Connectivity
  • B Java Database Components
  • C Java Database Control
  • D None of the above is correct.
Answer: Option A
Database
Back to Database
Questions and Answers for Competitive Exams Various Entrance Test