Bissoy
Login
Register
Home
MCQs
Job Preparation
Database
JDBC
Database | JDBC
Practice Database | JDBC on Bissoy — browse topics below and open any question.
Test my Merit
My Results
Create Exam
Java Server Pages
Questions
How many JDBC driver types does Sun define?
ক
One
খ
Two
গ
Three
ঘ
Four
Which JDBC driver Type(s) can be used in either applet or servlet code?
ক
Both Type 1 and Type 2
খ
Both Type 1 and Type 3
গ
Both Type 3 and Type 4
ঘ
Type 4 only
What MySQL property is used to create a surrogate key in MySQL?
ক
UNIQUE
খ
SEQUENCE
গ
AUTO_INCREMENT
ঘ
None of the mentioned
Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
ক
Type 1
খ
Type 2
গ
Type 3
ঘ
Type 4
What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
ক
VBScript only
খ
Jscript only
গ
Java only
ঘ
All of the mentioned
What is bytecode?
ক
Machine-specific code
খ
Java code
গ
Machine-independent code
ঘ
None of the mentioned
Where is metadata stored in MySQL?
ক
In the MySQL database metadata
খ
In the MySQL database metasql
গ
In the MySQL database mysql
ঘ
None of the mentioned
Who invented Java?
ক
Netscape
খ
Microsoft
গ
Sun
ঘ
None of the above is correct
To run a compiled Java program, the machine must have what loaded and running?
ক
Java virtual machine
খ
Java compiler
গ
Java bytecode
ঘ
A Web browser
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?
ক
A Java application
খ
A Java applet
গ
A Java servlet
ঘ
None of the above is correct
What is not true of a Java bean?
ক
There are no public instance variables.
খ
All persistent values are accessed using get<em>xxx</em> and set<em>xxx</em> methods.
গ
It may have many constructors as necessary.
ঘ
All of the above are true of a Java bean.
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?
ক
Type 1 only
খ
Type 2 only
গ
Both Type 3 and Type 4
ঘ
All of Type 1, Type 2, Type 3 and Type 4
What servlet processor was developed by Apache Foundation and Sun?
ক
Apache Tomcat
খ
Apache Web server
গ
Sun servlet processor
ঘ
None of the above is correct
What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?
ক
A Java application
খ
A Java applet
গ
A Java servlet
ঘ
None of the above is correct
How many copies of a JSP page can be in memory at a time?
ক
One
খ
Two
গ
Three
ঘ
Unlimited
‹
1
2
›