Vidyalelo
Database · all questions

JDBC, Java Server Pages, and MySQL
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

40

Questions

2/2

Page

Pick an option on a question to see the right answer and solution.

MySQL is just as powerful as Oracle and is half the price.

Select an option to see the answer and solution.

Java programs are compiled into bytecode.

Select an option to see the answer and solution.

JDBC Type 2 drivers connect to the native API of the DBMS.

Select an option to see the answer and solution.

MySQL surrogate keys are given the property AUTO_INCREMENT.

Select an option to see the answer and solution.

A servlet is a Java program that is invoked via HTTP on the Web server.

Select an option to see the answer and solution.

Apache Web server does not support servlets.

Select an option to see the answer and solution.

MySQL maintains metadata in the database meta_sql.

Select an option to see the answer and solution.

The JVM (Java virtual machine) interprets Java bytecode at run time.

Select an option to see the answer and solution.

JSP pages provide a means to create dynamic Web pages using HTML and the Java programming language.

Select an option to see the answer and solution.

MySQL is pronounced "my See-quel."

Select an option to see the answer and solution.

Java bytecode is machine-specific code.

Select an option to see the answer and solution.

Even though Java is machine-independent, JSPs are not.

Select an option to see the answer and solution.

An applet is a Java bytecode program that is sent to the user via HTTP and is invoked using the HTTP protocol on the user's computer.

Select an option to see the answer and solution.

With JSP, the coding is done in Java and only in Java.

Select an option to see the answer and solution.

Sun defines four JDBC driver types.

Select an option to see the answer and solution.

Java and C/C++ are so close that there are no incompatibilities between them. Therefore, a driver is not necessary.

Select an option to see the answer and solution.

JSP and ASP not only look alike but their underlying technology is quite similar.

Select an option to see the answer and solution.

Type 3 and Type 4 JDBC drivers can be used for sevlets and applets.

Select an option to see the answer and solution.

JDBC Type 1 drivers are JDBC-ODBC bridge drivers.

Select an option to see the answer and solution.

JDBC stands for Java Database Connectivity

Select an option to see the answer and solution.