CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Database
‣
JDBC, Java Server Pages, and MySQL
Comments
Question
What servlet processor was developed by Apache Foundation and Sun?
Options
A. Apache Tomcat
B. Apache Web server
C. Sun servlet processor
D. None of the above is correct.
Correct Answer
Apache Tomcat
JDBC, Java Server Pages, and MySQL problems
Search Results
1. 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.
Show Answer
Scratch Pad
Discuss
Correct Answer: In the MySQL database
mysql
2. Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
Options
A. Type 1
B. Type 2
C. Type 3
D. Type 4
Show Answer
Scratch Pad
Discuss
Correct Answer: Type 1
3. 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.
Show Answer
Scratch Pad
Discuss
Correct Answer: It may have many constructors as necessary.
4. 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.
Show Answer
Scratch Pad
Discuss
Correct Answer: AUTO_INCREMENT
5. How many JDBC driver types does Sun define?
Options
A. One
B. Two
C. Three
D. Four
Show Answer
Scratch Pad
Discuss
Correct Answer: Four
6. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: Java virtual machine
7. ________ 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
Show Answer
Scratch Pad
Discuss
Correct Answer: MySQL
8. How does Tomcat execute a JSP?
Options
A. As a CGI script
B. As an independent process
C. By one of Tomcat's threads
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: By one of Tomcat's threads
9. Who invented Java?
Options
A. Netscape
B. Microsoft
C. Sun
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: Sun
10. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: Both Type 3 and Type 4
Comments
There are no comments.
Enter a new Comment
Save
More in Database:
Advanced SQL
Data and Database Administration
Data Modeling with ER Model
Data Models into Database Designs
Data Warehousing
Database Design Using Normalization
Database Processing for BIS
Database Redesign
Distributed Databases
ER Model and Business Rules
Introduction to Database
Introduction to SQL
JDBC, Java Server Pages, and MySQL
Logical Database Design
Managing Databases with Oracle
Managing Multiuser Databases
Modeling Data in the Organization
Object-Oriented Data Modeling
Object-Oriented Database
ODBC, OLE DB, ADO, and ASP
Physical Database Design
SQL for Database Construction
SQL Server 2000
The Client-Server Database
The Database Development Process
The Database Environment
The Internet Database Environment
The Relational Model and Normalization
XML and ADO.NET