JDBC, Java Server Pages, and MySQL - General Questions Online Exam Quiz

JDBC, Java Server Pages, and MySQL - General Questions GK Quiz. Question and Answers related to JDBC, Java Server Pages, and MySQL - General Questions. MCQ (Multiple Choice Questions with answers about JDBC, Java Server Pages, and MySQL - General Questions

How many JDBC driver types does Sun define?

Options

A : One

B : Two

C : Three

D : Four

View Answer

Where is metadata stored in MySQL?

Options

A : In the MySQL database metadata

B : In the MySQL database metasql

C : In the MySQL database mysql

D : None of the above is correct.

View Answer

Who invented Java?

Options

A : Netscape

B : Microsoft

C : Sun

D : None of the above is correct.

View Answer

To run a compiled Java program, the machine must have what loaded and running?

Options

A : Java virtual machine

B : Java compiler

C : Java bytecode

D : A Web browser

View Answer

Which JDBC driver Type(s) can be used in either applet or servlet code?

Options

A : Both Type 1 and Type 2

B : Both Type 1 and Type 3

C : Both Type 3 and Type 4

D : Type 4 only

View Answer

________ is an open source DBMS product that runs on UNIX, Linux and Windows.

Options

A : MySQL

B : JSP/SQL

C : JDBC/SQL

D : Sun ACCESS

View Answer

What is sent to the user via HTTP, invoked using the HTTP protocol on the user's computer, and run on the user's computer as an application?

Options

A : A Java application

B : A Java applet

C : A Java servlet

D : None of the above is correct.

View Answer

What MySQL property is used to create a surrogate key in MySQL?

Options

A : UNIQUE

B : SEQUENCE

C : AUTO_INCREMENT

D : None of the above -- Surrogate keys are not implemented in MySQL.

View Answer

What is not true of a Java bean?

Options

A : There are no public instance variables.

B : All persistent values are accessed using get xxx and set xxx methods.

C : It may have many constructors as necessary.

D : All of the above are true of a Java bean.

View Answer

A JSP is transformed into a(n):

Options

A : Java applet.

B : Java servlet.

C : Either 1 or 2 above.

D : Neither 1 nor 2 above.

View Answer

Advanced SQL - General Questions more Online Exam Quiz

Data Modeling with ER Model - General Questions

Data Warehousing - General Questions

Distributed Databases - General Questions

Introduction to Database - General Questions

Introduction to SQL - General Questions

Logical Database Design - General Questions

Managing Databases with Oracle - General Questions

SQL Server 2000 - General Questions

Managing Multiuser Databases - General Questions

Modeling Data in the Organization - General Questions