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
JDBC, Java Server Pages, and MySQL problems
1. 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
2. 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
3. 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
4. JDBC stands for:
Options
A. Java Database Connectivity
B. Java Database Components
C. Java Database Control
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: Java Database Connectivity
5. 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.
Show Answer
Scratch Pad
Discuss
Correct Answer: A Java applet
6. How many copies of a JSP page can be in memory at a time?
Options
A. One
B. Two
C. Three
D. Unlimited
Show Answer
Scratch Pad
Discuss
Correct Answer: One
7. What is bytecode?
Options
A. Machine-specific code
B. Java code
C. Machine-independent code
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: Machine-independent code
8. What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?
Options
A. A Java application
B. A Java applet
C. A Java servlet
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: A Java servlet
9. What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
Options
A. VBScript only
B. Jscript only
C. Java only
D. All of the above are supported
Show Answer
Scratch Pad
Discuss
Correct Answer: Java only
10. 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?
Options
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
Show Answer
Scratch Pad
Discuss
Correct Answer: All of Type 1, Type 2, Type 3 and Type 4
First
2
3
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